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

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

November 7, 2009 Leave a comment Go to comments

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 Sourcemod.net 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 http://forums.alliedmods.net/index.php. 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(http://forums.alliedmods.net/showthread.php?t=101305) 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 http://portforward.com/english/routers/port_forwarding/Linksys/WRT54G/Steam_Server.htm. 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.

Advertisements
Categories: Server Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: