PDA

View Full Version : Rcon commands


Genbash
12-11-2003, 02:19 AM
Can someone direct me to were i can get a list of the rcon commands specifically things like changing to a new map , restarting a map, ect also if i have the server computer in my house what due i need to due to run these commands right from it, ( i no i dont use recon but not sure what i type instead

rudedog
12-11-2003, 06:41 AM
The basics are located here (http://www.infinityward.com/cod/server%20commands.html)

Rcon beginners guide:

- you need to setup your rcon password in your cfg and restart the server
add to your cfg file
seta rconPassword "your_password_here"

Now before you can ever use rcon you need to send the password to the server. I add the following command to my CoD shortcut so it saves me one step
+set rconpassword your_password_here

or you can issue the command from the console
/rconpassword your_password_here

Once this is done, your able to send rcon commands to the server

/rcon status
/rcon serverinfo

The above commands work when your connected as a client to your server. When ever your remote from the server, you need to use rcon. If your local then simple use the command.
/status

/serverinfo

say your playing on another serv er but wanted to check the status of your server. You could use the rconaddress to rcon to your server

/rconaddress x.x.x.x
/rconpassword your_password_here
/rcon status

Sorry for rushing this, but I am off to work. I think I will put a guide together later on this week.

BTW - any commands you can use in your cfg file, you can use via rcon. just remember to use "/rcon"

rudedog
12-11-2003, 06:43 AM
One more thing, unlike MOH you need to use " / " before any command being sent to the server local or remote

if not you will broadcast that to the chat window.

MOMMA
12-11-2003, 02:11 PM
One more thing, unlike MOH you need to use " / " before any command being sent to the server local or remote

if not you will broadcast that to the chat window.

Yes, not using the / is a good way to broadcast to everyone what your password is.. next thing you know someone is taking your server hostage..lol. (course this is easily resolved but still something to avoid)

Genbash
12-11-2003, 02:48 PM
so if i wanted to restart the map i would due

/map_restart or
/rconmap_restart "duing it by remote"

sorry if it sounds like i am a noob but the 2 main functions i need to no is the command for map restarting and changing to a new map if everyone playing would like a differnt map at that particular time.
Thanks for your time guys

MOMMA
12-11-2003, 04:08 PM
It would be

/rcon map_restart

DeadMan
12-15-2003, 11:25 PM
what about gametype what i found g_gametype tdm (tdm dm sd re bel )wont work for me?

this what i do \rcon g_gamtype bel is this right?

MOMMA
12-16-2003, 11:08 AM
/rcon g_gametype tdm (or whichever). The new gametype takes effect on the next map restart so you either have to restart your current map or change to a new map to get it going.

One other note, if you have a map rotation in your configuration then once it is done playing that next map..it will continue on with the map rotation. So if you change the gametype to S&D and restart the map.. when it is done with that map, if the next map in the configuration is a TDM map.. it will revert back to TDM.. your gametype change is not permenent and only affects the current map. If you want it to be permenent there are various ways of doing this such as setting up map rotations or configs that will do what you want them to do and executing those configs.

For on-the-fly changes another suggestion would be to dl the HLC RCON MOD from this site. It will do all you want to do but with an easy in-game menu. Easier than typing in the commands for some.