Left 4 Dead 2 server.cfg generator
Left 4 Dead 2 has an unusual problem: the game's own Director resets many of the settings people try to change here.
Visual Settings
server.cfg
How server.cfg syntax works
Standard Source command syntax. The complication is layering — the server reads server.cfg, then gamemode-specific configs, and the Director applies its own values on top for anything affecting pacing and difficulty.
The mistake that costs people hours
Difficulty and spawn-related settings written into server.cfg are frequently overridden once a campaign starts. If a value refuses to stick, it needs to go in the gamemode-specific config rather than the general one, and some of it cannot be changed without a plugin.