CS2 Practice Config
A ready-to-paste config for offline practice servers — infinite ammo, buy anywhere, no round end and grenade trajectories. These require sv_cheats and only work on your own offline server.
Offline only — read this first
Every command below depends on sv_cheats 1. They will not apply on official matchmaking, FACEIT or any server you don’t control — the server simply ignores them. Use this on a local game started from the in-game “Practice” / “Workshop” menu, or via map de_dust2 in your own console with cheats on.
The practice config
Save this as practice.cfg in your csgo/cfg folder and run exec practice in the console once you’re on an offline map:
sv_cheats 1— enables every command below.sv_infinite_ammo 1— no reloading; great for spray and recoil work.ammo_grenade_limit_total 5— carry all grenade types at once.mp_buy_anywhere 1andmp_buytime 9999— buy from anywhere, any time.mp_maxmoney 60000andmp_startmoney 60000— full wallet for testing buys.mp_roundtime 60,mp_roundtime_defuse 60andmp_freezetime 0— long rounds, no freeze.mp_warmup_endandmp_restartgame 1— apply the settings and reset.sv_grenade_trajectory_prac 1— draws the flight path of grenades you throw.sv_showimpacts 1— shows where shots land (red = server, blue = client).bot_kick— clears bots so you have the server to yourself.
Handy extras
For nade practice, noclip (bound to a key) lets you fly to check lineups, and god makes you invulnerable. Pair this with the jumpthrow and clear-decals binds for a complete practice setup.
Back to matchmaking
None of these stick to your normal play — they only exist while sv_cheats is on. Your everyday settings belong in your autoexec.cfg, which runs on every server. Keep the two files separate so you never accidentally exec practice commands in a real match.