RCON

Enabling and Using RCON

Before you can complete any of the commands to administer your server, you will need to enable your Console. This can be done by going through the following procedure: Open your MW3 > Options > Dedicated Server > Enable Remote Console 'Yes'

Enabling Remote Console

This allows for console input when you're in game, allowing you to enter various commands on your server.

The next step is to connect to your server using the IP address found in the TCADMINV2 control panel (My Services > Game servers - Call of Duty : Modern Warfare 3> Login to Control Panel > Game Services > The name of your server > Connection Info: ). Press ` to bring down the console and enter connect followed by your IP address to join your server. e.g. connect 127.0.0.1

Bringing Down The Remote Console

There are now two remaining steps, logging in as an admin and then entering the commands to administer the server. These are two simple steps which can be completed by the following two lines

rcon login adminpassword
rcon commandchoice

A list of essential RCON commands are listed below with a brief explanation of what the command does.

Entering Console Commands
Login Commands
/rcon login - To login to Rcon
/rcon logout - To logout of Rcon
Server Commands
/rcon gameopt - Rcon command specific to MW3, can be used to set variables from Recipe
/rcon serverinfo - This command shows the server settings and configurations.
/rcon status - This shows information about the connected players. This includes the client ID, score, 
ping, GUID, name and IP address. The ID and name can be used for the following commands.
/rcon dumpuser [player name] - This will give information about the player.
Kicking & Banning
/rcon kickclient [player id] - This will kick a player according to its ID (given with the /status command).
/rcon kick [player name] - This will do the same as the clientkick command, but this command requires the player's name. 
As some names are very difficult to enter (due to colour codes etc), the clientkick commands is normally easier in use. 
You can use 'all' as player name, this will kick all players from the server.
/rcon tempBanClient [player id] - This will temporary ban a player using the player's ID. 
The length of a temporary ban can be changed in the server configuration file.
/rcon tempBan [player name] - This will temporary ban a player using the player's name.
/rcon ban [player name] - This command does the same as the /banclient command. 
/rcon banClient [player id] - This command will ban a player according to its ID. The player's GUID will be added to 
ban.txt. However, this requires you to fill in the player's name, 
it is therefore advised to use the /banclient command (names can be long or contain colour codes).
/rcon unban [player name] - This will unban a user according to the player's name.
Map Changing & Restarting
/rcon map_restart - This will restart the server with the current map.
/rcon fast_restart - This will simply restart the map.
/rcon map [map name] - This will load the given map.
/rcon killserver - As the name says, it will shut your server down.
/rcon map_rotate - This will load the next map of the rotation. This is set in the 'sv_maprotation' file on your server.
/rcon set - This command can set used to set variables, like: set <variable> <value>
  • 781 Usuários acharam útil
Esta resposta lhe foi útil?