Battlefield 2 (PC)
Admin Commands
admin.listPlayers: Lists the players connected
to the server. 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
admin.runNextLevel: Forces the server to end the round
and start the next map in the map list.
admin.currentLevel: Shows the map list ID number for
the current map being played. The same as mapList.currentMap.
admin.nextLevel: Shows the map list ID number for
the next map to be played.
admin.restartMap: Restarts the current map.
admin.banPlayer: [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), meaning
the epoch expiration time of the ban (number of seconds since
1 Jan 1970).
admin.banPlayerKey: [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.
See admin.banPlayer for the time out list.
admin.addAddressToBanList: [timeout] Enter the IP
number you would like to ban. You can also specify a time
out. See admin.banPlayer for the time out list.
admin.addKeyToBanList: [timeout] Enter the CD key
hash you would like to ban. You can also specify a time out.
See admin.banPlayer for the time out list.
admin.removeAddressFromBanList: Enter the IP address
you would like to remove from the ban list.
admin.removeKeyFromBanList: Enter the CD key hash
you would like to remove from the ban list.
admin.clearBanList: Clears all ban lists.
admin.listBannedAddresses: Displays a list of the
currently banned IP addresses.
admin.listBannedKeys: Displays a list of the currently
banned CD keys.
admin.kickPlayer: Enter the ID number of the player
you would like to kick.
|