host_writeconfig
⭐ Essential Commands Multiplayer Safe

Command Details

Description Saves current settings to config.cfg
sv_cheats Not required

Syntax

host_writeconfig <value>

How to Use

1

Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console.

2

Type host_writeconfig into the console and press Enter.

3

Saves current settings to config.cfg. This command works in all game modes including competitive.

Related Essential Commands Commands

Browse all Essential Commands commands →

Frequently Asked Questions

What does host_writeconfig do in CS2?
Saves current settings to config.cfg
Does host_writeconfig require sv_cheats?
No, host_writeconfig does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use host_writeconfig in competitive?
Yes, host_writeconfig works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.

Explore More on CSDB.gg