How to Set Up a Practice Server in Counter-Strike 2
Configure your CS2 server for nade practice with infinite ammo, grenade trajectories, impact markers, and unlimited buy time.
A practice config is a .cfg file you can exec to instantly switch your server into a nade-lineup / aim-training environment. Anything that needs sv_cheats 1 (impacts, trajectories, noclip) lives here.
Create the Practice Config
Stop the server, then click Files in the XGamingServer Panel.
Navigate to game/csgo/cfg/. Create a new file called practice.cfg.
Paste the config below and save:
// CS2 Practice Server Config
sv_cheats 1
mp_warmup_end
mp_freezetime 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_maxmoney 60000
mp_startmoney 60000
mp_buytime 9999
mp_buy_anywhere 1
mp_respawn_on_death_t 1
mp_respawn_on_death_ct 1
// Infinite ammo + no recoil for lineups
sv_infinite_ammo 1
ammo_grenade_limit_total 5
ammo_grenade_limit_flashbang 2
// Nade visualisation
sv_grenade_trajectory_prac_pipreview 1
sv_grenade_trajectory_dash 1
sv_showimpacts 1
sv_showimpacts_time 10
// QoL
sv_alltalk 1
mp_limitteams 0
mp_autoteambalance 0
mp_solid_teammates 0
bot_kick
// Restart
mp_restartgame 1Start the server. In-game, open console and run:
exec practiceUseful In-Game Commands After Loading
| Command | Description |
|---|---|
noclip | Toggle fly mode (sv_cheats required) |
god | Invincibility |
give weapon_hegrenade | Spawn an HE in your hand |
give weapon_smokegrenade | Spawn a smoke |
give weapon_flashbang | Spawn a flash |
give weapon_molotov | Spawn a molotov |
mp_restartgame 1 | Reset the round |
bot_place | Place a bot at your crosshair |
Switching Back to Match Play
Run exec server.cfg (or your normal mode config) to drop sv_cheats and reset to competitive settings, then mp_restartgame 1.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Counter Strike 2 server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server