Start a local server (Play → Practice, or type map de_mirage in the console), then paste the one-line config below into the console and press Enter. It turns on cheats, ends warmup, gives you money and infinite ammo, keeps the round from ending, and draws grenade trails.
The practice config
To paste straight into the console, use this version: every command on one line, separated by semicolons. Copy it, paste it into the console, and press Enter.
sv_cheats 1;bot_kick;mp_warmup_end;mp_limitteams 0;mp_autoteambalance 0;mp_maxmoney 60000;mp_startmoney 60000;mp_buytime 9999;mp_buy_anywhere 1;mp_freezetime 0;mp_roundtime 60;mp_roundtime_defuse 60;mp_ignore_round_win_conditions 1;mp_respawn_on_death_ct 1;mp_respawn_on_death_t 1;sv_infinite_ammo 1;ammo_grenade_limit_total 5;sv_grenade_trajectory_prac_pipreview 1;sv_grenade_trajectory_prac_trailtime 8;sv_showimpacts 1;sv_showimpacts_time 10;mp_restartgame 1
The same config, one command per line, for saving as a file you can load with one command (see saving it as a cfg):
sv_cheats 1 bot_kick mp_warmup_end mp_limitteams 0 mp_autoteambalance 0 mp_maxmoney 60000 mp_startmoney 60000 mp_buytime 9999 mp_buy_anywhere 1 mp_freezetime 0 mp_roundtime 60 mp_roundtime_defuse 60 mp_ignore_round_win_conditions 1 mp_respawn_on_death_ct 1 mp_respawn_on_death_t 1 sv_infinite_ammo 1 ammo_grenade_limit_total 5 sv_grenade_trajectory_prac_pipreview 1 sv_grenade_trajectory_prac_trailtime 8 sv_showimpacts 1 sv_showimpacts_time 10 mp_restartgame 1
mp_restartgame 1 goes last on purpose: the money and round settings only take effect once the round restarts.
How to start a practice server
- Turn on the console. Settings → Game → Enable Developer Console (~) → Yes. The console opens with ~.
- Load a map. Either go to Play → Practice and pick the map, or open the console and type
map de_mirage(orde_inferno,de_dust2,de_ancient,de_anubis,de_nuke,de_cache). Valve's September 10, 2024 notes confirm both routes start the same kind of local server. - Paste the one-line config into the console and press Enter.
Workshop maps block most of these commands. Since the January 30, 2026 update, community and workshop maps only allow a short list of console commands. Practice on the official maps, or add the launch option -disable_workshop_command_filtering.
Useful binds
These need sv_cheats 1. Swap the keys for any you don't already use.
bind "n" "sv_rethrow_last_grenade" bind "v" "noclip" bind "m" "ent_fire smokegrenade_projectile kill;stopsound"
- N throws your last grenade again from the same spot, so you can watch where it lands without walking back.
- V toggles noclip, so you can fly to the landing spot and back.
- M removes every active smoke and cuts the smoke sound.
Every command explained
Setup and teams
| Command | What it does | Default |
|---|---|---|
sv_cheats 1 | Allows cheat commands such as noclip, rethrow and infinite ammo. Needed for most of this page. | 0 |
bot_kick | Removes all bots. Add t or ct to kick one team only. | — |
mp_warmup_end | Ends warmup straight away. | — |
mp_limitteams 0 | Lets the teams be any size. | 2 |
mp_autoteambalance 0 | Stops the game moving you to the other team. | 1 |
mp_restartgame 1 | Restarts the game after 1 second, applying the settings above. | — |
Money and buying
| Command | What it does | Default |
|---|---|---|
mp_maxmoney 60000 | The most money a player can hold. | 16000 |
mp_startmoney 60000 | Money you start with after a restart. | 800 |
mp_buytime 9999 | Seconds after round start that buying stays open. | 90 |
mp_buy_anywhere 1 | Buy from anywhere on the map. 2 is T only, 3 is CT only. | 0 |
Rounds and respawning
| Command | What it does | Default |
|---|---|---|
mp_freezetime 0 | No frozen countdown at round start. | 6 |
mp_roundtime 60 | Round length in minutes. | 5 |
mp_roundtime_defuse 60 | Round length on bomb maps, which overrides mp_roundtime when set. | 0 |
mp_ignore_round_win_conditions 1 | The round never ends, even if a team dies or the bomb explodes. | 0 |
mp_respawn_on_death_ct 1mp_respawn_on_death_t 1 | Respawn straight away after dying, per team. | 0 |
Grenades and ammo
| Command | What it does | Default |
|---|---|---|
sv_infinite_ammo 1 | You never run out of ammo or grenades and never reload. 2 gives infinite spare ammo but you still reload. | 0 |
ammo_grenade_limit_total 5 | How many grenades you can carry at once. | 3 |
sv_grenade_trajectory_prac_trailtime 8 | Draws the flight path of each grenade and keeps it on screen for 8 seconds. | 0 |
sv_grenade_trajectory_prac_pipreview 1 | Shows a picture-in-picture camera at the landing spot while you hold a grenade. Since November 2024 it shows a jump throw while you hold jump. | 0 |
sv_rethrow_last_grenade | Throws the last grenade thrown on the server again. Needs sv_cheats 1. | — |
ent_fire smokegrenade_projectile kill | Removes every active smoke. Needs sv_cheats 1. | — |
give weapon_smokegrenade | Gives you an item. Also weapon_flashbang, weapon_hegrenade, weapon_molotov, weapon_incgrenade, weapon_decoy. Since December 2024 it drops what you're holding if that slot is taken. | — |
Movement and position
| Command | What it does | Default |
|---|---|---|
noclip | Fly through walls. Run it again to turn it off. Needs sv_cheats 1. | — |
god | You can't take damage. Needs sv_cheats 1. | — |
getpos | Prints your position and view angles to the console, so you can note down a throw spot. | — |
setpos / setang | Moves you to a position and points your view at exact angles. Needs sv_cheats 1. | — |
cl_showpos 1 | Shows your position and speed on screen. 2 also shows jump height. | 0 |
sv_showimpacts 1 | Marks where bullets hit. sv_showimpacts_time 10 keeps the marks for 10 seconds. | 0 |
Bots
| Command | What it does | Default |
|---|---|---|
bot_add_t / bot_add_ct | Adds a bot to that team. | — |
bot_place | Puts a bot where you're aiming. Handy for checking whether a flash or smoke covers a spot. Needs sv_cheats 1. | — |
bot_stop 1 | Bots stop moving and thinking. Needs sv_cheats 1. | 0 |
bot_freeze 1 | Bots can't move. Needs sv_cheats 1. | 0 |
Old commands that don't work in CS2
Many practice configs still copy these from CS:GO. They aren't in CS2 builds, so the console just ignores them:
sv_grenade_trajectory→ usesv_grenade_trajectory_prac_trailtime 8sv_grenade_trajectory_time→ usesv_grenade_trajectory_prac_trailtimecl_grenadepreview→ usesv_grenade_trajectory_prac_pipreview 1
If your old config seems half-broken, these are usually why. Lineups can also shift after updates: Valve's April 1, 2026 notes warned that "grenade lineups on sloped surfaces may have changed".
Save it as a cfg file
- Open your CS2 folder:
Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\. The folder still has the CS:GO name. - Create a text file called
practice.cfgand paste in the config (and the binds, if you want them). - Load a map, open the console and type
exec practice.
FAQ
What is the grenade trajectory command in CS2?
sv_grenade_trajectory_prac_trailtime 8 draws the path for 8 seconds, and sv_grenade_trajectory_prac_pipreview 1 adds the landing-preview camera. The CS:GO command sv_grenade_trajectory doesn't exist in CS2.
How do I rethrow a grenade?
With sv_cheats 1 on, run sv_rethrow_last_grenade, or bind it: bind "n" "sv_rethrow_last_grenade".
How do I clear smokes?
With sv_cheats 1 on, run ent_fire smokegrenade_projectile kill. Add ;stopsound to cut the sound too.
Which infinite ammo setting should I use?
sv_infinite_ammo 1: you never run out and never reload, which suits grenade practice. 2 keeps reloading but gives infinite spare ammo, which suits spray practice.
Why don't the commands work on my workshop map?
Since January 30, 2026, workshop maps only allow a short list of console commands. Use an official map, or launch CS2 with -disable_workshop_command_filtering.
Can I use these in matchmaking?
No. They only work on a server you control, such as a local Practice game. sv_cheats can't be turned on in official matches.
Skip the config.
nades.gg is a new CS2 grenade tool. Beta signups are open.
If you're that eager, reach out to [email protected] and set up an interview ;)
Or join the Discord.