Knowledge Base » Support » Source Based Servers » Installing SourceMod / MetaMod
Installing SourceMod / MetaMod
SourceMod is a popular mod for Source based game servers, generally used to give other user admin priveledges without giving them your rcon password. The following is a step by step guide on how to install it onto your server.
In this video tutorial we will add sourcemod and metamod source to a Counter Strike: Source server. We will also set up an admin by steam ID and test out that admin. We show the entire process. Al fiqh al muyassar pdf writer. I get the newest sourcemod and metamod and put them into my tf folder on my linux server (debian). Metamod first then sourcemod. I then get a vdf file for tf2 from the metamod website.
Getting the appropriate files
SourceMod runs off another plugin called MetaMod:Source. The first step is to go and get the MetaMod:Source files. Head to their website and download the latest version to your computer. At the time of writing there are 2 version of MetaMod:Source - 1.4.4 and 1.6.2. For original Source engine (for games such as Counter-Strike:Source and any games running from your srcds_l folder, you need to grab the 1.4.4 version. For games running from your orangebox folder (Team Fortress 2, Day of Defeat: Source) , you need to grab 1.6.2.
Once you have downloaded the files, extract them to a convenient location on your computer, you should end up with an 'addons' folder.
Next next step is to download the SourceMod files, you can grab them from here. Again, extract them to a convenient place on your computer. You should end up with a folder called 'Sourcemod-1.0.4' (version number may change).
Uploading the files
How To Install Sourcemod
The first step in doing this is to connect to your game servers FTP, using the details provided in the welcome email. Now browse to srcds_l/<game>, <game> being which ever mod you wish to install SourceMod for. In this example we will be installing it for Counter-Strike:Source. We will browse to srcds_l/cstrike. Vw touareg navigation rns2 cd download. You should see a structure similar to the one below.
We first need to install MetaMod, to do this we simpy drag and drop the entire 'addons' folder into this directory. Once done you should have a struture similar to this:
Once done, we will now need to create a .vdf file. This file is a simple text file that is used by your server to load 3rd party plugins. You can either create this manually or head to the MetaMod:Source website and have one automatically created for you. If you wish to create it manually open up NotePad and copy the text below (the one relating to your game - if your game is not listed you will need to change the file to your mods folder).
Counter-Strike:
'Plugin'
{
'file' './cstrike/addons/metamod/bin/server_i486.so'
}
{
'file' './cstrike/addons/metamod/bin/server_i486.so'
}
'Plugin'
{
'file' './dod/addons/metamod/bin/server_i486.so'
}
{
'file' './dod/addons/metamod/bin/server_i486.so'
}
Team Fortress 2
'Plugin'
{
'file' './tf/addons/metamod/bin/server_i486.so'
}
{
'file' './tf/addons/metamod/bin/server_i486.so'
}
Save this file as metamod.vdf and upload it to 'srcds_l/<game>/addons'. Restart your server then connect to it, bring down your server console and type 'meta version'. You should see 'Loaded As: Valve Server Plugin'. If you don't, please see the section 'What to do if it doesn't work' at the bottom.
Metamod Source
Uploading SourceMod
In your SourceMod folder you should see 2 folders - addons and cfg. Upload both of these folders to srcds_l/<game>.
Within your addons folder you should now have metamod and sourcemod as well as your metamod.vdf file.
The final stage is to let MetaMod load SourceMod. To do this browse to your MetaMod folder and edit the file metaplugins.ini. This is a simple text file again, so you can open it in NotePad. Add the line 'addons/sourcemod/bin/sourcemod_mm' to the bottom of this file, so it looks similar to the one below.
Re-upload this file and overwrite the old one. Once done, restart your server and SourceMod should now be loaded onto your server.
What to do if it never worked?
1) Check all the files have been uploaded correctly.
2) Check you have downloaded the correct version of MetaMod (1.4.4 for Counter-Strike Source etc, 1.6.2 for TF2, DOD:S etc).
3) Check MetaMod is installed and running correctly - if it isn't then check you have created the .vdf file correctly and it is for the right game.
4) Check you have set MetaMod to load SourceMod through the metaplugins.ini file.
5) Submit a support ticket through the help desk if you have checked all of the above and are still stuck.
2) Check you have downloaded the correct version of MetaMod (1.4.4 for Counter-Strike Source etc, 1.6.2 for TF2, DOD:S etc).
3) Check MetaMod is installed and running correctly - if it isn't then check you have created the .vdf file correctly and it is for the right game.
4) Check you have set MetaMod to load SourceMod through the metaplugins.ini file.
5) Submit a support ticket through the help desk if you have checked all of the above and are still stuck.
Metamod-P 1.21p37 is included with AMX Mod 2010. Namie amuro live style 2011 zip. If you already have Metamod installed, simply extract the amx folder from the AMX Mod 2010 download and put it in your addons folder and skip ahead to Step 2.
A. Download AMX Mod 2010 from the AMX Mod Site
B. Extract the zip file to your mod folder. For example, if the game you play is Counter-Strike, then the mod folder you're looking for is cstrike. The folder structure should look like this when done unless you chose not to install Steam or HLDS in the default location:
C:HLServerDefault path for HLDS server:
C:HLServer
Default path for Dedicated Server in the Steam Games menu:
C:Program FilessteamSteamAppsaccountnamededicated server
Default path for Listen Server:
C:Program FilessteamSteamAppsaccountname <- Hover your mouse over me
└ mod (ie. cstrike, tfc, dod)
└ addons
├metamod
│ └dlls
└amx
├config
├dlls
├docs
├examples
│ ├include
│ └source
│ └default
├lang
├logs
├modules
└plugins
C:HLServer
Default path for Dedicated Server in the Steam Games menu:
C:Program FilessteamSteamAppsaccountnamededicated server
Default path for Listen Server:
C:Program FilessteamSteamAppsaccountname <- Hover your mouse over me
└ mod (ie. cstrike, tfc, dod)
└ addons
├metamod
│ └dlls
└amx
├config
├dlls
├docs
├examples
│ ├include
│ └source
│ └default
├lang
├logs
├modules
└plugins
C. Now that AMX and Metamod are installed, we need to enable Metamod.
Enabling Metamod: (If you only have FTP access to your server click here)
Metamodcan be enabled by adding a command line switch to your server'sshortcut or startup script. The old method done by editing the liblist.gam file should be used if your only access to the server is by FTP. The -dll switch is how it's done. Choose your type of server from below and follow the instructions:
- 'Windows Listen Servers': Right-click on your game (ex. Counter-Strike) from the Games menu in Steam and choose Properties. Then choose Launch options. Now add
-dll addonsmetamoddllsmetamod.dll
to the space provided and choose OK. - 'Windows Dedicated Servers from the Games menu in Steam': Right-click on Dedicated Server choose Properties, then choose Launch options. Now add
-dll addonsmetamoddllsmetamod.dll
to the space provided and choose OK. - 'Windows Stand Alone Dedicated Servers (HLDS)': Right-click on the shortcut for your server and choose Properties. From the Shortcut tab find the Target field. At the end of that line, add
-dll addonsmetamoddllsmetamod.dll
and choose OK. - 'Linux Dedicated Servers (HLDS)' Edit the script you use to start up your server and add
-dll addons/metamod/dlls/metamod.so
to the end of the line. Save and exit.
Servers with FTP access only (most rentals): (If you have full access to your server click here)
Metamod Vdf
For FTP access servers, find the file called liblist.gamin your mod folder (ie. cstrike). Download the file to your computerand open it in a text editor, or open it up for editing in the webpanel provided to you by your rental company if they offer one. Findthe lines:
gamedll 'dllsmp.dll'
gamedll_linux 'dlls/cs_i386.so'
gamedll_linux 'dlls/cs_i386.so'
And change them to this:
;gamedll 'dllsmp.dll'
gamedll 'addonsmetamoddllsmetamod.dll'
;gamedll_linux 'dlls/cs_i386.so'
gamedll_linux 'addons/metamod/dlls/metamod.so'
gamedll 'addonsmetamoddllsmetamod.dll'
;gamedll_linux 'dlls/cs_i386.so'
gamedll_linux 'addons/metamod/dlls/metamod.so'
![Metamod Metamod](https://i.ytimg.com/vi/jIFZivsywQI/maxresdefault.jpg)
(Note: A semi-colon ;was inserted at the beginning of the original lines. This prevents themfrom being used without deleting the original lines. Also you can haveboth lines listed above in the liblist.gam file, but both are notrequired. If you are a Windows user, then the Linux line is ignored andvice vera.)
When you're finished upload the file back toyour server overwriting the old one. For the web panel users just savethe changes.
Metamod Csgo
D. To find out if Metamod is running, start your server and type meta versionon the server console and press enter. Remember if you're doing thisfrom your client this is an rcon command. You should get something thatlooks like this:
Sourcemod Download Tf2
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:14 EET (optimized)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:14 EET (optimized)
Metamod Download
If you do, then you have successfully installed and enabled Metamod! Now move on to Step 2 and let's enable AMX Mod next.