Dead Men Walking

Old Server Admin Section => Game Admins => Archived Topics => COD Admins => Topic started by: Snokio on November 11, 2010, 08:15:50 PM

Title: BO Admin console commands
Post by: Snokio on November 11, 2010, 08:15:50 PM
This is to allow you to admin whilst being in game, so now you wont have to Alt-tab
 
------------------------------
Connecting to Rcon
------------------------------
 
Method 1:
 
Open up Console tilde key (~) - (NOT CHAT WINDOW) and type the following:
 
1. Type: /rcon host 173.199.77.77:3074
2. Type: /rcon login (Dont use the <> when you executing commands)
3. Type: /rcon say Hi (this is to test that this is working)
 
Method 2 - Prefered method:
 
I wouldn't recommend typing in RCON passwords via the console interface, it's so easy to mis-type the command, then your password gets echoed to the server chat, and everyone sees your password.

I have tested this and works

Here's what to do :-

1/ Open a text editor (I used notepad), in that file add the commands to log in to your server RCON, you do not need forward slashes (/) in front of your commands. Obviously edit the IP/Password to suit your server.
 
Type the following:

              rcon host 173.199.77.77:3074
              rcon login password
 
2/ Save the file from the txt editor as a .cfg file, in this case I've saved it as 'admin.cfg'

3/ Save the file to your COD:BO install/main folder, which on Steam would be something like :-

C:/Program Files (x86)/Steam/steamapps/common/call of duty black ops/main/admin.cfg

4/ Join your server, open the console and type :-

/exec admin.cfg

5/ That's it, you are logged into the rcon. you can test it by entering "/Rcon say Hi" into console

** Note - In step 4 notice that you don't use /rcon exec, because the file is stored locally on your PC, so /exec is used.
 
-------------------------------
Commands:
-------------------------------
 
/rcon kick (Normal kick with username, you can add reason behinde name)
/rcon clientkick (Kicks with the client number you find in /rcon status)
/rcon tempbanuser (Ban with username)
/rcon tempbanclient (Ban with client ID)
/rcon banuser (same as tempbanuser)
/rcon banclient (same as tempbanclient
 
/rcon map mp_whatever - Not tested yet and beleived not to currently work
 
List of maps:
 
mp_Array
mp_Cairo
mp_Cosmodrome
mp_Cracked
mp_Crisis
mp_Duga
mp_Firing Range
mp_Hanoi
mp_Havoc
mp_Mountain
mp_Nuked
mp_Radiation
mp_Russian Base
mp_Villa
mp_Jungle
Title: BO Admin console commands
Post by: Blunt on November 11, 2010, 11:58:08 PM
Cheers Snokio:)

I don't know if it was coincidence, (and I'd like to try it again to find out), but tonight, after reading up on the rcon console commands, I noticed that someone said you could connect whilst still in game browser.
so I tried it twice.
both times the server emptied one by one and could not be seen in my favourites.
I did a server restart via Gameservers members area and people could rejoin.
it appeared in my favourites and I could join.
Title: BO Admin console commands
Post by: TeaLeaf on November 12, 2010, 07:07:52 AM
Additional info

Quotethe Status command shows all players on the server and their guid/player number , which you use to kick or ban them. but you need to have the console expanded, press shift+~ key instead of just ~ , this shows the console fullscreen so you can scroll through everything.
Title: BO Admin console commands
Post by: TeaLeaf on November 12, 2010, 07:08:35 AM
You can also use \rcon host dmw.clanservers.com instead of the IP  

Interestingly the forum used gameserevers.com not clanservers, but our control panel shows clanservers.com.
Title: BO Admin console commands
Post by: Snokio on November 13, 2010, 12:46:18 PM
Added a second method to joining Rcon during game in the OP, this will prevent any accidental passwords going into the general chat window (something i was scared of doing myself)
 
:)