RCON commands Introduction

RCON stands for "Remote Control". Rcon gives total control over your server. It is a very powerful tool, so we suggest only giving the rcon password to those people that you completely trust. To use Rcon, login by typing the following command, replacing "yourpassword" with the Rcon password on your server.

rcon_password yourpassword

Remember - You must type rcon in front of any rcon command you are using!

For example:

rcon say hello world

Task Syntax Description
RCON Login rcon_password yourpassword Login to rcon with your rcon password to gain access to all the rcon commands.
Change Level changelevel map_name This command allows you to change the map.
Status users Lists the current players names with id and wonid.
Kick Player Name kick name If you need to kick a player replace name with the players name.
Kick Player ID kickid #number If you need to kick a player replace number with the players number.
Ban Player ID banid time #number If you need to ban a player replace time with the amount of time you would like to ban them.
Server Password sv_password password To password protect the server replace password with the games password.
Restart Game sv_restart Resarts the map, both teams scores are reset
Restart Round sv_restartround time Resart the round, replace time with a value upto 10.
Frienly Fire mp_friendlyfire number Replace number with 1 to turn friendly fire on or 0 to turn it off.
Chase Cam mp_forcechasecam number Replace number with 1 to force chase cam mode or 0 to disable it.
Round Limit mp_roundlimit number Replace number with the amount of rounds before the level changes.
Round Time mp_roundtime number Replace number with a time in minutes - normally 5 (3-15 allowed).
Time Limit mp_timelimit number Replace number with the time in minutes for each map - 0 = no time limit.
Say something though server say text Sends a message from the server admin to the screen which all players can read. replace text with the message.
Color Message cm_say @@r text 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.
Restart Server quit Restarts your server
Excute CFG rcon exec name Exectute any configurations that you have saved in a file.
Deatailed Log mp_logdetail x 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.
Player ID mp_playerid x 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.
Fading mp_fadetoblack x 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.
Spectators allow_spectators x Setting to 1 will allow spectators, while 0 will disallow them. These are non-playing spectators, not dead people.
Team Killer Banning 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'.
Team Balancing mp_autoteambalance x 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'.
Hear Footsteps mp_footsteps x This variable is defaulted to 1. Toggles footstep sounds - Setting of 1 = 'on', and 0 = 'off'.
Number of more players on team can have over another mp_limitteams x 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.
Log Chat Messages mp_logmessages x This variable is defaulted to 1. Toggles logging of chat messages in the log files - Setting of 1 = 'on', and 0 = 'off'.
Map Vote Ration 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.
Use Flashlights mp_flashlight x This variable is defaulted to 1. Toggles the use of flashlights by clients - Setting of 1 = 'on', and 0 = 'off'.
Idle Kicker mp_autokick x Autokicks an idling person 1 is on, 0 is off
Auto Balance Teams mp_autoteambalance x Trys to even the number of people on each team
Player Speed Sprinting sv_maxspeed 320 Maximum speed a player can move
Enable Voice sv_voiceenable x Allows clients to use their mics 1 is on, 0 is off
All Talk sv_alltalk # Toggles team only or entire server mic chat, 1 is on, 0 is off

Commands to limit Classes

Task Syntax Description
ALLIES CLASSES
Limit Allies Assult mp_limit_allies_assault Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Allies MG mp_limit_allies_mg Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Allies Rifleman mp_limit_allies_rifleman Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Allies Rocket mp_limit_allies_rocket Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Allies Sniper mp_limit_allies_sniper Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Allies Support mp_limit_allies_support Default -1 (Limit OFF), 0-30 (Limit ON)
AXIS CLASSES
Limit Axis Assault mp_limit_axis_assault Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Axis MG mp_limit_axis_mg Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Axis Rifleman mp_limit_axis_rifleman Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Axis Rocket mp_limit_axis_rocket Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Axis Sniper mp_limit_axis_sniper Default -1 (Limit OFF), 0-30 (Limit ON)
Limit Axis Support mp_limit_axis_support Default -1 (Limit OFF), 0-30 (Limit ON)