CS2 Practice Server Commands
Published
Set up a local or private server with sv_cheats 1 and these commands cover most of
what you need to practice lineups, retakes, or aim without interruptions.
Enabling cheats
sv_cheats 1
Required before most of the commands below will do anything. Only works on servers you control (local server, private lobby, or a community practice server that already has it enabled) — it does nothing on matchmaking or Premier.
Round and timer control
mp_roundtime 60— sets the round length in minutes so you're not rushed practicing a lineup and don't have to keep restarting rounds.mp_freezetime 0— removes the freeze time at the start of each round so you can move and buy immediately.mp_restartgame 1— restarts the match after 1 second, useful for resetting everything (money, round state) after changing settings.
Ammo and utility
sv_infinite_ammo 1— your magazine never depletes: no reloading, and grenades don't run out either. Best for pure lineup grinding. Use2instead if you want unlimited reserve ammo but with normal reloads — closer to real match pacing.cl_grenadepreview 1— shows the grenade's live arc and landing spot while you hold the throw. Extremely useful while you're still learning a lineup's exact angle and timing.sv_rethrow_last_grenade— instantly rethrows your last grenade from the same spot, so you can repeat a lineup rapid-fire while you dial in the exact position instead of re-buying and re-throwing manually each time.
Bots and movement
bot_kick— removes all bots from the server. Run this first if you loaded a map with bots and want an empty server to move around in.noclip— fly through walls and geometry freely. Useful for checking a lineup's landing spot from angles you can't normally reach, or for getting to a spot quickly to check sightlines.
Ready-to-use autoexec block
Drop this into a config file (e.g. practice.cfg in your cfg folder) and run
exec practice.cfg from the console on a local server:
sv_cheats 1
mp_roundtime 60
mp_freezetime 0
sv_infinite_ammo 1
mp_restartgame 1
bot_kick
Add cl_grenadepreview 1 to the block if you want the trajectory preview always on, and
bind sv_rethrow_last_grenade to a key (bind "KEY" "sv_rethrow_last_grenade") — repeating
a throw on a single press is the fastest way to dial in a lineup.