CS2 practice commands help you set up longer rounds, remove bots, buy equipment and rehearse utility. Load a local practice session or use a private server you control, then apply the starter setup below. These settings do not give ordinary players control over official matchmaking servers.
Practice menus and server configurations can differ. Read the console response if a setting is unavailable or rejected.
This setup removes bots, sets long rounds, provides equipment funds and enables infinite ammo. Run it before your drill: the final command restarts the match and can reset progress.
sv_cheats 1
bot_kick
mp_roundtime_defuse 60
mp_roundtime_hostage 60
mp_roundtime 60
mp_freezetime 0
mp_maxmoney 60000
mp_startmoney 60000
mp_buy_anywhere 1
mp_buytime 3600
sv_infinite_ammo 1
mp_warmup_end
mp_restartgame 1
Units matter: the round timers use minutes; mp_buytime 3600 allows a 3,600-second buying window; mp_restartgame 1 schedules the restart after one second. A 60-minute timer does not disable every round-ending condition.
| Command or group | Purpose |
|---|---|
sv_cheats 1 |
Allows cheat-protected training commands in a session you control. |
bot_kick |
Removes bots from the session. |
mp_roundtime* |
Sets general, Bomb Defuse and Hostage Rescue round durations. |
mp_freezetime 0 |
Removes the freeze period at round start. |
mp_maxmoney / mp_startmoney |
Sets the money cap and starting funds. |
mp_buy_anywhere / mp_buytime |
Controls where and for how long you can buy. |
sv_infinite_ammo 1 |
Enables infinite ammo without normal reloading; cheat-protected. |
mp_warmup_end |
Ends warmup. |
mp_restartgame 1 |
Restarts the match after one second. |
The asterisk in mp_roundtime* groups the timer names in this table; it is not a command to paste. For mode-specific details, see how to extend round time in CS2.
Use these CS2 practice variables when rehearsing grenade throws:
sv_grenade_trajectory_prac_pipreview 1
sv_grenade_trajectory_prac_trailtime 4
The first enables the practice picture-in-picture preview. The second keeps the trajectory visualization visible for four seconds. To disable them, set each value to 0.
These names appear in the CS2 console-variable reference. Total CS’s grenade-practice guide provides additional context. Check the current command names rather than assuming an old CS:GO config will work unchanged.
bot_stop 1 pauses bot actions; bot_stop 0 resumes them. Keep bots in the session if your drill needs them, rather than running bot_kick.sv_showimpacts 1 displays bullet-impact markers; use sv_showimpacts 0 to disable them.noclip toggles flying through the map. Run it again to turn the mode off.These optional tools require sv_cheats 1. Keep noclip outside the starter config because repeatedly executing a toggle can change its state unexpectedly. The bot_stop reference explains its bot-control behaviour.
sv_infinite_ammo 1 removes normal reloading. Set it to 2 for unlimited reserve ammunition while retaining reloads, or 0 to disable it. Choose the mode that fits your drill; practising with no reloads changes the rhythm of weapon handling.
The value descriptions are documented in the infinite-ammo reference; the CS2 variable list marks the command as cheat-protected.
Save the starter block as a plain-text file named practice.cfg in your CS2 installation’s game/csgo/cfg folder. Locate the installation through Steam’s installed-files controls rather than assuming it is on the C: drive. Check that the filename has not become practice.cfg.txt.
After loading your practice session, enter exec practice in the console. Keep this as a separate practice file so that it is only applied when you choose to run it.
If a command fails, check its spelling and the console message first. Server permission errors, cheat requirements and an unavailable command are different problems. A mode config or plugin may also overwrite your setting.
Record your baseline before practice. Afterwards, restore the intended mode’s configuration or your recorded values and turn off training features. If a saved config reintroduces unwanted settings, update that file too.
For another type of drill, see our retake server guide. For display configuration, read CS2 video settings explained.
Open Play, choose Practice, select a mode and map, and load the session. Choose the practice options you need before using console commands.
Open Settings, select Game, and set Enable Developer Console (~) to Yes. Open it with your assigned console key after loading the map.
No. Basic server settings and cheat-protected commands have different requirements. The starter setup enables sv_cheats 1 for its infinite-ammo feature and optional training tools.
Use bot_kick to remove bots. If you want to keep bots but stop their actions, use bot_stop 1 with sv_cheats enabled, then bot_stop 0 to resume them.
A value of 1 supplies ammunition without normal reloading. A value of 2 provides unlimited reserve ammunition while keeping reloads. Use 0 to turn infinite ammo off.
Use sv_grenade_trajectory_prac_pipreview 1 for the practice preview and sv_grenade_trajectory_prac_trailtime 4 to display a trail for four seconds. Use them in a practice session you control.
Check server permissions, the command spelling, cheat requirements and whether the current game mode or a plugin overrides the setting. Read the console response for the specific error.
Restore recorded values or reload the intended game-mode configuration. Turn off optional training tools and remove custom practice commands from configs that would otherwise reapply them.