Commands in this category can be used to change server and host settings like IP addresses, query settings, etc. They're useful in private servers, dedicated servers and for use as rcon commands.
How to Use CS:GO & CS2 Commands
First, turn on the developer console. Go to Settings > Game Settings and switch "Enable Developer Console" to Yes.
Press the ` or ~ key on your keyboard to open the console.
Type in a command, or copy it from here, hit ENTER, and you’re good to go!
Runs the garbage collector on the server to detect and manage unreachable reference cycles, helping with debugging and optimization. This cheat-protected command is intended for development and testing environments.
Enable or disable all script trace outputs to see detailed information about script execution. This server-side command requires cheat mode to be enabled and helps with debugging.
Casts a ray from the player's position and triggers a sound at the first point it hits on an object or terrain. The sound repeats periodically while the command is active. Used for testing and development on the server side.