20+ important rcon commands for server admins



> >

Created 3 years ago

20+ important rcon commands for server admins

A collection of the most useful rcon commands for CoD1 server admins

Let's start with 6 basic commands..



Logging into the rcon via console


Command: /rconpassword yourpassword

Getting the list of players and their ID's


Command: /rcon status

Change the Map


Command: /rcon map mp_harbor

CoD 1.1 Maps: mp_harbor, mp_brecourt, mp_carentan, mp_depot, mp_railyard, mp_chateau, mp_dawnville, mp_rocket,
mp_hurtgen, mp_pavlov, mp_powcamp, mp_ship

CoD 1.3: mp_neuville, mp_bocage
CoD 1.4: mp_stalingrad
CoD 1.5: mp_tigertown
CoD: United Offensive: mp_arnhem, mp_berlin, mp_cassino, mp_foy, mp_italy, mp_kursk, mp_kharkov, mp_ponyri, mp_rhinevalley, mp_sicily, mp_uo_stanjel


Change the Gametype


Command: /rcon g_gametype sd
Possible values: dm, tdm, sd, hq, bel

Kick a player


Command: /rcon clientkick id

Restart the Map


Command: /rcon map_restart

Set a server password


/rcon g_password "mypassword" will set the server password to "mypassword".

To clear the password and make the server public again, write /rcon g_password ""

If you want to reset the password so it contains the default value as written in the server config, write /rcon reset g_password.

To connect to a password protected server, write /password mypassword into the console and then connect to the server. Alternatively, you can do the same via the graphical interface.


Now let's dig a bit deeper..


For most of these commands, you will need to have CoDaM with the Powerserver and HamGoodies Plugin installed on your CoD1.1 server. You can download CoDaM and the plugins in our CoD1.1 Server Mods Download Section).

Rename a player


Command: /rcon set command rename id name
Requires: CoDaM with the HamGoodies Plugin [Download]

Note: By default you cannot use spaces inside the name. If your name contains spaces, you need to write the command as follows: /rcon set command rename id "\qMY NAME

Force a player to axis or allies


Command: /rcon set command force axis id and /rcon set command force allies id
Requires: CoDaM with the Powerserver Plugin [Download]

Force a player to spectator


Command: /rcon set command force spectator id
Requires: CoDaM with the Powerserver Plugin [Download]

Force all players to spectator


Command: /rcon set command forceallspec
Requires: CoDaM with the Powerserver Plugin [Download]

Swap teams


Command: /rcon set command swapteams
Requires: CoDaM with the Powerserver Plugin [Download]

Lock/Unlock Teams


Lock Team: /rcon set command teamlock
Unlock Team: /rcon set command teamunlock

Requires: CoDaM with the Powerserver Plugin [Download]

Disable/Enable Teambalance


Command: /rcon scr_teambalance 1 1= Enable, 2 = Disable

Requires: Nothing.

Enable/Disable Friendly Fire


Enable Friendly Fire: /rcon set scr_friendlyfire 1
Disable Friendly Fire: /rcon set scr_friendlyfire 0
Reflect Damage: /rcon set scr_friendlyfire 2
Share Damage: /rcon set scr_friendlyfire 3

Requires: Nothing.

End the Map


Command: /rcon set command endmap
Requires: CoDaM with the Powerserver Plugin [Download]

Display a big centered text for a couple of seconds


Command: /rcon set command say TEXT HERE
Requires: CoDaM with the Powerserver Plugin [Download]

Other Powerserver-related commands



rcon set command explode <id> - Explode player - player will die
rcon set command disarm <id> - Disarm player - remove weapon
rcon set command burn <id> - Player will burn and die
rcon set command cow <id> - Player will be turned into a cow and die
rcon set command mortar<id> - Mortars will kill the player


Weapon-Related Commands



Disable Pistol


/rcon set scr_weapon_ammo m1carbine,15,400 m1garand,8,240 thompson,30,360 bar,20,300 springfield,5,200 enfield,10,160 sten,32,320 bren,30,300 mosin_nagant,5,150 ppsh,71,355 mosin_nagant_sniper,5,150 kar98k,5,125 mp40,32,320 mp44,30,240 kar98k_sniper,5,150 colt,0,0 luger,0,0 fraggrenade,1,3 mk1britishfrag,1,3 rgd-33russianfrag,1,3 stielhandgranate,1,3 fg42,20,320 panzerfaust,1,1

Enable Pistol


/rcon set scr_weapon_ammo m1carbine,15,400 m1garand,8,240 thompson,30,360 bar,20,300 springfield,5,200 enfield,10,160 sten,32,320 bren,30,300 mosin_nagant,5,150 ppsh,71,355 mosin_nagant_sniper,5,150 kar98k,5,125 mp40,32,320 mp44,30,240 kar98k_sniper,5,150 colt,7,56 luger,8,64 fraggrenade,1,3 mk1britishfrag,1,3 rgd-33russianfrag,1,3 stielhandgranate,1,3 fg42,20,320 panzerfaust,1,1

Disable Grenades


rcon set scr_grenade_assign "default=0 rifle=0 smg=0 mg=0 sniper=0"

Enable Grenades (3)


/rcon set scr_grenade_assign "default=3 rifle=3 smg=3 mg=3 sniper=3"

5. Enable/Disable specific weapons


/rcon scr_allow_m1carbine 1/0
/rcon scr_allow_m1garand 1/0
/rcon scr_allow_enfield 1/0
/rcon scr_allow_bar 1/0
/rcon scr_allow_bren 1/0
/rcon scr_allow_mp40 1/0
/rcon scr_allow_mp44 1/0
/rcon scr_allow_sten 1/0
/rcon scr_allow_ppsh 1/0
/rcon scr_allow_fg42 1/0
/rcon scr_allow_thompson 1/0
/rcon scr_allow_panzerfaust 1/0
/rcon scr_allow_springfield 1/0
/rcon scr_allow_kar98ksniper 1/0
/rcon scr_allow_nagantsniper 1/0
/rcon scr_allow_kar98k 1/0
/rcon scr_allow_nagant 1/0

If you are looking for a more convenient way of applying those commands,
i would suggest you to use an rcontool like Rafi's Rcontool.

> Last updated: 09-09-2014
Added rcon status, friendly fire, gametype, and enhanced the map list on "/rcon map" command - added cod1.1 - cod1.3 - cod1.4- cod1.5 and cod:united offensive map list - thanks to spect for helping me researching the maps for all cod versions


Tutorial Details

Created: 3 years ago by ^THiNK#ALIEN

Views: 8773 Views

Keywords: Commands, cvars, rcon, admin, console,

Share this Knowledge with your friends!

Direct Link:

17 Comments

Nice one buddy, useful for many people i have to admit, thanks
Commented by SpeCt>.>  (Aug 28th, 2014 01:53 AM)

Thank youuuu ! I don't know many commands so I really needed this tutorial. Sir Rafi is a God :)
Commented by zerotoL Emy.  (Aug 28th, 2014 01:54 AM)

Useful ;)
Commented by ^THiNK#Madness  (Aug 28th, 2014 04:04 AM)

Big Help (Y)
Commented by -]Fearless[-Style  (Aug 28th, 2014 06:28 AM)

Very nice, but best part of text is my name (inlove)
Commented by `stat1k~  (Aug 28th, 2014 08:02 AM)

Awesome work, mate. <3 :D Lovin' these commands.
Commented by Wanted|OmariO.  (Aug 28th, 2014 02:31 PM)

How do you get the player's id btw? Isn't it something like /rcon status? or /rconstatus? I haven't used commands in a few years lol ! :P
Commented by zerotoL Emy.  (Sep 09th, 2014 01:10 PM)

yqkssj.jpg
Commented by ^THiNK#Jona  (Sep 09th, 2014 02:14 PM)

ROFL, aright thanks Jona ;-) :P I just never know when you got to put a space and when not to. /rconpassword but /rcon status.
Commented by zerotoL Emy.  (Sep 09th, 2014 03:23 PM)

Well it's pretty easy.
/rconpassword is a client cvar where you enter the rconpassword of a server, cvars never have spaces.
/rcon status consists of two parts "/rcon " and "status", "/rcon" tells CoD to send the following command "status" to the server.
Btw rcon means remote control.
Commented by ^THiNK#Jona  (Sep 09th, 2014 04:49 PM)

Can you add the friendly fire cvar, in case for pugs?
Commented by Wanted|OmariO.  (Sep 09th, 2014 05:02 PM)

Oh alright, I understand. Thanks for the explanation. :)
Commented by zerotoL Emy.  (Sep 09th, 2014 05:59 PM)

i can always update the list, i've added 3 new commands now, 1: rcon status and 2: friendly fire and 3: Change gametype, plus i have updated the /rcon map command, i have listed all maps from cod1.1 to cod1.5 and UO
Commented by ^THiNK#ALIEN  (Sep 09th, 2014 08:10 PM)

Rafi (y) :)
Commented by zerotoL Emy.  (Sep 09th, 2014 11:47 PM)

rcon set command mortar<id>

i not understand how to workt?
Commented by Cpt.AngelofDeath  (Apr 17th, 2015 09:06 PM)

whats the cmd for the anti camping prproperty
Commented by Hythm  (Oct 06th, 2015 10:55 AM)

How can I desactivate the Anti-camper?
Commented by UpG*//Un_Noob  (Jan 17th, 2017 03:58 PM)

Please sign in or create an account to post a comment.