How to save your settings in CS2
Type host_writeconfig in your game console to save your current settings and binds to your config files right away.
host_writeconfig
Saves your current settings and key binds to your config files right away.
host_writeconfig Examples
host_writeconfig Save settings now.
What it does
Writes your settings to disk instead of waiting for the game to do it when you quit. Handy right after changing a lot of settings in the console, in case the game crashes.
The game's own description: Saves out the user config values.
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 game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.