PDA

View Full Version : Admin privledges for COD4?


Will
12-09-2007, 11:03 AM
Hey,

I'm fairly new to the Call of Duty franchise, and I'm more use to games like Soldier of Fortune 2, or Battlefield 2...

In those, there's ways of giving certain people different privledges.. For example, referee status, or full-out admin status.

Right now, I am using ModernRcon for our COD4 server, which is a nice program and all, but I don't really feel comfortable giving out the Rcon password to all the members that need access to kicking/banning somebody. I'm just wondering, is there some kind of tool out there that gives certain people different rights in the server? Also, is it possible to do those commands within the game, instead of having to minimize out and go to modernrcon?

Sorry if this has been answered before. If modernrcon is the only way, it'd still be nice to be able to do those commands within the game, and not have to minimize + open modernrcon + put in IP & password + ban the person.

If you need a better explanation let me know. Any help is greatly appreciated!

Thanks.
-Will

Desert Eagle
12-09-2007, 11:21 AM
You can give certain players the rcon password, and then they can issue commands via the console during game play.

Will
12-09-2007, 11:26 AM
Any idea on where I may be able to find a list of the rcon commands for in-game?

romeozor
12-09-2007, 05:51 PM
are you familiar with the use of the console? ~ key toggles the small and shift + ~ brings out the big one.
you must log in with \rcon login <passwordhere> and use the games commands like \rcon map mp_crash
if you dont want to give out the rcon password but want players to have some amount of control, give this a read: http://www.punkbuster.com/publications/cod-ad/index.htm PB Rcon and Player power are the topics you want to read

Will
12-09-2007, 08:47 PM
I am familiar with the in-game console. Would you be able to point me in the direction of the rest of the game commands for rcon? I thought I seen it somewhere on the InfinityWard website but they seem to be down at the moment.

Thanks for the link. Gonna have a look over it.

-Vx4-
12-10-2007, 08:07 PM
I am familiar with the in-game console. Would you be able to point me in the direction of the rest of the game commands for rcon? I thought I seen it somewhere on the InfinityWard website but they seem to be down at the moment.

Thanks for the link. Gonna have a look over it.


search for rcon commands in this forum

RaDioAcTivE
12-11-2007, 12:39 AM
Tatakai Server Scan will do what you're asking for. It allows you to hide the rcon password and assign different levels of access to each person using it.

Here's a fairly good explanation of basic rcon commands:

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)