CS2 Practice Config Generator

Tick what you need for practice and get a console line plus a practice.cfg file you start with a single command.

Round and money
Grenades
Server
Shooting
Binds

Key name in Latin letters, e.g. n, x, mouse4. Leave empty for no bind.

Console line

sv_cheats 1; bot_kick; mp_limitteams 0; mp_autoteambalance 0; mp_roundtime 60; mp_roundtime_defuse 60; mp_freezetime 0; mp_buytime 9999; mp_buy_anywhere 1; mp_maxmoney 60000; mp_startmoney 60000; sv_infinite_ammo 2; ammo_grenade_limit_total 5; sv_grenade_trajectory_prac_pipreview 1; sv_showimpacts 1; mp_respawn_on_death_ct 1; mp_respawn_on_death_t 1; bind "n" "noclip"; bind "x" "sv_rethrow_last_grenade"; mp_warmup_end; mp_restartgame 1

practice.cfg file

sv_cheats 1
bot_kick
mp_limitteams 0
mp_autoteambalance 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_freezetime 0
mp_buytime 9999
mp_buy_anywhere 1
mp_maxmoney 60000
mp_startmoney 60000
sv_infinite_ammo 2
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview 1
sv_showimpacts 1
mp_respawn_on_death_ct 1
mp_respawn_on_death_t 1
bind "n" "noclip"
bind "x" "sv_rethrow_last_grenade"
mp_warmup_end
mp_restartgame 1

Run in game: exec practiceBuild a full autoexec.cfg

How we calculate

Practice commands only work with sv_cheats 1, i.e. in a game with bots or on your own server; they are blocked in competitive play. So the config always starts with sv_cheats 1 and ends by ending warmup and restarting the round, so the new time and money settings apply immediately.

sv_infinite_ammo 1 gives a never-ending magazine with no reloads, which is handy for studying recoil. sv_infinite_ammo 2 gives infinite reserve ammo, but you still reload as in a real fight. The grenade preview shows in a separate window where the nade will land, and sv_rethrow_last_grenade repeats your last throw.

The 60-minute round, 60,000 money and 5 grenades are not the game’s defaults but what practice configs usually use. Save the block as practice.cfg in the game’s cfg folder and run it with exec practice.

Sources

checked 30 September 2026

Questions and answers

Can these commands get me banned?

No: they only work with sv_cheats 1, i.e. in a local game or on your own server, and competitive matches simply will not accept them. They are the game’s built-in practice tools.

Where do I put practice.cfg?

In the game’s cfg folder, next to autoexec.cfg. Then typing exec practice in the console is enough. Or paste the console line directly — same effect, but only until the map restarts.

Which sv_infinite_ammo value should I use?

For studying recoil, 1 is handier: the magazine never runs out and reloads don’t get in the way. For practice closer to real games, 2 is better: ammo is endless, but magazines and reloads are real.

How do I practice grenades?

Turn on the trajectory preview and bind rethrow-last-grenade to a key: throw, see where the nade landed, and repeat from the same spot. Noclip helps you fly between positions quickly.

All Counter-Strike 2 guides

Unofficial tool. Not affiliated with Valve.