How to run a config file on an L4D2 server
Type exec server.cfg in the Console tab of the server page; the file is read from left4dead2/cfg.
exec
Runs a config file from the cfg folder, such as server.cfg.
exec <file> Examples
exec server.cfg Run server.cfg again now.
exec banned_user.cfg Load the saved Steam ID bans.
Arguments
fileRequired- File name in
left4dead2/cfg, with or without .cfg.
What it does
Use it to apply a config without waiting for the next map, or to switch between configs you keep for different modes.
Good to know
- Files are read from
left4dead2/cfg. Upload them in the file manager.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.
Your own
L4D2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.