View Full Version : Rcon Login anyone?
theMechanic
11-07-2007, 10:42 AM
Does anyone know the command to login to rCon ingame?
Does anyone know the rCon login code for the desktop shortcut?
And to Wiz, i noes u got a list of rcon commands, cough it up old salt. :p
RaDioAcTivE
11-07-2007, 11:12 AM
As well as the /rcon login password you can put the login in your shortcut target line as well.
"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +rcon login ***** +password **** +connect ***.**.***.***
That will connect you with rcon logged into a private slot to a specific server. In general all of the basic rcon for the most part seems to be the same as in COD2. Don't forget that you have to hold the shift key down while pressing the ~ key to pull down the console.
/rcon say
/rcon status
/rcon clientkick #
/rcon banclient #
/rcon map_rotate
Here's some more information for those that are new to using rcon for the COD series. I do not know for sure that everything here works in COD4 but it's a good place to start until a comprehensive guide is put together. I also can't remember where I found this so unfortunatly I can't give credit to whoever wrote it but it was not me.
*****edited to add this thanks to a post by Area51TheFossil remembering where it originated
SOURCE (http://www.codutility.com/modules/Page/html/serveradmintuto.html)
Console Commands
/map mapname
Loads the map specified by mapname.
/map_rotate
Loads next map in rotation set in sv_maprotation.
/serverinfo
Shows the current server's settings.
/map_restart
Restarts the map.
/kick [name]
Kicks a player by name from the server.
/clientkick [id]
Kicks a player by client id from the server.
/status
Displays info of all the players on the server.
/banUser [name]
Bans a user by their ingame name. Writes their GUID to ban.txt
/banClient [id]
Bans a user by their client number. Writes their GUID to ban.txt
/tempBanUser [name]
Kicks and temporarily bans player by name from server.
/tempBanClient [id]
Kicks and temporarily bans player by client id from server
/unban [name]
Unban every player banned with [name]. If you want to unban a single player whose name appears more than once, you should edit "ban.txt" manually.
/tell [id]
Sends private message to specified client id
Hre's another version with more details.....
Kicking players
There are a few ways in which to kick players, but I'm only going to cover the easiest and best way to do so. It involves using the status and clientkick commands. I prefer using this method of kicking as it prevents you from having to type out a player’s name, which can be lengthy and difficult depending on the complexity of the name. In addition, the player could also change his/her name in mid command and then you'd be forced to re-type the new name. In other words, use the below described method.
Status displays a list of the people currently connected to the server, whether they're playing or spectators. It works as follows:
Example: /rcon status
The following is then displayed in your console:
Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 {PJG} Crimson 165.56.24.45
1 13 65 100001 {PJG} Stalker 65.45.24.57
2 33 51 100002 {PJG} AimRed 65.56.21.35
3 25 30 100003 You Suck! 125.54.85.21
4 21 32 100004 {PJG} Buzz Litebeer 24.56.42.51
5 12 100 100005 {PJG} Flying Nun 161.61.41.56
Once this is displayed, you simply find the player you wish to kick from the server and note their Client ID. You then use the command, clientkick, with the ID of the person, to boot them from the server. For this example, we will kick client #3 for being a bad little boy:
Example: /rcon clientkick 3
Back to Top
Banning Players
Banning players is done almost exactly the same as kicking them, just uses a different command. If you find that someone warrants banning, simply use the above status command to obtain the players client id, then use the either the tempbanclient or banclient commands.
Example: /rcon status
The following is then displayed in your console:
Client ID Score Ping GUID Player Name IP Address
0 23 45 100000 {PJG} Crimson 165.56.24.45
1 13 65 100001 {PJG} Stalker 65.45.24.57
2 33 51 100002 {PJG} AimRed 65.56.21.35
3 25 30 100003 You Suck! 125.54.85.21
4 21 32 100004 {PJG} Buzz Litebeer 24.56.42.51
5 12 100 100005 {PJG} Flying Nun 161.61.41.56
Back to Top
Permanently Banning Players
Once this is displayed, you simply find the player you wish to ban from the server and note their Client ID. You then use the command, banclient, using the ID, to permanently boot the person from the server. For this example, we will kick client #3 for not getting the hint:
Example: /rcon banclient 3
Back to Top
Temporarily Banning Players
Temporarily banning players is a good way to get rid of annoying players that didn’t really deserve and permanent ban but were not getting the hint in being kicked a few times. In our server config, I have sv_kickBanTime set to 3600 seconds, otherwise known as 1 hour. Using the above status info, temporarily banning client 4 would look like this:
Example: /rcon tempbanclient 4
Back to Top
UnBanning Players
UnBanning players is a little more complicated. There are currently 2 built-in ways to unban a player: 1) using the unBanUser command; 2) Connecting to your server via FTP and removing the player from the ban.txt file. If you banned players using 3rd party software, check with its user guide for info on “unbanning”.
Using the above example banned example, to remove the ban for “You Suck!”, you would issue the following, matching the players name exactly:
Example: /rcon unbanuser “You Suck!”
SOURCE (http://www.codutility.com/modules/Page/html/serveradmintuto.html)
theMechanic
11-07-2007, 12:41 PM
cool man, ty
Medicine
11-07-2007, 11:12 PM
I must be very dense..
I have tried all the above to using the console, but I cannot seem to get rcon to "do" anything. I get the 1 line console and NO feedback whatso-ever.
I type in: /rcon login mypassword
no feedback, so I have no clue if it worked.
so I try something that should display something.. /rcon status
nothing, the console is still 1 line large.
unless the rcon console isnt the "~" key? I am at a loss. I have changed my password a few times in my server.cfg and still doesnt work.
Any suggestions? is this something my server provider could be blocking/etc? (I wouldnt think they would, its the only way to manage the server AFAIK)
RaDioAcTivE
11-07-2007, 11:59 PM
That happened to me with COD2. You just need to hold down the shift key to bring the entire console up.
Nat_Greene
11-08-2007, 11:11 AM
Great info RadioActive, thanks!
Medicine
11-08-2007, 01:43 PM
Thanks, that worked for me. (the Shift+~)
Grimmy
11-08-2007, 02:13 PM
mine works with the tide key ¬ "left of No1"
theMechanic
11-08-2007, 02:32 PM
Thanx again man, i copied this to my forums for safe keeping :salute:
FWF.Ranger
11-08-2007, 04:01 PM
As well as the /rcon login password you can put the login in your shortcut target line as well.
"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +rcon login ***** +password **** +connect ***.**.***.***
Great info thanks, just one question what are the ***'s exactly. My best guestimate was +rcon login [myname] +password [mypassword] +connect [myserverip] on the server ip does the port need to be added?
Thanks for the help and great post to us new admins for COD ;)
theMechanic
11-08-2007, 04:28 PM
the asterisks are just place holders for your information that you need to edit in.
FWF.Ranger
11-08-2007, 09:52 PM
I realize that Mechanic. I'm wondering what it is though notice my [ ] do i have those right? my name, my pw and my server ip??
The_Humungus
11-08-2007, 10:19 PM
I am able to pull down the full console, but the rcon commands do nothing. Status does not show the playerlist. Is it a different command than rcon status?
The_Humungus
11-08-2007, 11:20 PM
None of the posted RCON commands are working for me. rcon status, rcon kick, etcc... Here is how I am typing it in...
rcon ******
rcon kick <playername>
rcon status
What am I doing wrong??
Humungus
RaDioAcTivE
11-08-2007, 11:57 PM
You have to login first.
/rcon login yourpassword
then you have to still use the forward slash and rcon so it's
/rcon status
or
/rcon clientkick ##
with the ## being the slot that the player is in via the status report.
I like to put the +rcon login password in my target line to the shortcut to launch the game because if you forget the forward slash you broadcast the password to the server as a chat command and you then have to change the password.
The_Humungus
11-09-2007, 12:22 AM
You have to login first.
/rcon login yourpassword
then you have to still use the forward slash and rcon so it's
/rcon status
or
/rcon clientkick ##
with the ## being the slot that the player is in via the status report.
I like to put the +rcon login password in my target line to the shortcut to launch the game because if you forget the forward slash you broadcast the password to the server as a chat command and you then have to change the password.
Thanks! That's what I was doing wrong. Appreciate your help!
rudedog
11-09-2007, 05:37 AM
Thanks Radio, great info.
Hell I just got back late last night and have not even installed the damn game yet LOL (and I've had it before release:eek:)
I'm hoping if I feel better, to get it installed and start playing around. I came home from AZ with a damn cold and feel like shit.
RaDioAcTivE
11-09-2007, 10:30 AM
Look on the bright side. Now you have a great excuse to sit around and play all day. :salute:
grego34
11-09-2007, 02:51 PM
no one can get into my listen server through rcon--> /connect "your ip & port" enter. why doesn't it show up in the servers list??
rudedog
11-09-2007, 03:19 PM
More then likely it's because it's behind a router and your cable/dsl modem.
You need to forward those ports (via router) to your PC running the server and give out the public IP address to the guys who need rcon access.
grego34
11-09-2007, 03:24 PM
i have no router running and my norton is turned off. They have my Ip address but no one can get in??
rudedog
11-09-2007, 03:46 PM
So your PC is connected directly to the modem?
You used a site like what is my IP to get your public IP?
Tell us a little more about your network
grego34
11-09-2007, 04:12 PM
cable goes directly into my PC from the outside. No box.. insight cable company DELL XPS 400 i never had problems with people getting on any of my servers i have hosted in the past--CODUO--cod2--BF2--BF2142-MOH games..
rudedog
11-09-2007, 04:18 PM
does your IP start with 192.168.x.x or 10.10.x.x?
grego34
11-09-2007, 04:21 PM
74.139.47.82
grego34
11-09-2007, 04:31 PM
http://img.photobucket.com/albums/v232/grego34/shot0000inagmeservernameandgame.jpg
http://img.photobucket.com/albums/v232/grego34/COD4MygameIP.jpg
see my server name and type in game and the server status and IP in rcon
RaDioAcTivE
11-09-2007, 04:31 PM
I think it's just the master servers going down again or not working properly. I have one server that's fine but 2 others that even I can't dirrectly connect to and they're empty....no surprise considering nobody can connect to them!!!! :rolleyes:
<MAD>Jackson
11-09-2007, 04:33 PM
If your running the server and playing on the server as well from one pc it could be a port problem i know mine was i had to set the server port to +set net_port 28961 in the command line and then add +set net_port 28960 to the end of the target line for the game launcher and all was well
grego34
11-09-2007, 04:36 PM
so when my friends try to get in using console--they can type in the 28961 port number instead? Still its funny how my server can't be seen in the list of servers?? Never had problems like that before when i hosted those other COD games thanks for everyones help!!
rudedog
11-09-2007, 04:40 PM
One other thing that would drive me crazy.
Don't use the number pad numbers, use the ones across the top of the keypad.
grego34
11-09-2007, 04:47 PM
i am left handed so i have to use the key numbers.. so used to it since i started gaming years ago..:) i don't expect to host no more than 8 players when i do host and thats only once a week. http://etfu.spruz.net/main.asp
rudedog
11-09-2007, 05:00 PM
What I mean is, don't enter the IP address via the keypad you have to enter the IP address via the numbers along the top of the keyboard when trying to rcon in via IP address.
grego34
11-09-2007, 05:24 PM
OH--OK i didn't know it made a difference..
grego34
11-12-2007, 06:21 PM
everything seems to be working now!!
Area51TheFossil
11-26-2007, 10:50 AM
Created By: {PJG} Crimson (a.k.a. Anex)
Email: crimson@pjgsquad.com
Website: www.pjgsquad.com
Game: Call of Duty
Last Update: July 11, 2004
This is the author of the COD commands posted by Radioactive. In fact the complete compilation is extensive and quite informative.
RaDioAcTivE
11-26-2007, 04:50 PM
Created By: {PJG} Crimson (a.k.a. Anex)
Email: crimson@pjgsquad.com
Website: www.pjgsquad.com
Game: Call of Duty
Last Update: July 11, 2004
This is the author of the COD commands posted by Radioactive. In fact the complete compilation is extensive and quite informative.
Thanks for this post!!! I tried to remember where I found it and made sure it was clear that it was not my work. As I remember the original site it was about as complete as it could have been. I pulled a couple of pages for instruction for my own admins on how to use rcon.
Here's the original guide hosted at codutility:
http://www.codutility.com/modules/Page/html/serveradmintuto.html
scottyboy
11-27-2007, 02:19 PM
Can anyone advise on banning.
We seem to be able to get bans to write to ban.txt but players are still rejoining ok.
Where should the ban.txt be stored and written into in configs etc?
OEW Batman
11-27-2007, 04:05 PM
Can anyone advise on banning.
We seem to be able to get bans to write to ban.txt but players are still rejoining ok.
Where should the ban.txt be stored and written into in configs etc?
Scottyboy, there's a thread on this, read the last couple of posts, it shows what works for me.
http://www.fpsadmin.com/forum/showthread.php?t=13659
scottyboy
11-28-2007, 04:09 AM
cheers. Must remember search for teh win!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.