5818 Posts in 473 Topics - by 233 Members - Latest Member: wonderwall

Author Topic: How to Setup Source Mod  (Read 74 times)

Offline Evil Jaffa

  • Server Tech
  • Level 3 Admins
  • Sr. Member
  • ***
  • Posts: 259
  • Karma: +7/-38
    • View Profile
How to Setup Source Mod
« on: February 03, 2010, 11:51:11 AM »
first things first you will need to download the following first

Sourcemod: http://www.sourcemod.net/downloads.php (pick which os your using)
Metamod: http://www.sourcemm.net/

ok you will need to first set up Metamod so that sourcemod can work here is how to do it

1.Extract the package to your game folder. For example, for Counter-Strike:Source, you would have cstrike/addons/metamod after extracting. If you are uploading to FTP, extract the files locally before transferring to your server's game folder.

2.Open the file in the mod folder called "gameinfo.txt". You will see a few lines at the bottom like this:
Code: [Select]
SearchPaths
{
Game |gameinfo_path|.
Game cstrike
Game hl2
}

Add a line after the "{" sign but before all of the "Game" entries that looks like this:
Code: [Select]
GameBin |gameinfo_path|addons/metamod/bin

So the file should look like this:
Code: [Select]
{
        GameBin |gameinfo_path|addons/metamod/bin
Game |gameinfo_path|.
Game cstrike
Game hl2
}

Once you have done those things you will need to restart your server and then join the server then open up console type rcon_password "yourpassword", then you will need to type RCON Meta Version. If you get an out put into your console then it has been setup correctly.

No to move onto setting up source mod

All you need to do is upload the files onto the server once done do the following.

Your folder layout should look like:

[mod] - Your mod's folder
addons
metamod - Metamod:Source
sourcemod - SourceMod
Once SourceMod is uploaded/copied and configured with Metamod:Source, restart your server completely. If it is local, shut it down and restart it. If it is remote, you may need to ask your server provider for help. However, it is often safe to issue a "quit" command via rcon, since most providers will automatically restart your server.

First, in your server console (not client console), type:
Code: [Select]
meta list
If the install worked, you will see something like:
[code[
] meta list
Listing 1 plugin:
    [01] SourceMod (1.1.0.2489) by AlliedModders LLC
[/code]

You should then be able to use the SourceMod root console command, which can be invoked with simply:
Code: [Select]
sm
[code]
For example:
[code]
] sm version
 SourceMod Version Information:
    SourceMod Version: 1.1.0.2489
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.1.0-svn)
    SourcePawn API: v1 = 4, v2 = 2
    Compiled on: Sep  5 2008 02:02:12
    http://www.sourcemod.net/

ok now we have done all that its time to setup admin rights

open a file called admins_simple which is located here /addons/sourcemod/config/ and add this line to the bottom of the file

Code: [Select]
"Your steamID" "99:z"

Once done you will need to restart your game server

To test if you have admin rights type the following into chat;

Code: [Select]

/admin
!admin

if you have set it up right you will get a menu to the left side.

[/code]

Offline Spazy

  • Administrator
  • Hero Member
  • *****
  • Posts: 550
  • Karma: +1337/-0
  • Staff Manager
    • View Profile
Re: How to Setup Source Mod
« Reply #1 on: February 04, 2010, 07:10:02 AM »
Its always to give things a crack yourself especially if u want to learn more about the servers them self but also remember that our policy is that we will help any customer with any mod they have or want on there server.