- Start up CS:GO
- Turn on your console by going to Options > Advanced -> Enable developer console.
- Join your server
- Open the console. (Normally the ¬ or ` key, to the left of "1")
- Type: rcon_password youradminpasswordhere, and press enter
You now have access to all server/admin commands. Here are some examples:
Common Commands
sv_password Set server password. Leave blank to disable. mp_friendlyfire <0/1> Turn on/off friendlyfire. Default: off changelevel Changes the map
users Displays all users and their IDs
kick <ID> Kick player
Multiplayer
sv_password Set server password. Leave blank to disable. mp_friendlyfire <0/1> Turn on/off friendlyfire. Default: off mp_footsteps <0/1> Turn on/off footsteps. Default: on mp_autoteambalance <0/1>Force clients to auto-join the opposite team if they are not balanced. Default: on mp_autokick <0/1> Kick idle/team-killing players. Default: off mp_flashlight <0/1> Turn on/off the ability for clients to use flashlight. Default: off mp_tkpunish <0/1> Punish TK'ers on next round? Default: on mp_forcecamera <0/1> Force dead players to first person mode, effectively disabling freelook. Default: off sv_alltalk <0/1> Players can hear all other players, no team restrictions. Default: off sv_pausable <0/1> Can the server be paused Default: 0 sv_consistency <0/1> Force cleints to pass consistency check for critical files before joining server? Default: 0 sv_cheats <0/1> Allow cheats on server. Default: 0 sv_gravity <0/1> World Gravity Default: 800 sv_maxvelocity Maximum speed any ballistically moving object is allowed to attain per axis. Default: 3500 sv_unlag <0/1> Enables player lag compensation. Default: 1 sv_voicecodec Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default: vaudio_miles sv_allowupload <0/1> Allow clients to upload their custom decals to the server. Default: 1 sv_allowdownload <0/1> Allow clients to downnload files. Default: 1 sv_maxspeed Maximum speed a player can move. Default: 320 mp_limitteams <0-20> Max # of players 1 team can have over another. Default: 2 mp_hostagepenalty <##> How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5 sv_voiceenable <0/1> Allow clients to use mic. Default: 1 mp_allowspectators <0/1>Allow spectators on the server. Default: 1 mp_chattime <0-120> amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10 sv_timeout <##> After this many seconds without a message from a client, the client is dropped. Default: 65
Rcon Cvars
rcon_password Set rcon passsword. Leave blank to disable rcon sv_rcon_banpenalty <mins> Number of minutes to ban users who fail rcon authentication. Default: 0 sv_rcon_maxfailures <0-20> Max number of times a user can fail rcon authentication before being banned. Default: 10 sv_rcon_minfailures <0-20> Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5 sv_rcon_minfailuretime <1-seconds>Number of seconds to track failed rcon authentications. Default: 30
Round Cvars
mp_freezetime <0-60> Time in seconds to keep players frozen when the round starts. Default: 6 mp_roundtime <1-9> How much time in minutes does a round last. Default: 5 mp_startmoney <800-16000> Amount of money each player gets when they reset (16000 max) Default: 800 mp_c4timer <10-90> The amount of time in seconds before bomb explodes after planted. Default: 45 mp_fraglimit <##> Amount of frags a player can exceed before changing maps. Default: 0 mp_maxrounds <##> Amount of round to play before server changes maps. Default: 0 mp_winlimit <0-20> Max number of rounds one team can win before server changes maps. Default: 0 mp_playerid <0/1/2> Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0 mp_spawnprotectiontime Time in seconds to Kick players who team-kill after round restart. Default: 5
Bandwidth Rates
sv_minrate <0-25000> Min bandwidth rate allowed on server. Default: 0 (unlimited) sv_maxrate <0-25000> Max bandwidth rate allowed on server. Default: 0 (unlimited) decalfrequency Amount of time in seconds a player can spray their decal. Default: 10 sv_maxupdaterate Maximum updates per second that the server will allow. Default: 60 sv_minupdaterate Minimum updates per second that the server will allow. Default: 10
Server logging
log <on/off> Enable server logging? Default: off sv_logbans <0/1> Log server bans in the server logs. Default: 0 sv_logecho <0/1> Echo log information to the console. Default: 1 sv_logfile <0/1> Log server information in the log file. Default: 1 sv_log_onefile <0/1> Log server information to only one file. Default: 0 sv_logsdir Folder in the game directory where server logs will be stored.
SourceTV
tv_enable <0|1> Activates SourceTV on local game server, SourceTV bot will appear as spectator client after next changelevel (master only). tv_name <name> Sets SourceTV name as it appears in server browser and scoreboard (master only). tv_title <text> Sets a SourceTV broadcast title shown in the spectator GUI tv_maxclients <0..255> Sets maximum client number for local SourceTV server/proxy (default 128). tv_stop Stops broadcasting the game via SourceTV. tv_status Shows SourceTV specific information. tv_clients Shows a list of all spectator clients connect to local SourceTV server tv_msg <text> Send a HUD message to all connected SourceTV spectator clients tv_retry Reconnects the SourceTV relay proxy to last known address (relay only). tv_autoretry <0|1> If enabled, SourceTV relay proxies try to reconnect to last known server after connection was lost. tv_timeout <seconds> Sets SourceTV relay proxy connection timeout in seconds. If a connection times out, the relay proxy tries to reconnect automatically. tv_delay <seconds> Source TV broadcast delay in seconds (master only). tv_delaymapchange <0|1> Delays the map change on game server until rest of buffered game has been broadcasted tv_port <port> Set the SourceTV host port (default 27020). Must be set as srcds start parameter. tv_maxrate <bytes> Sets the maximum bandwidth spend per client in bytes/second (default 5000) tv_snapshotrate <n> Sets world snapshots broadcasted per second by SourceTV (master only). tv_password <password> Sets required password for connecting spectators. tv_relaypassword <password> Sets required password for connecting relay proxies. tv_record <filename> Starts a SourceTV demo recording that records all entities & events (master only) tv_stoprecord Stops SourceTV demo recording (master only) tv_autorecord <0|1> Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem tv_debug <0|1> Shows additional debugging messages tv_dispatchmode <0|1|2> Sets Source client dispatch mode for connecting clients: 0=never, 1=if appropriate, 2=always tv_overrideroot <0|1> Overrides the master IP broadcast to spectators with a local IP. tv_relayvoice <0|1> If enabled, allow player voice chat if broadcasted (master only) tv_transmitall <0|1> By default entities and events outside of the auto-director view are removed from SourceTV broadcasts to save bandwidth. If tv_transmitall is enabled, the whole game is transmitted and spectators can switch their view to any player they want. This option increases bandwidth requirement per spectator client by factor 2 to 3. tv_chattimelimit <seconds> Limits spectators to chat only every n seconds tv_chatgroup <name> Allows spectators to choose their chat group. If no name if given the current chat group is shown (client only) tv_nochat <0|1> Disables other spectators chat lines (client only) tv_allow_static_shots <0|1> Allows auto-director to choose fixed camera shots (master only) tv_allow_camera_man <0|1> Allows spectator clients on game server to become SourceTV camera men (master only)Order your CS:GO server now here