Call of Duty : Black Ops Console RCON Commands

General Support & Discussion related to the Call of Duty Series including COD1, COD2, COD4, COD:WAW, United Offensive and Blackops.
Locked
[gs] mike
GameServers Officer
Posts: 1009
Joined: Mon Dec 29, 2003 6:14 pm
Contact:

Call of Duty : Black Ops Console RCON Commands

Post by [gs] mike » Mon Nov 29, 2010 10:16 am

== UNRANKED/RANKED ==
These commands are meant to be used from the in game console. To bring this up, press the ~ key on your keyboard. If you are using a third party rcon tool, you can leave off the '/rcon' from the beginning of the command.

Before you execute any rcon command, you must use the following: (Replace yourpassword with the rcon password to your server)
/rcon login yourpassword

To get a list of players connected to your server, use the following command:
/rcon teamstatus

The player numbers returned from the above command can be used as the client ID in the below commands. This is handy if a players name contains characters you cannot type.

Player commands:
/rcon kick (username) (optional reason)
/rcon clientkick (client ID)
/rcon tempbanuser (username)
/rcon tempbanclient (client ID)
/rcon banuser (username)
/rcon banclient (client ID)

General commands
/rcon say (message)
/rcon playlist - shows available playlists


Configuration Settings:
/rcon setadmindvar sv_hostname (new hostname)
/rcon setadmindvar sv_maxPing (new maximum ping)
/rcon setadmindvar sv_minPing (new minimum ping)
/rcon setadmindvar playlist (new playlist number)
/rcon setadmindvar sv_mapRotation "gametype tdm map mp_array map mp_cairo ... " (replace tdm and map names as you like)
/rcon setadmindvar scr_motd "Message of the day!"

== UNRANKED ONLY ==
You can change a number of settings related to gameplay by using the setadmindvar command. For a full list of available varaibles, see the 'default.cfg' file that comes with the official rcon client. The general syntax to change a variable is:
/rcon setadmindvar variable_name new_value
/rcon map (map_name)
Map names are:
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
/rcon map_rotate (move to next map)

Locked