Posts Tagged ‘howto’

Creating a DM server: Part 4 – Plug it in, plug it in!

November 7, 2009 Leave a comment

You now have Sourcemod installed, along with MetaMod:Source. What now? Do you just sit back, and enjoy the fresh admin? No! You make the time that your on the server the best: With plugins!

Sourcemod Plugins

All sourcemod plugins are normally kept nice and tidy on under plugins, but I’ve found that finding plugins there is extremely inaccurate. First, you can’t see plugins that don’t work, any replies, common issues, or just general tips on the plugin without finding it’s forum topic. For this reason alone, I always find my plugins at Browse to the SourceMod section, just below the AMX Mod X section. Make sure to be in the SourceMod section. Both sections are alike, except they run on different game engines: Source, and GoldSource(For example, Half Life 2 Deatmatch and Half Life Deathmatch Classic).

Look for a plugin under Approved Plugins. Those found in unapproved plugins are usually out of date, don’t work, or have a better alternative. As a general rule of thumb, you can get away with running any plugin on any source engine game, unless it’s otherwise defined. Most topics look like [TF2] RockTheVote! or [L4D]Vomit Mod. If it says [ALL] or [ANY] or something related to deathmatch, it usually works with little to no modifications. In this example, I’ll be installing a plugin called sm_godclip, and then giving an example of how it is setup.

Getting to know the plugin structure.

Before we start, I’d like to point out how Sourcemod is laid out:

  • /hl2mp/
    • /addons/
      • /sourcemod/
        • /addons/
        • /scripting/
        • /configs/
        • /plugins/
        • etc

All filenames go in separate folders. Most plugins say, “Put blahblah.smx into plugins”, “Put explode.cfg in configs”, etc. This is useful for something without installation instructions, however. First, look at what you need to download. All plugins are in the attachments section of the first post. An example looks like this:

Download page

