Left 4 Dead: SourceMod – Linux Installation


Why would you want SourceMod on your Left 4 Dead server?

Well it can help you administer your server in game and you can also install additional plugins with it. This is what it looks like in game …

Installation consists of copying files to your server so you will need ftp or SSH access to your server. Before you do this you will need to confirm your Steam ID for use later – simply join a server and then open the console and then type the following and hit enter:

status

The result will give you your Steam ID. Copy and paste it from the console and save it for later.

Next download Metamod to your computer and extract the files. Copy the addons folder to your left4dead folder on your server. On my server this is /home/user/hlds/l4d/left4dead.

Now you need to generate a vdf file – choose Left4Dead as the game type and leave the gamefolder blank to download the correct file (click Generate Metamod VDF). Upload this file to the addons folder on your server. On my server this is /home/user/hlds/l4d/left4dead/addons.

Next download SourceMod and extract the files. Copy the contents of your addons folder to the addons folder on the server. On my server this is /home/user/hlds/l4d/left4dead/addons. Copy the contents of the cfg folder to the cfg folder on the server. On my server this is /home/sxl4d/user/l4d/left4dead/cfg.

Now we just need to grant ourselves some admin rights by editing the addons/sourcemod/configs/admins_simple.ini file. On my server this is /home/user/hlds/l4d/left4dead/addons/sourcemod/configs/admins_simple.ini.

At the bottom of the file just add the following line where the Steam ID is the one you saved earlier:

"Steam ID" "bcdefghijklmn"

The Steam ID specifies a player and the next field specifies permissions as per the following table:

Simply reboot the server and you are good to go – connect to your server, open the console and type the following to view the in-game admin menu:

sm_admin
Thanks to KingJulian on this thread for many of these details …

2 thoughts on “Left 4 Dead: SourceMod – Linux Installation

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