How to send commands to the server
Server commands (the cvars starting with sv_, mp_, bot_) must be run by the server. There are two ways:
- RCON console in the CSHost panel: open the console in your browser and send the command. Nothing to install and no RCON password to type in the game.
- Config file: save the commands in a cfg with the config editor and the server runs them when the file loads.
Player commands such as noclip are typed by each player in their own CS2 console, with the server on sv_cheats 1.
Copy-ready practice commands
These are CS2’s own commands. Send them through the panel’s RCON console, one block at a time: each block is a single line, with the commands separated by ;.
sv_cheats 1; sv_infinite_ammo 1; ammo_grenade_limit_total 5; mp_warmup_endsv_grenade_trajectory_prac_pipreview 1; sv_showimpacts 1mp_roundtime_defuse 60; mp_freezetime 0; mp_buytime 9999; mp_buy_anywhere 1; mp_maxmoney 60000; mp_startmoney 60000; mp_restartgame 1bot_kicknoclipThe panel console refuses commands that touch passwords, ports, GOTV and the server process: those cvars are controlled by CSHost.
Suggested smoke practice routine
Start practice
Send the command blocks above through the RCON console.
Split the map
Each player owns the grenades for one area: A site entry, B site, mid.
Throw and check
With the trajectory on screen, each player repeats the grenade until it lands right.
nocliphelps to check it up close.Execute together
At the end, the team throws every grenade of the execute in sequence, the way it will go in the match.
In Competitive mode, MatchZy has its own practice mode (.prac, for admins) with commands such as .rethrow, .savenade and .clear.
Save your practice config (and switch back to the match one)
Instead of sending everything again every session, save the commands in a file with the panel’s config editor. Every save becomes a version in the history: if something goes wrong, roll back in one click.
cfg/server.cfg: applies in every mode.cfg/MatchZy/prac.cfg: the config of MatchZy’s practice mode, in Competitive mode.
Practice over? sv_cheats 0 and mp_restartgame 1 from the console, or restart the server from the panel to go back to your saved config.
Connect command and passwords
For your team to join, use the connect command from the panel, which already carries the IP, port and password:
connect 203.0.113.10:27015; password SERVER_PASSWORDThe server, RCON and GOTV passwords are in the panel: reveal them or generate new ones anytime.
Quick questions
Can the whole team practice smokes at the same time?
Yes. With sv_cheats 1 and grenades unlocked, everyone practices on the same server at the same time, each in their own area of the map.
Does the server shut down if we stand still practicing?
Only if it is empty. The server hibernates after 20 minutes without real players (bots and GOTV do not count) and turns back on from the panel.
Why was a command refused in the panel console?
Some cvars are controlled by CSHost, such as passwords, ports and GOTV, and the console refuses commands that shut down or restart the server process. To restart, use the panel button.
Do I need the RCON password to use the panel console?
No. You open the console in the panel, already signed in to your CSHost account, and send the command straight to the server.
Do practice commands stay on after a restart?
Commands sent through the console do not: on restart, the server loads the saved config. To keep them, save them in server.cfg with the config editor.
Keep reading
- MatchZy: commands and match flowThe commands your team uses in a scrim (.ready, .pause, .tech, .stay) and how a MatchZy match starts.Read the guide
- CS2 GSLT tokenThe free Steam code every CS2 dedicated server needs. Requirements, App ID 730 and the step by step.Read the guide
Ready to play? See how to rent a private CS2 server at CSHost or check the CS2 server price for 1, 7, 30 or 90 days.
