Sign-in Register
Order Now

Battlefield 2 Admin Commands
To execute an admin command, please press the tilda (~ or `) key on your keyboard to access the console. From the console, you must first login as an admin before you can use any commands. Please see our "Login/Logout" section below for information on logging in.

Please click a category below to jump to that category.


Admin Commands Description
Login/Logout/Password Commands
rcon login <password> This is used to login as an admin.
Server Commands
rcon users This command lists all the users connected to the server. Very similar to admin.listPlayers
rcon exec [command name] Replace with a console command you would like to execute on the server. For example: rcon exec admin.kickPlayer 3
Map Commands
rcon exec admin.runNextLevel Forces the server to end the round and start the next map in the map list.
rcon exec admin.currentLevel Shows the map list ID number for the current map being played. The same as mapList.currentMap.
rcon exec admin.nextLevel Shows the map list ID number for the next map to be played.
rcon exec admin.restartMap Restarts the current map.
Kick/Ban Commands
rcon exec admin.banPlayer (player ID number) (timeout) Enter the player ID number you would like to ban. Bans the player from this server by using their IP address.
- Bans can be set on CD key hashes.
- Bans are stored as absolute times in banlist.con. Existing bans in banlist.con will be interpreted as permanent bans.

You can choose from a selection of time outs:

- Entering 'perm' means that the ban is permanent. This is the default if no time out is entered.
- An integral number meaning the number of seconds the ban will be active (i.e. 3600 means one hour).
- Entering 'round' means the ban is active until the next map.
- A whole number preceded by a colon (i.e. :1234567)
rcon exec admin.banPlayerKey (player ID number) (timeout) Enter the player ID number you would like to ban. Bans the player from this server by using their CD key hash. You can also specify a time out.
rcon exec admin.addAddressToBanList (IP address) (timeout) Enter the IP number you would like to ban. You can also specify a time out.
rcon exec admin.addKeyToBanList (CD key hash) (timeout) Enter the CD key hash you would like to ban. You can also specify a time out.
rcon exec admin.removeAddressFromBanList (IP address) Enter the IP address you would like to remove from the ban list.
rcon exec admin.removeKeyFromBanList (CD key hash) Enter the CD key hash you would like to remove from the ban list.
rcon exec admin.clearBanList Clears all ban lists.
rcon exec admin.listBannedAddresses Displays a list of the currently banned IP addresses.
admin.listBannedKeys Displays a list of the currently banned CD keys.
rcon exec admin.kickPlayer (player ID number) Enter the ID number of the player you would like to kick.
Team/Player Commands
rcon exec admin.listPlayers This command lists the players ID number, their player name and if the player is remote it also lists the players IP number. The players ID number is also available on the Scoreboard / Manage Tab.

Missing a command? Contact us with the command and we will add it!