The filetype for plugins is usually *.smx or *.sp. *.sp files are rarely needed unless you intend on modifying the plugin itself. The plugin I’m installing( has only 1 SMX file. Click “Get Plugin” to compile it. The first file is already compiled, but I usually want a fresh build, so I click the get plugin button instead.

You should now have sm_godclip.smx somewhere in your downloads folder. Place that in the plugins folder. For more information, refer to Google.

Restart your server, and type the following, sm plugins list. This should return a few plugins, notably the basic plugins, as well as if it’s loaded, version, etc. Make sure godclip is somewhere on there. To manually load it, type in sm plugins load sm_godclip.smx. If all goes well, it should either tell you that it loaded the plugin, or that it was already loaded. Congratulations, you now know how to install plugins in your new server!

I know that I haven’t covered port forwarding yet, nor do I intend on doing so. It’s different for every router. It’s around 4 different sets of ports. For an example guide, look at If you ask me on steam, I’ll block you for 8 hours. I hate port forwarding, and I hate it so much, I literally avoid it if I can. Usually I just use port triggering, but that’s a whole different story.

Categories: Server Tags: , , ,

Creating a DM server: Part 3 – Installing Sourcemod

November 3, 2009 Leave a comment

By now, you have your server running, and your armed with your trusty server side commands. When I started working on servers, the first thing I did after getting it running was figure out how people used admin commands. Many different varieties exist, but most popular include Sourcemod, Mani Admin Plugin, Event Scripts, and SourceOP. For the sake of simplicity, I’m going to start with SourceMod, go to SourceOP, and finish with eventscripts. Mani admin plugin isn’t that extendable, and all commands can be replicated using the other 3.

Step 1: Download Metamod

Sourcemod uses a base called MetaMod:Source to run it’s engine. It can be downloaded here: []. I’m not sure exactly how this is packaged, but you basically put addons in the root directory of your server. In this case, it’s C:\srcds\hl2mp\.

After you downloaded and inserted Metamod, it’s time to download the VDF. The VDF is a file that tells the server Ok, load this addon when you start it. Go to [] and run the VDF tool. The operating system is Microsoft Windows, and the game is Half Life 2 Multiplayer. Leave the next field blank, and hit “generate metamod.vcf”. Place this file in hl2mp\addons\.

Restart your server, and type meta version in console. It should tell you it’s loaded as a Valve server plugin. If not, refer to the documentation on for help.

Step 2: Download and install Sourcemod

Once you have verified that SourceMM is running(Metamod), download and install Sourcemod from []. This is the same procedure that we just did. Make sure that it looks like hl2mp\addons\sourcemod.

Restart the server if you haven’t already, and type “meta list” in console. It should tell you sourcemod is loaded. If it is, type “sm” to verify. If all goes well, you have successfully installed Sourcemod.

Make sure to read too, as I’m just trying to get you running.

Step 3: Adding admins

Read this:

Also read a bit up on Sourcemod and get comfortable, next time we’re installing a plugin.

Categories: Server Tags: , , , ,

Creating a DM server: Part 2 – Doing stuff the hard way

November 3, 2009 Leave a comment

I first planned this post to be aimed at the installation and configuration of Sourcemod, then I realized: You know nothing about how to run a “Vanilla” server, or even how to get one running.

In my last tutorial, I told you how to start a server in console mode, but I’m going to end up saving that till later. For now, just double click on srcds.exe. A window will appear. Enter the following:

  • Game: Half Life 2 DM
  • Server name: Test server
  • Network: LAN
  • Max players: 14
  • UDP port: 27015
  • RCON password: m0nk3ybu1sn3ss

After you start your server, navigate to the console tab. The cosnole tab is where any command will be run. When you start running your server in console mode, this is all you will see. Some basic commands are as follows:

  • say <your text here>
  • mp_flashlight 1/0
  • mp_timelimit <time>
  • _restart
  • exit
  • killserver
  • map asdfasdf_asf.bsp
  • banid <steamid>
  • banip <ip address>
  • writeid – Writes the the ban id list, always run after you ban someone.
  • writeip – Writes the IP ban list, users on this list can’t see the server. It will be listed as not responding.
  • kick <player id>
  • status
  • sv_cheats 1/0

The amount of commands is endless. Certain commands have what’s called a syntax. If you type the command in with nothing else, it should tell you what it does, and how to use it. _restart, killserver, exit, quit, etc are all shutdown commands. _restart restarts the engine, ending the server, killserver does the same, etc. Your RCON password is short for remote console.


RCON is a very useful feature in all source games. When you set your RCON passowrd, it allows anyone with access full reign over your server. To use it, type the following in the game:

  • rcon_address <your server ip here>
  • rcon_password <your password here>
  • rcon <command>

Warning: If you get the password incorrect, it will automatically IP ban you from the server. Use at your own risk, and never give it out.

I’m not covering other things, like MOTDs, running bans, etc. Google is your friend.

Categories: Server Tags: , , ,

Creating a “Pro” DM server Part 1: Installation

October 31, 2009 Leave a comment

So you’ve wanted to create a deathmatch server, but your not sure where to start? You’ve seen servers like mIKe’s Revenge, MoofsWerld, or Area 51, and you wonder how it’s done? Welcome to part 1!

This guide was meant to help people start a Half Life 2 Deatmatch server using the HLDSUpdateTool. Listen servers and the steam dedicated server utility are considered legacy methods, and can not be run as a server without a lot of extra effort.

Download and Installation

  1. Start out by downloading the HLDSUpdateTool from the Steam Website. The direct link:
  2. After you download it, install it to C:\srcds\, or where ever you prefer your server to be located. This tutorial assumes C:\srcds\, but you can use any directory.
  3. Issue the following command from the command line. If you don’t understand/know how to use a command line, here is the point to learn. First, hold down the Windows key and the “R” key at the same time. This will open the run prompt. Type cmd and press enter. You’ll be greeted by a black box with text. Type cd C:\srcds\ . This will change the directory that your working in to C:\srcds\. Once there, issue the following command: hldsupdatetool -command update -game “hl2mp” -dir C:\srcds . Wait for the installation to complete, and you should be good.
  4. To start your newly installed server for the first time, make sure your still in the same directory(C:\Srcds\). Type c:\srcds\srcds.exe -console -game hl2mp +map dm_lockdown -maxplayers 16 -autoupdate . You should see a window resembling the following if all goes well. Refer to for more information.