Command
host_writeconfig
<Config File>Explore usage, syntax, and examples for the host_writeconfig CS2 developer console command.
host_writeconfig
CS2 and CSGOhost_writeconfig
<Config File>Save your current server settings set with host_ commands to a config file. These settings will persist after the server restarts.
Optional: Specify the config file name to save your settings. Defaults to config.cfg if not set.
No
Client
Server
host_writeconfig Generator
host_writeconfig
Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.