Offline Utility Lab

Complete CS2 Practice Server & Grenade Lineup Config (prac.cfg)

Copy-paste CS2 practice server commands featuring Source 2’s live picture-in-picture grenade landing camera, infinite utility, instant smoke clearing, and pop-flash rethrow binds.

CS2 Source 2 Verified Updated November 26, 2026 By Danilo "Kestrel" Reyes 8 min read

Instant One-Line CS2 Practice Setup (Paste Directly Into Console)

Launch any map offline via Play → Practice → Competitive (or type game_type 0; game_mode 1; map de_mirage in console), then paste this entire one-liner to convert the server into a 60-minute unlimited utility lab:

One-Line CS2 Practice Setup (Paste in Console)
sv_cheats 1; bot_kick; mp_limitteams 0; mp_autoteambalance 0; mp_roundtime 60; mp_roundtime_defuse 60; mp_freezetime 0; mp_buytime 9999; mp_buy_anywhere 1; mp_maxmoney 60000; mp_startmoney 60000; sv_infinite_ammo 1; ammo_grenade_limit_total 5; sv_grenade_trajectory_prac_pipreview true; sv_grenade_trajectory_prac_trailtime 15; sv_showimpacts 1; sv_showimpacts_time 10; mp_warmup_end; mp_restartgame 1

Save as Permanent prac.cfg (The Smart Workflow)

Rather than hunting for commands every time you want to practice a new Ancient or Anubis smoke, save the clean file below as prac.cfg inside Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\. Next time you load a map, simply open console and type exec prac:

Save as game/csgo/cfg/prac.cfg
// ============================================================
// CSGOCodex.com — CS2 Smoke, Flash & Wallbang Practice (prac.cfg)
// Save in: ...\Counter-Strike Global Offensive\game\csgo\cfg\prac.cfg
// Run in-game: exec prac
// ============================================================

sv_cheats 1
bot_kick

// Long Round & Zero Economy Limits
mp_limitteams 0
mp_autoteambalance 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_freezetime 0
mp_buytime 9999
mp_buy_anywhere 1
mp_maxmoney 60000
mp_startmoney 60000
mp_respawn_on_death_ct 1
mp_respawn_on_death_t 1

// Infinite Utility & All 5 Grenade Slots
sv_infinite_ammo 1
ammo_grenade_limit_total 5

// CS2 Native Picture-in-Picture Grenade Camera & 3D Trail
sv_grenade_trajectory_prac_pipreview true
sv_grenade_trajectory_prac_trailtime 15
sv_showimpacts 1
sv_showimpacts_time 10

// Spawn With Full Utility Immediately
give weapon_smokegrenade
give weapon_flashbang
give weapon_hegrenade
give weapon_molotov

// Practice-Only Hotkeys (Run "exec autoexec" afterward to restore match binds)
bind "alt" "noclip"
bind "n" "sv_rethrow_last_grenade"
bind "p" "ent_fire smokegrenade_projectile kill; stopsound"
bind "l" "bot_place"

mp_warmup_end
mp_restartgame 1
echo ">>> CSGOCodex prac.cfg active | ALT=noclip | N=rethrow | P=clear smoke | L=place bot <<<"

Deep Breakdown of CS2's Best Practice Commands

CommandWhat It UnlocksPro Training Use Case
sv_grenade_trajectory_prac_pipreview true Opens a live picture-in-picture viewport in the lower-left corner showing the exact resting spot of your grenade before you release the pin. Inventing custom mid-round smokes and checking whether a smoke leaves a gap on Mirage Stairs or Inferno Coffins in real time.
sv_grenade_trajectory_prac_trailtime 15 Renders a bright 3D trajectory arc for 15 seconds after throw. Inspecting where a jumpthrow clips a doorframe, roof trim, or invisible wall clip.
sv_rethrow_last_grenade Re-executes your previous throw from the exact origin position, view angle, and throw strength. Fly into the bombsite with noclip, stand where the CT anchor holds, press N, and watch your own flashbang pop in your face to test blind duration.
ent_fire smokegrenade_projectile kill; stopsound Deletes active volumetric smoke clouds instantly and silences the hiss. Saves hours of waiting 18 seconds between consecutive smoke iterations.
sv_infinite_ammo 1 vs 2 1 = endless magazine + endless grenades with no reload; 2 = realistic magazine reloads with unlimited reserve. Use 1 for utility/wallbang drills; switch to 2 when practicing full-mag recoil recovery.
sv_showimpacts 1 Draws red (client) and blue (server) squares on every bullet impact and wall exit. Confirming wallbang damage paths through Mirage Apartments, Dust 2 Mid Doors, or Nuke Hut.

Using CS2's Built-In Practice Menu vs. prac.cfg

CS2 includes checkboxes for Grenade Camera, Infinite Ammo, and Infinite Warmup right on the Play → Practice sidebar. Why bother with prac.cfg? Because the UI checkboxes do not bind noclip, sv_rethrow_last_grenade, instant smoke clearing (ent_fire), or bot_place — and they still leave you stuck in warmup or short buy timers if you launch via map de_mirage from console.

Troubleshooting Practice Config Issues

  • "Can't use cheat cvar in multiplayer": You tried running exec prac while connected to an official Valve or community server. Disconnect to the main menu, run map de_mirage, and try again.
  • give weapon_molotov does nothing on CT side: CT side uses give weapon_incgrenade. Since mp_buy_anywhere 1 is active, you can also press B anywhere on the map to buy whatever utility you want.
  • How to restore your competitive binds after practice: Always run exec autoexec before queuing Premier so your practice keys (ALT, N, P, L) do not stay bound to offline cheat commands.

Pair this config with our Smoke & Utility Practice Maps guide and Official Console Map Codes to practice every Active Duty map in minutes.

Frequently Asked Questions

How do I check exact wallbang damage against a bot in practice?

Type bot_add_ct; bot_stop 1, point where the defender stands, press L (bot_place), shoot through the wall, and check your console or run sv_regeneration_force_on 1 so the bot heals automatically between test shots.

Why does the grenade preview window not show up for jumpthrows?

The live picture-in-picture preview calculates a standing throw trajectory. For jumpthrows, throw the grenade once and inspect the 15-second 3D trail (sv_grenade_trajectory_prac_trailtime 15) plus fly over with noclip.

Can friends join my offline prac.cfg server?

Yes! Invite friends into your CS2 lobby first, launch via Play → Practice → Competitive, and once loaded run exec prac as the host.

How do I turn off bullet impact boxes without restarting the map?

Type sv_showimpacts 0 in the console.

Danilo "Kestrel" Reyes · Lead CS2 Config Maintainer & Former Amateur IGL

Long-time Counter-Strike player (3,800+ hours across CS:GO and CS2) maintaining live-tested Source 2 console references, crosshair scaling experiments, and Valve-compliant autoexec templates. Editorial & testing process →