background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categorie

L4D2 Admin Setup and Plugin Management

l4d2 sourcemod metamod admin plugins 0 hanno trovato utile questo articolo

This guide covers how to install SourceMod and MetaMod:Source on your Left 4 Dead 2 server, set up server admins, and manage plugins. For basic server configuration and connection instructions, see the L4D2 Server Setup Guide.

Stop your server before installing or modifying plugins. Always stop your server from the GPanel Console tab before uploading files or editing configuration. Changes made while the server is running may be overwritten or cause crashes on next restart.

Step 1 — Install MetaMod:Source and SourceMod

SourceMod is the primary admin and plugin framework for Left 4 Dead 2. It requires MetaMod:Source as a dependency. Both must be installed by uploading files to the server's left4dead2/addons/ directory.

Upload files via SFTP. The GPanel file manager is suitable for small edits, but uploading the MetaMod and SourceMod archives is faster and more reliable via SFTP. See the SFTP file upload guide for connection instructions.

Download the Required Files

  • MetaMod:Source — Download the latest stable build for Linux from sourcemm.net. Choose the package labelled Left 4 Dead 2 or the generic Source 2009/OB build.
  • SourceMod — Download the latest stable build from sourcemod.net. Select the Linux package.

Install MetaMod:Source

  1. Extract the MetaMod archive on your local machine. It produces an addons/ folder.
  2. Upload the contents of that addons/ folder into left4dead2/addons/ on your server, merging with any existing files.
  3. The key file placed is left4dead2/addons/metamod.vdf, which tells the Source engine to load MetaMod.

Install SourceMod

  1. Extract the SourceMod archive. It also produces an addons/ folder and a cfg/ folder.
  2. Upload both folders into left4dead2/, merging with existing content.
  3. The SourceMod files will be placed under left4dead2/addons/sourcemod/.

Verify the Installation

  1. Start the server and monitor the console output in GPanel.
  2. Look for lines similar to:
    L4D2: Loading MetaMod:Source v1.x.x
    L4D2: SourceMod 1.x.x loaded
  3. Join the server and type sm version in the in-game console. If SourceMod is active, it will return the installed version number.

Step 2 — SourceMod Directory Structure

Understanding where SourceMod stores its files is essential for managing plugins and configuration.

Path Purpose
left4dead2/addons/sourcemod/plugins/ Compiled plugin files (.smx). Drop plugins here to install them.
left4dead2/addons/sourcemod/plugins/disabled/ Move a plugin's .smx here to disable it without deleting it.
left4dead2/addons/sourcemod/configs/ Configuration files for admins, reserved slots, and plugin settings.
left4dead2/addons/sourcemod/logs/ SourceMod and plugin log files. Check here first when troubleshooting plugin errors.
left4dead2/addons/sourcemod/translations/ Language files for localised plugin output.

Step 3 — Adding SourceMod Admins

Open left4dead2/addons/sourcemod/configs/admins_simple.ini in the GPanel file editor. Add admin entries in the format below, then restart the server.

// Format: "STEAM_0:X:XXXXXXXX" "flag-string" "password" "comment"
// Flag 'z' grants all permissions (superadmin)
"STEAM_0:1:12345678"    "z"
Finding your SteamID: You can look up your SteamID at steamidfinder.com. Use the STEAM_0:X:XXXXXXXX format in admins_simple.ini.

Common Admin Flags

Flag Permission
z Full admin (all permissions)
b Kick players
c Ban players
d Slay/harm players
e Map changes
f Change ConVars

You can combine flags. For example, "bce" gives kick, ban, and map change permissions without full admin access.

Step 4 — Install SourceMod Plugins

SourceMod plugins are distributed as compiled .smx files. Popular plugins for Left 4 Dead 2 include admin tools, survivor bot control, ready-up systems, and difficulty modifiers.

  1. Download the .smx file for your chosen plugin. Many are available on the AlliedModders forums.
  2. Upload the .smx file to left4dead2/addons/sourcemod/plugins/.
  3. If the plugin includes a configuration file (.cfg), upload it to left4dead2/cfg/sourcemod/ (create the folder if it does not exist).
  4. Restart the server. SourceMod automatically loads all .smx files in the plugins directory on startup.
To disable a plugin without deleting it: move its .smx file into left4dead2/addons/sourcemod/plugins/disabled/ and restart the server. This is also the recommended first step when troubleshooting plugin conflicts.

Verifying Loaded Plugins

After the server starts, you can check which plugins are loaded by typing the following in the server console (via GPanel Console tab) or in-game console as an admin:

sm plugins list

This lists all loaded plugins with their name, version, and status. Plugins that failed to load will be marked with an error indicator.

Related Articles

If you need help with SourceMod or plugin installation, open a support ticket at legionhosting.net/submitticket.php and include your server ID, the SourceMod error log contents, and a description of the issue.

Questo articolo ti è stato utile?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.