OGTOOLS

CS2: Setting up a practice server

Before you practice, you need to set the server up properly. The round timer should not run out, you should respawn as soon as you die and money should be unlimited. The commands in this section turn the server into a training ground. Instead of typing them one by one, you can also put them in a practice config and load it with a single command.

6 codes all CS2 codes

Most codes here need cheats turned on first. See the section on how to open the console.

sv_cheats 1

Setting up a practice server

6 codes
6 codes listed

Turns on practice commands

sv_cheats 1

The requirement for most commands on this page. It only works on your own server and is rejected on official servers.

It does not work on official servers or in competitive matches. Trying it does no harm either, as the command is simply rejected.
PC

Extends the round time

mp_roundtime 60

The number at the end is the round time in minutes. It keeps the round from ending while you practice.

PC

Raises the money cap

mp_maxmoney 65535

You never run short of money when buying. It needs to be used together with the mp_startmoney command.

PC

Sets the starting money

mp_startmoney 65535

Sets how much money you have at the start of each round. Used together with the money cap command, and takes effect when the round restarts.

PC

Turns on instant respawn after death

mp_respawn_on_death_ct 1

You respawn right away when you die on the CT side. For the Terrorist side, replace ct at the end with t.

PC

Ends the warmup

mp_warmup_end

Ends the warmup period instantly and starts the match. It skips the wait while you set up practice.

PC

Setting up a practice server: Common questions

Why does the sv_cheats command not work?
This command only works on a server you set up yourself. On an official server, in a competitive match or on someone else's server where you are not an admin, the command is rejected.
How do I set up a practice server?
The easiest way is to start an offline match with bots from the game menu. Once you open the console and type sv_cheats 1, every command on this page becomes available.
Do I have to type the settings every time?
No. You can write the commands into a config file and load it from the console with a single command. Most pro players do exactly that.

Other CS2 cheat categories