CS2 Practice Commands: Training Server Setup

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.

Start a practice session and open the console

  1. Open Play → Practice, select a mode and map, and load the session.
  2. Choose the practice options relevant to your drill.
  3. In Settings → Game, set Enable Developer Console (~) to Yes.
  4. Open the console with your assigned key and enter the commands below.

Practice menus and server configurations can differ. Read the console response if a setting is unavailable or rejected.

Starter setup: copy these practice commands

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.

What the starter commands do

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.

Grenade practice: preview and trajectory trail

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.

Optional tools: bots, impacts and movement

  • 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.

Infinite ammo: choose whether to keep reloads

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 setup as practice.cfg

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.

Troubleshooting and returning to regular play

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.

Frequently Asked Questions About CS2 Practice Commands

How do I start a CS2 practice session?

Open Play, choose Practice, select a mode and map, and load the session. Choose the practice options you need before using console commands.

How do I enable the developer console in CS2?

Open Settings, select Game, and set Enable Developer Console (~) to Yes. Open it with your assigned console key after loading the map.

Do all CS2 practice commands require sv_cheats 1?

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.

How do I remove or stop bots during practice?

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.

What is the difference between sv_infinite_ammo 1 and 2?

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.

Which CS2 commands help with grenade practice?

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.

Why are my practice commands not working?

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.

How do I restore regular settings after practice?

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.

You need to accept marketing consents
Invalid email address.
Added successfully.