Rcon is built in and controls the server. SourceMod adds an in game admin menu, and on Left 4 Dead 2 it is also what most quality of life plugins need.
1. Set the rcon password
- Stop the server and open
left4dead2/cfg/server.cfgin the Files tab. - Set
rcon_password "a-long-secret". - Save and start the server.
2. Use rcon
- Join the server and open the console.
- Run
rcon_password a-long-secret. - Then use commands with the
rconprefix, such asrcon status,rcon changelevel c2m1_highwayorrcon kick "PlayerName".
The Console tab in the Game Panel runs the same commands with no prefix and no password.
3. Install SourceMod
- Stop the server.
- Download the Linux builds of MetaMod:Source and SourceMod for Left 4 Dead 2.
- Upload both into
left4dead2, giving youleft4dead2/addons/metamodandleft4dead2/addons/sourcemod. - Start the server and run
meta listandsm plugins listin the console.
4. Add yourself as an admin
- Run
statusin the console while connected and copy your Steam ID. - Stop the server and open
left4dead2/addons/sourcemod/configs/admins_simple.ini. - Add a line such as
"STEAM_1:1:12345678" "99:z". - Start the server and type
sm_adminin chat to open the menu.
5. If admin does not work
- Match the Steam ID format exactly as
statusprints it. - Restart the server after editing the file.
- Confirm SourceMod is loaded before blaming the file.
Open a ticket from Support in the Client Area with the console output if it is still refused.





