NB! It seems this console command is not compatible with CS2.
Command Profile
WRITEIP
CS:GO
This command saves the list of IPs that have been banned to banned_ip.cfg, so that the bans apply even after the server restarts.
Syntax
writeip
Description
This command saves the list of IPs that have been banned to banned_ip.cfg, so that the bans apply even after the server restarts.
How To Use writeip
- Enable the developer console in Counter-Strike settings.
- Open the console with the tilde key (
~). - Enter
writeip, replacing bracketed arguments with the value you want, then press Enter.
This legacy command is not currently listed as compatible with Counter-Strike 2.
Syntax And Arguments
writeip