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 1

End the warmup

Starts the round straight away.

mp_warmup_end

Any team

No team limits and no autobalance, so you can join either side.

mp_limitteams 0; mp_autoteambalance 0

Long rounds

Round time in minutes, up to 60, on bomb and hostage maps.

mp_roundtime 60; mp_roundtime_defuse 60; mp_roundtime_hostage 60

No freeze time

Move as soon as a round starts.

mp_freezetime 0

Rounds never end

Kills, a plant or a defuse no longer end the round.

mp_ignore_round_win_conditions 1

Money and buying

Buy anywhere, any time

The buy menu works outside the buy zone for the whole round.

mp_buy_anywhere 1; mp_buytime 9999

Money

Start money, the money cap and a refill after every round.

mp_maxmoney 60000; mp_startmoney 60000; mp_afterroundmoney 60000

Free armor

Kevlar and helmet at every spawn.

mp_free_armor 2

Grenades and shooting

Infinite ammo

The weapon in your hands never runs out of ammo.

sv_infinite_ammo 1

Carry every grenade

Five grenades at once instead of the match limit of four.

ammo_grenade_limit_total 5

Grenade trajectory

Draws each grenade's flight path, for up to 8 seconds.

sv_grenade_trajectory_prac_trailtime 8

Landing preview

A picture-in-picture window shows where the grenade will land before you throw.

sv_grenade_trajectory_prac_pipreview 1

Bullet impacts

Marks where your bullets hit, for up to 10 seconds.

sv_showimpacts 1; sv_showimpacts_time 10

Players and bots

Respawn

Both teams respawn right after dying.

mp_respawn_on_death_t 1; mp_respawn_on_death_ct 1

Kick the bots

An empty server for lineups.

bot_kick

Freeze the bots

Bots stand still: targets for prefires and flashes. Turn off kicking to keep them.

bot_stop 1

Show position

Your coordinates and view angles at the top of the screen, for exact lineups.

cl_showpos 1

Practice 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"
17 settings

Where the file goes

…\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\practice.cfg

Then open the console on your server and type exec practice.

How to use the practice config

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

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

  3. 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:GOCS2
sv_grenade_trajectory 1sv_grenade_trajectory_prac_trailtime 8
sv_grenade_trajectory_time 10sv_grenade_trajectory_prac_trailtime 8
cl_grenadepreview 1sv_grenade_trajectory_prac_pipreview 1
r_cleardecalsRemoved, 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 tools