How to run a config file in Half-Life 2: Deathmatch
Upload the file to hl2mp/cfg and type exec match.cfg in the Console tab.
exec
Runs a config file from hl2mp/cfg, line by line, as if typed in the console.
exec <file> Examples
exec server.cfg Runs server.cfg again.
exec match.cfg Runs your own match config.
Arguments
fileRequired- Config file name, with or without .cfg.
What it does
Use it to load a set of settings at once, for example a match config.
Good to know
- Upload your own .cfg files to
hl2mp/cfgin the file manager; new uploads are kept between runs. - Half-Life 2: Deathmatch ships without a server.cfg: upload one to
hl2mp/cfgand the server runs it at every map load.
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 hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.
Your own
HL2DM server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.