Trainers City - Battlefield 2 - Cheat Codes - [PC]



Name of the file: Battlefield 2 - Cheat Codes - Author: ANO - [PC]

Cheat mode:
Enter one of the following console commands on a server to activate the corresponding cheat functions.

List map ID number, name, mode, and number of players - mapList.list
Set path to "_mapList.con" file - mapList.configFile
Reload "_mapList.con" file - mapList.load
Save current map list to "_mapList.con" file - mapList.save
Show total number of maps in current map list - mapList.mapCount
Show the map list ID number of current map - mapList.currentMap
Clear current map list - mapList.clear
Remove specified map from map list - mapList.remove [name]
List players connected - admin.listPlayers
End round and start next map on map list - admin.runNextLevel
View map list ID number for current map - admin.currentLevel
View map list ID number for the next map to be played - admin.nextLevel
Restart current map - admin.restartMap
Ban indicated player by ID; see below for timeout values - admin.banPlayer [id number] [timeout]
Ban indicated player by CD key hash; see below for timeout values - admin.banPlayerKey [key hash] [timeout]
Ban indicated player by IP address; see below for timeout values - admin.addAddressToBanList [ip address] [timeout]
Ban CD key hash; see below for timeout value - admin.addKeyToBanList [key hash] [timeout]
Remove indicated IP address from ban list - admin.removeAddressFromBanList [ip address]
Remove indicated CD key hash from ban list - admin.removeKeyFromBanList [key hash]
Clear all ban lists - admin.clearBanList
List banned IP addresses - admin.listBannedAddresses
List banned CD keys - admin.listBannedKeys
Kick indicated player - admin.kickPlayer [ID number]

Ban values - Use one of the following entries with the banning commands.
Permanent ban - perm
Until next map - round
Number of seconds - [whole number]

Epoch expiration date; seconds since 1Ǘ񳎢 - [whole number]



Remote Console Access

To setup remote console access to the server:

- On the server create a new plain text document in admin called default.cfg
- Enter the following text into the new file:

port=4711
password=YourPassword

- Save the file, and start the server.
Now you can access the server remotely by using the following commands from a client:

- rcon login
Use this command to login to the server.

- rcon users
This command lists all the users connected to the server. Very similar to admin.listPlayers

- rcon exec
Replace with a console command you would like to execute on the server. For example: rcon exec admin.kickPlayer 3



Copyright (c) 1998 - 2016 - Trainers City - The Trainers Bible - All Rights Reserved - back