How To Install Metamod Tf2

Knowledge Base » Support » Source Based Servers » Installing SourceMod / MetaMod

Installing SourceMod / MetaMod

Team Fortress 2. All Discussions Screenshots Artwork Broadcasts Videos Workshop News Guides Reviews. You install the sourcemod in your tf2 server folder. Nov 06, 2009  Underneath this folder, you should have an addons folder (if not, Metamod:Source is probably not installed). From your local addons folder, upload the entire contents to your remote addons folder. When done, your remote addons folder should have a sourcemod folder.

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.

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

Install

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. You should see a structure similar to the one below.

How To Install Tf2 Hitsound

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'
}

'Plugin'
{
'file' '../dod/addons/metamod/bin/server_i486.so'
}

Team Fortress 2

How To Install Tf2 Classic

'Plugin'
{
'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.

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.

To run plugins your server, you need SourceMod. For SourceMod you need MetaMod. Sounds difficult at first, but is very easy and quick to install.

With SourceMod you can easily administer the server outside the game and use plugins. For example, plugins can allow admins to kick, ban or freeze players.

These instructions refer to the games Counter-Strike: Global Offensive, Counter-Strike: Source and Team Fortress 2.

Download and unpack MetaMod

Download MetaMod first. MetaMod can be downloaded from this page: http://www.sourcemm.net/

Select the version for Linux, because all the servers run on Linux:

Then click on the download link to download MetaMod:

Now unpack the .tar.gz file. Do the same with the .tar file that appears after the first unpacking.

The easiest way to do this is with 7-Zip. 7-Zip is a free software and does not come with any ads.

Now we should just have a folder named addons. We do not have to change this further. Now just continue to SourceMod.

Download and unpack SourceMod

Download SourceMod from this page: http://www.sourcemod.net/downloads

Unpack the downloaded folder in to the MetaMod folder, so you end up with the folders addons and cfg.

How To Install Metamod Tf2

Upload files and folders via FTP

How To Install Tf2 Configs

The downloaded files must now be uploaded to the server via FTP. If you don't know how to use FTP, please read: How do I connect to my FTP server?

Since the two folders must be uploaded to different directories in the various games, here is a brief overview of the directories on the FTP:

Game Directory
Counter-Strike: Global Offensive /csgo
Counter-Strike: Source /cstrike
Team Fortress 2 /tf

After everything has been uploaded, it should look something like this (example on a Counter-Strike: Global Offensive server):

Now just restart the server and SourceMod should run. :-)

More settings

SourceMod was installed together with MetaMod in these steps. Theoretically that's it, but you can not use all the commands and functions out the box. You would have to add yourself as an admin first. Instructions for that can be found here: CSGO: How do I make myself admin in SourceMod?

Tf2 How To Install Metamod And Source Mod

Retrieved from 'https://www.g-portal.us/wiki/index.php?title=CSGO:_How_do_I_install_SourceMod_on_my_server%3F&oldid=384'