There are two kinds of extensions for a Left 4 Dead server: plugins through Metamod:Source and SourceMod, which run purely server-side, and custom campaigns as VPK add-ons, which every player has to install as well.
Install Metamod:Source
Metamod:Source hooks into the Source Engine and is the foundation for SourceMod.
-
Download Metamod:Source
Download the current stable version of Metamod:Source for Left 4 Dead 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:/left4dead/Afterwards the folder
/left4dead/addons/metamod/exists. -
Replace metamod.vdf
Open the file/left4dead/addons/metamod.vdfand replace its content completely with this:"Plugin" { "file" "../left4dead/addons/metamod/bin/server" } -
Start the server
Start your server and check in the server console withmeta versionwhether Metamod:Source was loaded.
Install SourceMod
SourceMod builds on top of Metamod:Source and provides the plugin environment as well as the admin features.
-
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:/left4dead/Existing folders are merged, not replaced. Afterwards the folder
/left4dead/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:/left4dead/addons/sourcemod/plugins/ -
Start the server
Start your server and check withsm plugins listwhether the plugin was loaded.
Install custom campaigns
Custom campaigns come as a .vpk file and are installed on the server exactly the way players install them.
-
Download the campaign
Download the campaign you want as a.vpkfile. -
Connect via SFTP
Connect to your server via SFTP. -
Upload the VPK
Upload the.vpkfile to the following directory:/left4dead/addons/ -
Activate the campaign
Enter the following command in the server console:update_addon_paths;mission_reloadThis applies the campaign without a restart. Alternatively restart your server.
Folder structure at a glance
/left4dead/addons/ <- .vpk files for custom campaigns
/left4dead/addons/metamod.vdf <- loader file for Metamod:Source
/left4dead/addons/metamod/
/left4dead/addons/sourcemod/
/left4dead/addons/sourcemod/plugins/ <- .smx plugin files
/left4dead/addons/sourcemod/configs/ <- configurations, e.g. admin lists
/left4dead/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 |
