Generate a Team Fortress 2 server.cfg
Team Fortress 2 reads server.cfg at startup, but a map change is where settings slip back to their defaults without anyone noticing.
Visual Settings
server.cfg
Advertisement
The server.cfg format
The usual Source syntax: command, a space, then the value. Quote values with spaces, and use 1 and 0 for booleans. A lot of gameplay cvars start with tf_ and apply the moment they are set.
Advertisement
The mistake that wastes an evening
Once the first map is over, per-map and per-gamemode config files run after server.cfg, and some cvars fall back to defaults on every map change unless re-applied. So a value that works on map one and then disappears has been overwritten by one of those files — it was never ignored.