Portal
Language
 
Information
Article ID3
Created On5/22/2009
Modified8/20/2009
Share With Others
Basic guide on how to use rcon
Basic guide on how to use rcon

This tutorial includes basic commands that are needed to run a proper Call of Duty server.


Q. How do i open the console?

A. Click the button under Esc and left to number 1.

Q. How do i login to rcon?
A. Simply open your console, remove the little ยง and type;
 /rcon login password
replace "password" with your rcon password


Q. How do i speak with rcon?
A. Login to rcon and type in your console:
/Rcon say Hello.
People will now see the text Hello.


Q. How do i change map?
A. Type ''/Rcon map mp_Mapname''.
e.g /Rcon map mp_carentan

Maps:
mp_breakout (Villers-Bocage)
mp_brecourt (Brecourt)
mp_burgundy (Burgundy)
mp_carentan (Carentan)
mp_dawnville (St. Mere Eglise)
mp_trainstation (Caen)
mp_farmhouse (Beltot)
mp_downtown (Moscow)
mp_railyard (Stalingrad)
mp_leningrad (Leningrad)
mp_harbor (Rostov)
mp_matmata (Matmata)
mp_toujane (Toujane)
mp_decoy (El Alamein)
mp_rhine (Wallendar)

Q. How do i restart and fast restart the server?
Theres 2 ways to restart.
/rcon map_restart
would reload the map, which takes about 10 seconds to do.
/rcon fast_restart
restarts the map quickly, and takes you to the menu where you choose teams.
This command also reset the scores.

Q. How do i change Gametype on my server?
A. Open your console and type
/Rcon g_gametype tdm       (for team deathmatch)
/Rcon g_gametype sd         (for search and destroy)

CoD,CoD UO and cod2 got team deathmatch, tdm is now war in cod4, so to alter gametype in cod4:
/rcon g_gametype war
After doing that you need to restart the server with
rcon map_restart
Or you could change into another map, using
/Rcon map mp_Mapname


Q. How do i make a welcome message on my server?
A. simply type
/Rcon scr_motd Welcome message


Q. How do i kick players from my server?
A. There are a few ways to kick persons from your server.
It includes using the status and clientkick commands.
Type;
/Rcon status
will show you all players connected to the server and their information will be
displayed in the console, it will look something like this:
.
It will look something like this:

Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 Pink 165.56.24.45
1 13 65 100001 Purple 65.45.24.57
2 33 51 100002 Black 65.56.21.35
3 25 30 100003 Red 125.54.85.21
4 21 32 100004 Blue 24.56.42.51
5 12 100 100005 Orange 161.61.41.56

Now notice that i removed the ping and Guid.
What you need to do is looking at the first numbers, the clientnumbers.
To kick a player type
/rcon clientkick 3
if you want to kick the player called Red.

If you want to ban someone its basicly the same process, but this time its
/rcon banclient 3


Q. How do i update punkbuster on my server?
A. There are a few ways to update punkbuster
1. via the gamepanel - punkbuster update button (preffered method)
2. in rcon type;
/rcon pb_sv_update
this can take upto 10 minutes for the server to download the new punkbuster files, after 10 minutes restart punkbuster on your server;
/rcon pb_sv_restart      or simply restart your server