CS2 practice config generator
Turn your offline server into a grenade and practice server: infinite ammo, grenade trajectories and the landing preview, bullet impacts, long rounds and binds for noclip and rethrow. Only commands that work in CS2 today.
Server
Cheats on
Needed for infinite ammo, noclip, rethrow and the bot commands. Only on your own server.
sv_cheats 1End the warmup
Starts the round straight away.
mp_warmup_endAny team
No team limits and no autobalance, so you can join either side.
mp_limitteams 0; mp_autoteambalance 0Long rounds
Round time in minutes, up to 60, on bomb and hostage maps.
mp_roundtime 60; mp_roundtime_defuse 60; mp_roundtime_hostage 60No freeze time
Move as soon as a round starts.
mp_freezetime 0Rounds never end
Kills, a plant or a defuse no longer end the round.
mp_ignore_round_win_conditions 1Money and buying
Buy anywhere, any time
The buy menu works outside the buy zone for the whole round.
mp_buy_anywhere 1; mp_buytime 9999Money
Start money, the money cap and a refill after every round.
mp_maxmoney 60000; mp_startmoney 60000; mp_afterroundmoney 60000Free armor
Kevlar and helmet at every spawn.
mp_free_armor 2Grenades and shooting
Infinite ammo
The weapon in your hands never runs out of ammo.
sv_infinite_ammo 1Carry every grenade
Five grenades at once instead of the match limit of four.
ammo_grenade_limit_total 5Grenade trajectory
Draws each grenade's flight path, for up to 8 seconds.
sv_grenade_trajectory_prac_trailtime 8Landing preview
A picture-in-picture window shows where the grenade will land before you throw.
sv_grenade_trajectory_prac_pipreview 1Bullet impacts
Marks where your bullets hit, for up to 10 seconds.
sv_showimpacts 1; sv_showimpacts_time 10Players and bots
Respawn
Both teams respawn right after dying.
mp_respawn_on_death_t 1; mp_respawn_on_death_ct 1Kick the bots
An empty server for lineups.
bot_kickFreeze the bots
Bots stand still: targets for prefires and flashes. Turn off kicking to keep them.
bot_stop 1Show position
Your coordinates and view angles at the top of the screen, for exact lineups.
cl_showpos 1Practice binds
Binds stay after practice: CS2 saves them with your settings. Pick keys you don't need in matches.
Noclip
Fly through walls to get to a spot fast. Press again to land.
bind "n" "noclip"Rethrow last grenade
Throws your last grenade again from the same spot, so you can watch it from anywhere.
bind "j" "sv_rethrow_last_grenade"Clear smokes
Removes every smoke on the map.
bind "k" "ent_fire smokegrenade_projectile kill"God mode
You take no damage. Press again to turn it off.
bind "l" "god"Console line
sv_cheats 1; mp_warmup_end; mp_limitteams 0; mp_autoteambalance 0; mp_roundtime 60; mp_roundtime_defuse 60; mp_roundtime_hostage 60; mp_freezetime 0; mp_ignore_round_win_conditions 1; mp_buy_anywhere 1; mp_buytime 9999; mp_maxmoney 60000; mp_startmoney 60000; mp_afterroundmoney 60000; sv_infinite_ammo 1; ammo_grenade_limit_total 5; sv_grenade_trajectory_prac_trailtime 8; sv_grenade_trajectory_prac_pipreview 1; sv_showimpacts 1; sv_showimpacts_time 10; mp_respawn_on_death_t 1; mp_respawn_on_death_ct 1; bot_kick; bind "n" "noclip"; bind "j" "sv_rethrow_last_grenade"; mp_restartgame 1
practice.cfg
// CSStats practice config: csstats.xyz/tools/practice-config // Put this file into the cfg folder and type exec practice in the console. // Server sv_cheats 1 // Cheats on mp_warmup_end // End the warmup mp_limitteams 0 // Any team mp_autoteambalance 0 mp_roundtime 60 // Long rounds mp_roundtime_defuse 60 mp_roundtime_hostage 60 mp_freezetime 0 // No freeze time mp_ignore_round_win_conditions 1 // Rounds never end // Money and buying mp_buy_anywhere 1 // Buy anywhere, any time mp_buytime 9999 mp_maxmoney 60000 // Money mp_startmoney 60000 mp_afterroundmoney 60000 // Grenades and shooting sv_infinite_ammo 1 // Infinite ammo ammo_grenade_limit_total 5 // Carry every grenade sv_grenade_trajectory_prac_trailtime 8 // Grenade trajectory sv_grenade_trajectory_prac_pipreview 1 // Landing preview sv_showimpacts 1 // Bullet impacts sv_showimpacts_time 10 // Players and bots mp_respawn_on_death_t 1 // Respawn mp_respawn_on_death_ct 1 bot_kick // Kick the bots // Practice binds bind "n" "noclip" // Noclip bind "j" "sv_rethrow_last_grenade" // Rethrow last grenade mp_restartgame 1 echo "practice.cfg loaded"
Where the file goes
…\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\practice.cfgThen open the console on your server and type exec practice.
How to use the practice config
Pick your settings
Switch on what you want to practice with. Round time, trail length, impact time and money take a number; the binds take a key: click it and press the key you want.
Start a server of your own
In CS2, open Play, then Practice or Workshop maps, and start any map. Practice commands only work on a server you host.
Paste it or exec it
Open the console and paste the line. Or download practice.cfg, put it into the cfg folder once, and type exec practice on every map from then on.
Every command checked for CS2
Many practice configs still pass around CS:GO commands that CS2 removed. The generator only writes commands found in the current game build, and replaces the old ones with what CS2 has now.
| CS:GO | CS2 |
|---|---|
sv_grenade_trajectory 1 | sv_grenade_trajectory_prac_trailtime 8 |
sv_grenade_trajectory_time 10 | sv_grenade_trajectory_prac_trailtime 8 |
cl_grenadepreview 1 | sv_grenade_trajectory_prac_pipreview 1 |
r_cleardecals | Removed, with no replacement |
Checked against the command list of the CS2 build of 11 November 2026.
Frequently asked questions
What does a CS2 practice config do?
It turns an offline server into a practice server: infinite ammo, grenade trajectories with a landing preview, bullet impacts, long rounds without freeze time, buying anywhere, respawns and a few binds such as noclip and rethrowing your last grenade.
Where do I put practice.cfg?
Into the cfg folder of CS2: Steam, steamapps, common, Counter-Strike Global Offensive, game, csgo, cfg. Then type exec practice in the console of your own server.
Why does it need sv_cheats 1?
Infinite ammo, noclip, god mode, rethrowing grenades and freezing bots are cheat commands in CS2. They only work with sv_cheats 1, and only on a server you run yourself.
Does it work on Premier, Competitive or FACEIT servers?
No. Official and FACEIT servers ignore these commands. Use it on a server you start yourself from Play, Practice or Workshop maps, or on a community server where you are an admin.
Why doesn't sv_grenade_trajectory work in CS2?
CS2 removed it, with sv_grenade_trajectory_time and cl_grenadepreview. Trajectories are sv_grenade_trajectory_prac_trailtime (up to 8 seconds) now, and the landing preview is sv_grenade_trajectory_prac_pipreview 1.
How do I get my normal settings back?
CS2 saves none of the server settings, so they are back to normal after you restart the game. Binds are the exception: CS2 keeps them, so bind those keys again or clear them, for example with unbind n.
More CS2 tools
All toolsBind generator
Pick a key on the keyboard and give it a buy, a grenade or a quick command. Copy the binds or your autoexec.
Economy calculator
Your team's money next round, win or lose: loss bonus, round rewards, plant and kill money, full buy or not.
FACEIT ELO calculator
Your FACEIT level, the ELO to the next level and to level 10, and how many wins that takes.
Resolution calculator
Stretched, black bars or native: the FOV, how much wider models look and the pixels per degree.
Sensitivity converter
Take your aim from Valorant, Apex or 100+ other games to CS2 by 360° distance.
eDPI calculator
Your sensitivity and mouse DPI as one number, to compare with any pro.
Crosshair generator
Build a crosshair with a live preview and copy its share code, or take one from the pros.