Guides

How to Make a Practice Config in CS2

Write one small config file that turns any local CS2 match into a grenade and spot practice server, with every line explained.

How to Make a Practice Config in CS2 – Strikeistan CS2 guide

Learning smokes and flashes is slow when you have to rebuy grenades, wait out the freeze time and walk back after every throw. A CS2 practice config fixes that. It is a small text file that switches a local match into a sandbox, with infinite ammo, grenade previews and no round timer getting in the way.

This guide shows how to build the file, how to load it and what each line does. You will need the developer console enabled. If it is not, see how to open the console first.

Where does a CS2 practice config go?

Config files live in the game's cfg folder. The quickest way to find it is through Steam:

  1. Right-click Counter-Strike 2 in your Steam Library.
  2. Choose Manage, then Browse local files.
  3. Open game, then csgo, then cfg.

On a default Windows install the full path is C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg. The folder keeps its old CS:GO name. Create a new text file there and name it practice.cfg. Turn on file extensions in Windows so it does not end up as practice.cfg.txt.

The practice config file

Paste these lines into the file. Lines starting with two slashes are comments, and the game ignores them.

  • sv_cheats 1 // unlocks cheat-protected commands on your server
  • bot_kick // removes all bots
  • mp_limitteams 0 and mp_autoteambalance 0 // stop team balancing moving you
  • mp_warmup_end // ends warmup
  • mp_freezetime 0 // no freeze at round start
  • mp_roundtime_defuse 60 // long rounds on bomb maps, in minutes
  • mp_startmoney 60000 and mp_maxmoney 60000 // plenty of cash
  • mp_buytime 9999 and mp_buy_anywhere 1 // buy anywhere, any time
  • sv_infinite_ammo 1 // grenades and bullets never run out
  • ammo_grenade_limit_total 5 // carry a full grenade set
  • sv_grenade_trajectory_prac_pipreview 1 // shows where a grenade will land
  • sv_grenade_trajectory_prac_trailtime 4 // keeps the flight path visible for 4 seconds
  • sv_showimpacts 1 // marks where bullets hit
  • mp_respawn_on_death_ct 1 and mp_respawn_on_death_t 1 // respawn instantly
  • mp_restartgame 1 // restarts so the settings apply

Put each command on its own line. Keep mp_restartgame 1 last, because several settings only take effect on a fresh round.

How to load it

  1. Start an offline match against bots from the Play menu, or type map de_mirage in the console. Any map name works.
  2. Once you spawn, open the console.
  3. Type exec practice and press Enter.

The round restarts with your settings. If you see unknown command errors, check the spelling in the file. If nothing changes at all, the file is probably named wrong or saved in the wrong folder.

Useful practice binds

A few binds make practice much faster. Type them in the console or add them to the file. Our guide to bind commands explains the syntax.

  • bind n noclip flies you through walls to reset your position. Press it again to land.
  • bind p sv_rethrow_last_grenade throws your last grenade again from the same spot, so you can watch where it lands.
  • bind k "ent_fire smokegrenade_projectile kill" clears smokes instantly.
  • bind l "ent_fire inferno kill" puts out molotov fires.

Pick keys you do not use in normal play, or remove these binds before your next ranked game.

Practising with bots as targets

To work on peeks or prefires, you can add bots back. bot_add adds one. bot_stop 1 freezes them. bot_place moves a bot to where you are aiming. These help with the drills in our aim training guide and the crosshair placement guide.

Why does my CS2 practice config not work online?

Everything in this file depends on sv_cheats 1. That only works on a server you control. Official matchmaking and Premier servers block it, as do most community servers. This is by design. The config is a training tool, not a way to gain an edge in real matches.

Also note that older guides use sv_grenade_trajectory and sv_grenade_trajectory_time. Those were CS:GO commands. Current references list them as removed, with the sv_grenade_trajectory_prac_ commands taking their place.

When you finish, quit the map or type sv_cheats 0. Your normal settings are not affected, because most of these commands only change the local server.

Sources and checks

Command names were checked on 1 November 2026 against Leetify's CS2 practice commands guide and the csdb.gg CS2 command list. Valve can change commands in updates, so test the file after a big patch.

Frequently asked questions

Can I get banned for using a practice config?

No. It only runs on your own local server, and cheat commands are blocked on official servers anyway.

Why does exec practice say the file is missing?

The file is in the wrong folder or has a hidden .txt ending. It must be practice.cfg inside game, csgo, cfg.

Can I use the same file on every map?

Yes. Load any map, then run exec practice. Nothing in the file is map specific.

CS2 config Practice Utility Guides