Team Fortress 2 server.cfg generator
Team Fortress 2 reads server.cfg on startup, but map changes are where settings quietly go back to defaults.
Visual Settings
server.cfg
How server.cfg syntax works
Standard Source syntax: command, space, value. Quotes for values with spaces, 1 and 0 for booleans. Many gameplay cvars are prefixed with tf_ and take effect immediately when set.
The mistake that costs people hours
Some cvars reset on map change unless they are re-applied, and the server runs per-map and per-gamemode config files after server.cfg. A setting that works for the first map and reverts afterwards is being overwritten by one of those, not ignored.