RCON
Remote Connection and Administration. RCON is the protocol used by Urban Terror to adminster the game. RCON has several features that are very helpful.
- You can manage your players directly.
- You can change and manage game settings directly as well.
Introduction:
All rcon commands match the following format:
/rcon "command" [parameters]
Where "command" is what you want to perform, and [parameters] is replaced with any additional information required for the command to run.
Access
Before you can use RCON to change game settings you must first have a game server that you have legitimate ADMIN access too. This means you must be running a server. If you have a server and it is yours or you are allowed to access this, you will have created or been given an RCON password and port number. You are required to input your RCON password (and port number) BEFORE you can execute any RCON commands.
There are at least 3 ways to access RCON.
- The in-game GUI
- The in-game Console
- A remote connection (like telnet) using the RCON protocol. (This can be used by websites and other utilites that can access the site.)
To input your password into the in-game GUI put it here:

To input your password via the in-game console type:
/rconpassword *****
Where ***** is replaced with the apropriate RCON password. Once you have input your password you can continue.
If you need to specify an alternate Address:Port you can do so with the command:
/rconAddress 192.168.1.14:3360
Where the IP address and port are replaced with the information required.
Player managment commands
/rcon status
This command provides you with a quick break down of "who" is on your server, and the current map. Here is a sample of what is returned:
]/rcon status
map: ut4_casa
num score ping name lastmsg address qport rate
--- ----- ---- --------------- ------- --------------------- ----- -----
0 0 10 Taggedzi{DKMs} 0 192.168.1.12:53039 9993 15000
This says "who" is connected and gives basic information about the game status. An important thing to remember here is the player "num" located all the way to the left. This is the number you need to refer to inorder to perform an action on a player via RCON. So in this case I am player 0 (that is the number zero).
Going forward in this article, I will use the following indicators:
- [NUM] = the Player number (from /rcon status above)
- [NAME] = the Players name (like "Taggedzi{DKMs}")
- [IP_ADDRESS] = the players IP address as specified by rcon.
- [USER] = Either the number or the name can be used.
Crime and Punishment... for fun and money.
Ok so I assume you want to know the RCON commands to deal with something specific, and ussually it is a BAD player, or a cheating player, etc. Well this section is just for that type of information:
clientkick
/rcon clientkick [NUM]
This kicks the current player #. Where # equals the player number shown by the rcon status (see above).
slap
/rcon slap [USER]
This "slaps" a user and puts "big text" one th screen from the admin to all players.
nuke
/rcon nuke [USER]
This "nukes" a player. A shell falls from the sky and tries to hit the player. IF a player moves fast they can avoid a nuke... however they have to keep moving relatively fast to do so. (This is really good to stop campers :)
Ok if you want to go beyond those, you have on other option. BANNING. IF the server is configured to use bans (set filterban 1), THEN you can ban a player by IP address.
/rcon addIP [IP_ADDRESS]
This will add the IP to the list of banned addresses, and they will not be able to access the game from that IP again. If you accidentally ban someone's IP, or you decide to REMOVE a ban you can do so with this command:
/rcon removeIP [IP_ADDRESS]
DO NOT BAN YOUR OWN IP!
Listen to what I tell you....
There are times that you just want to tell someone to do something (like stop cheating, talking, camping, team killing etc...) Here are the commands to help you:
say
/rcon say "Message Goes here.."
This will type a message in the message window from [console]. You can use colors here if you want :)
bigtext
/rcon bigtext "Message Goes Here...."
This will put a BIG message in the center of the screen of ALL connected players with your message. Colors can be used.
Do it now... or I will make you...
Ok for those players who cannot listen... here are some commands to help "force" some behaviors.
mute
/rcon mute [USER] [SECONDS]
This mutes all "talking" or "messages" from a player for the number of seconds you specify (this stops them from talking to ANYONE in the game not just you.). This is great for those who just can't seem to shut up.
forceteam
/rcon forceteam [USER] [TEAM]
This forces a player to change to the specified team (I think "red" or "blue" are the only options here...). This can only be used in game types that have "teams". This is good for splitting up clans or keeping certain players from "stacking" teams.
shuffle
/rcon shuffle
This handy command forces everyone in the game to "swap" teams. This is nice in maps that have an advantage for a particular team...
pause
/rcon pause
I have never seen this used in game... but I suppose it could be handy... you can pause ALL players in game instantly with this command, and they will stay paused until you release them.
Server and map managment
RCON also has the ability to change almost any of the server settings (in the server config.) Here are a few useful commands that you can set with RCON.
gravity
/rcon g_gravity #
This changes the gravity for a game. The default is 800. (100 is about moon gravity...)
g_gametype
/rcon g_gametype #
This changes the game type to the following where # is the number option of the game type you would like:
8 = bomb (bomb)
6 = c&h (capture and hold)
7 = ctf (capture the flag)
0 = ffa (free for all)
5 = ftl (follow the leader)
3 = tdm (team death match)
4 = team survivor
Here is a list of other "handy" commands I have had questions on, This is by no means exhaustive, but is a list of commands that is nice to have access to in RCON some times. (these are all used with "/rcon set command [option]" format. Some of them may require the server to restart.)
set timelimit "20" // Time in minutes before map is over, 0=never. (Default 20)
set fraglimit "10" // Amount of points to be scored before map is over, 0=never. (Default 10)
set capturelimit "0" // Amount of flagcaps before map is over, 0=never. (Default 0)
set g_warmup "15" // Time in seconds before game starts when changed to a new map. This gives slower computers time to load before game starts. (Default 15)
set g_respawnDelay "8" // Seconds before respawn, ignored when g_waverespawns is 1. (Default 8)
set g_forcerespawn "20" // Seconds before respawn is forced, even when plater did not press fire. (Default 20)
set g_waverespawns "0" // Use waverespawns, meaning everybody in a team respawns at the same time. (Default 0)
set g_bluewave "15" // Seconds between blue wave respawns, ignored when g_waverespawns is 0. (Default 15)
set g_redwave "15" // Seconds between red wave respawns, ignored when g_waverespawns is 0. (Default 15)
set g_respawnProtection "2" // Amount of seconds a spawning players is protected from damage. (Default 2)
set g_friendlyFire "1" // 0=no friendlyfire and 1=friendlyfire on, kick after too many TK's 2=friendlyfire on, no kicks. (Default 1)
set g_maxteamkills "3" // Amount of team kills before you get kicked when friendlyfire is 1. (Default 3)
set g_teamkillsforgettime "300" // Amount of seconds before team kills are forgotten. (Default 300)
set g_teamautojoin "0" // Force players to auto join on connect, instead of letting them spectate until they join themselves. (Default 0)
set g_teamForceBalance "1" // If on, you can't join a team when it has more players then the other. (Default 1)
set g_teamnamered "" // Name for the red team, nothing = Red Dragons.
set g_teamnameblue "" // Name for the red team, nothing = SWAT.
set g_swaproles "0" // When map is over, play it again with the teams swapped (recommended for bomb mode). After that, change map. 0=change map immediately when map is over, no swapping of teams. (Default 0)
set g_mapcycle "mapcycle.txt" // Name of mapcycle file, located in q3ut4 directory. (Default mapcycle.txt)
map ut4_casa // What map to start with. (Default ut4_casa)
g_gear "" // control allowed gear...
map_restart 1 // restarts the map with new settings.
This file was last updated: "May 30, 2011, 3:41 pm"
