CSGO: How do I install SourceMod on my server?

From g-portal.us Wiki
Jump to: navigation, search

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:

links

Then click on the download link to download MetaMod:

links

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.

Metamod-unpacking.png

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

Sourcemod-download.png

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

Upload files and folders via FTP

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):

Csgo-ftp.png

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?