CS2 practice config generator

Tick what you want on your practice server and copy the result. Paste the one-line version into the console, or save the file version as practice.cfg and load it with exec practice.

One line for the console
Or save as practice.cfg

How to use it

  1. Start an offline map: open the console and type map followed by the map name, for example map de_mirage, then press Enter.
  2. Tick the options you want. Change the key for the rethrow and noclip binds, or clear a key to leave that bind out.
  3. Copy the one-line version and paste it into the console, or copy the file version and save it as practice.cfg.
  4. For the file: put practice.cfg in the game's cfg folder (Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg) and type exec practice in the console on any practice map.

What the commands do

sv_cheats 1 unlocks the practice commands on your own server. mp_warmup_end ends warm-up, and mp_restartgame 1 at the end restarts the round so every setting applies.

sv_infinite_ammo 1 gives endless ammo with no reloading, and ammo_grenade_limit_total 5 lets you carry every grenade type at once. mp_buy_anywhere, mp_buytime and the money commands let you buy from anywhere at any time.

sv_grenade_trajectory_prac_pipreview 1 shows a preview of a grenade's path, and sv_grenade_trajectory_prac_trailtime sets how many seconds the line of each throw stays visible.

sv_rethrow_last_grenade throws your last grenade again from the same spot, so you can watch where it lands without walking back. noclip lets you fly through walls to look at the landing spot.

Where these commands work

Only on a server you control: an offline map started with the map command, or a private server you host for friends. Official matchmaking ignores them, which is how it should be.

Commands typed into the console last until the map changes. The .cfg file saves you typing them again: run exec practice after each new map.

Getting more from lineup practice

Practise one site at a time and learn a few smokes perfectly before adding more. Use the rethrow bind to check a throw five or ten times, since jump throws and running throws vary more than standing ones.

Valve can change or rename practice commands in updates. These were current in December 2026. If the console says "Unknown command" for one, untick that option and tell us.

Questions

Why does nothing happen when I paste the commands?

Make sure you are on your own server (started with map de_mirage or similar) and that sv_cheats 1 is included. Official servers block these commands.

How do I turn practice mode off?

Leave the map. A new match resets server settings. Binds stay, so rebind those keys if you need them for something else.

Can I use this with friends?

Yes, on a server one of you hosts. Tick Respawn on death so nobody has to wait for a new round.

Is anything sent to a server?

No. The calculator is plain arithmetic in your browser. What you type is not uploaded or stored.

Related tests