Plugins on a Left 4 Dead 2 server run through Metamod:Source and SourceMod. You need both: Metamod:Source hooks into the Source Engine, and SourceMod builds on top of it to provide the plugin environment and the admin features.
Install Metamod:Source
-
Download Metamod:Source
Download the current stable version of Metamod:Source for Left 4 Dead 2 as a Linux package (.tar.gz). -
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Upload the files
Extract the archive and upload theaddonsfolder it contains to the following directory:/left4dead2/Afterwards the folder
/left4dead2/addons/metamod/exists. -
Start the server
Start your server and check in the server console withmeta versionwhether Metamod:Source was loaded.
Install SourceMod
-
Download SourceMod
Download the current stable version of SourceMod (currently the 1.12 branch) as a Linux package (.tar.gz). -
Stop the server
Stop your server via the dashboard. -
Upload the files
Extract the archive and upload theaddonsandcfgfolders it contains via SFTP to the following directory:/left4dead2/Existing folders are merged, not replaced. Afterwards the folder
/left4dead2/addons/sourcemod/exists. -
Start the server
Start your server and check in the server console withsm versionwhether SourceMod was loaded.
Install plugins
-
Download the plugin
Download the plugin you want. Ready-to-use plugins come as a.smxfile. -
Stop the server
Stop your server via the dashboard. -
Upload the plugin
Upload the.smxfile via SFTP to the following directory:/left4dead2/addons/sourcemod/plugins/ -
Start the server
Start your server and check withsm plugins listwhether the plugin was loaded.
Folder structure at a glance
/left4dead2/addons/metamod/
/left4dead2/addons/sourcemod/
/left4dead2/addons/sourcemod/plugins/ <- .smx plugin files
/left4dead2/addons/sourcemod/configs/ <- configurations, e.g. admin lists
/left4dead2/cfg/ <- server.cfg and other configurations
Verify the installation
Enter the following commands in the server console:
| Command | Description |
|---|---|
meta version |
Show the Metamod:Source version |
meta list |
Show the extensions loaded by Metamod |
sm version |
Show the SourceMod version |
sm plugins list |
Show the loaded SourceMod plugins |
