Skip to content

RCON Commands

Héctor A edited this page Feb 2, 2020 · 1 revision
Server Side Commands Task Description
rcon_password password Change RCON Pass Replace password with the rcon server password to gain access to all the rcon commands.
changelevel map_name Change Level This command allows you to change the map.
users Status Lists the current players names with id and wonid.
kick name Kick Player Name If you need to kick a player replace name with the players name.
kick #number Kick Player ID If you need to kick a player replace number with the players number.
banid time #number Ban Player ID If you need to ban a player replace time with the amount of time you would like to ban them
sv_password password Server Password To password protect the server replace password with the games password.
sv_restart time Restart Game Resart the game, both teams scores are reset as is money. replace time with a value upto 10.
sv_restartround time Restart Round Resart the round, replace time with a value upto 10.
mp_friendlyfire number Frienly Fire Replace number with 1 to turn friendly fire on or 0 to turn it off.
mp_forcechasecam number Chase Cam Replace number with 1 to force chase cam mode or 0 to disable it.
mp_roundlimit number Round Limit Replace number with the amount of rounds before the level changes.
mp_roundtime number Round Time Replace number with a time in minutes - normally 5 (3-15 allowed).
mp_timelimit number Time Limit Replace number with the time in minutes for each map - 0 = no time limit.
say text Say something though server Sends a message from the server admin to the screen which all players can read. replace text with the message.
cm_say @@r text Color Message Sends a color message to the centre of the screen. replace r which is red with g for green y for yellow etc. replace text with the message.
quit Restart Server Restarts your server
mp_startmoney x Staring Money This integer value controls the amount that players start with at the beginning of a new map or when they join a server. 800 is the default and the minimum value, while 16000 is the maximum.
mp_logdetail x Deatailed Log Use this bitwise svar to control the depth of your logs. Be warned, these options can eat away hard drive space and CPU cycles. Use 0, the default, to log no attacks, 1 to log enemy attacks, 2 to log teammate attacks, and 3 to log both.
 
mp_playerid x Player ID This variable controls what players see when they put their crosshair over an enemy, a hostage, or a teammate. At 0 (the default), the player see's all popups with team colors. At 1, the player sees their teammates and hostages, with team colors. At 2, players see no popups.
mp_fadetoblack x Fading This is also to combat ghosting, but is more harsh. 0 will have no affect on the game, while 1 will disable chasecam and any sort of death cam at all. The client's screen fades to black instantly after death. One boon of this setting is that corpses stay around for the entire round. Useful for clan matches.
mp_buytime x Buying Time A floating point (decimal) value to determine the buy time in minutes. E.g., '1.25' equals one minute and fifteen seconds of buy time (this is not the pause, but the time where it is legal to purchase stuff). The minimum value is 0.25 and there is no maximum.
mp_winlimit x Win Limit This, of course, is an integer (whole number). When a team reaches this amount of wins (before the timelimit or the roundlimit is reached), it has won the map. 0, or disabled, is the default.
 
allow_spectators x Spectators Setting to 1 will allow spectators, while 0 will disallow them. These are non-playing spectators, not dead people.
mp_autokick x Team Killer Banning This variable is defaulted to 1. Toggles automatic team-killer banning and kicking of idle clients - Setting of 1 = 'on', and 0 = 'off'.
mp_autoteambalance x Team Balancing This variable is defaulted to 1. Toggles the forcing of clients to join teams to make it balanced - Setting of 1 = 'on', and 0 = 'off'.
mp_c4timer x Bomb Timer This variable is defaulted to 45. Sets the amount of time in between C4 placement and its explosion - ranges between 15 and 90 seconds.
 
mp_flashlight x Use Flashlights This variable is defaulted to 1. Toggles the use of flashlights by clients - Setting of 1 = 'on', and 0 = 'off'.
mp_footsteps x Hear Footsteps This variable is defaulted to 1. Toggles footstep sounds - Setting of 1 = 'on', and 0 = 'off'.
mp_freezetime x Freeze Players For Buying This variable is defaulted to 6. Sets the amount of "freeze" time at the beginning of each round to buy weapons and equipment - Use a setting of '0' to disable.
mp_hostagepenalty x Hostage Kill Kicking This variable is defaulted to 0, or disabled. Sets the number of hostages a player can kill before they are booted from the server.
mp_limitteams x Number of more players on team can have over another This variable is defaulted to 2. Sets the maximum number of players that one team can have more than the other team - Use a setting of '0' to completely disable the team limiting.
mp_logmessages x Log Chat Messages This variable is defaulted to 1. Toggles logging of chat messages in the log files - Setting of 1 = 'on', and 0 = 'off'.
mp_mapvoteratio x Map Vote Ration This variable is defaulted to 0.6. Set the ratio of players required to vote on the same map before a map will change. The default is 0.6 , which means that 60% of the players on a server must vote on the same map in order for the server to change to that map. The range is 0.0-1.0.
mp_kickpercent x Kick Vote Ration This variable is defaulted to 0.66. Set the ratio of players on someone's team required to vote to kick the "someone." The default is 0.66, which means that 66% (2/3rds) of the players on his team must vote him off in order for him to be kicked. The range is 0.0-1.0.
mp_tkpunish x Team Kill Punishing This variable is defaulted to 1. Toggles the forcing of a player to sit out the next round if he has just killed a teammate - Setting of 1 = 'on', and 0 = 'off'.
Clone this wiki locally