Gamespace BF2 RCON Guide
LOGGING IN TO CONSOLE
To view the console push the (`) key which is left of the 1 key. You will then need to type the following command:
rcon login [password] eplace [password] with your rcon password. Once you have logged in you will receive a message informing you whether the login was successful or not.
MAPLIST COMMANDS
rcon exec admin.currentLevel
Shows the map list ID number for the current map being played.
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.
rcon exec admin.runNextLevel
Forces the server to end the round and start the next map in the map list.
rcon exec mapList.list
Every map on the server has an ID number, which is used for voting to change maps. This command lists these numbers, the map name, number of players and game mode.
rcon exec mapList.load
Makes the server reload the _mapList.con
rcon exec mapList.save
Saves the current map list on the server to the file _mapList.con
rcon exec mapList.mapCount
Shows the total number of maps in the current map list
mapList.currentMap
Shows the map list ID number of the current map being played
rcon exec mapList.clear
Clears the current map list. Warning: If there are no maps in the map list when the server starts loading a new map, all clients will be left on the loading screen.
rcon exec mapList.remove [map ID number]
Removes the map you specify from the map list
rcon exec mapList.append [map name] [game mode] [number of players]
Add a new map to the end of the map list. You must specify the map name and the game mode. Number of players is optional, if not specified will default to the current server
setting.
rcon exec mapList.insert [map ID number] [map name] [game mode] [number of players]
Exactly the same as mapList.append, but with this command you can specify at what map ID number to insert the new map into the list at.
ADMIN COMMANDS
rcon exec game.sayAll "enter what you want to say here"
Outputs your input for all to see as a global console message.
rcon exec admin.listPlayers
Lists the players connected to the server with the player ID number, name and Hashkey. The players ID number is also available on the Scoreboard / Manage Tab.
rcon exec admin.kickPlayer [player ID number]
Enter the ID number of the player you want to kick.
rcon exec admin.banPlayer [player ID number] [timeout]
Enter the player ID number you would like to ban. Bans the player from this server using their IP address. You can choose a time out duration: Entering 'perm' means the ban is permanent. This is the default if no time out is entered. A number meaning the number of seconds the ban will be active (i.e. 3600 = 1 hour / 300 = 5 mins etc). Entering 'round' means the ban is active until the next map.
rcon exec admin.banPlayerKey [player ID number] [timeout]
Enter the player ID number. Bans the player from the server by using their CD key hash. You can also specify a timeout same as above.
rcon exec admin.addKeyToBanList [CD key hash] [timeout]
Enter the CD key hash you want to ban.
rcon exec admin.listBannedKeys
Displays a list of the currently banned CD keys.
rcon exec admin.removeKeyFromBanList [CD key hash]
Enter the CD key hash you want to remove from the ban list.
rcon exec admin.addAddressToBanList [IP address] [timeout]
Enter the IP number you would like to ban and timeout duration.
rcon exec admin.listBannedAddresses
Displays a list of the currently banned IP addresses.
rcon exec admin.removeAddressFromBanList [IP address]
Enter the IP address to remove from the ban list.
rcon exec admin.clearBanList
Clears all ban lists.
BF2 Game Guide
This guide provides links to the BF2 community
BF2 Player Scoring System
Positive Points
- Kill: 2
- Kill Assist: 1
- Kill Assist-Driver: 1
- Kill Assist-Passenger: 1
- Revive: 2
- Heal: 1
- Resupply: 1
- Repair: 1
- Driver Special Ability: 1 (if passenger heals, resupplies, repairs)
- Destroy Enemy Asset: 1 point
- Flag Capture: 2
- Flag Neutralize: 2
- Flag Capture-Assist: 1
- Flag Neutralize-Assist: 1
- Flag-Defend: 1
Negative Points
- Team Kill: -4
- Team Damage: -2
- Team Vehicle Damage: -2
- Suicide: -2
- Destroy Own Asset: -2 to -4 depending how damaged (counts as Team Vehicle Damage)
- You do NOT get negative points if someone punishes you on teamkills. This is a myth and has been disproven. The reason team kill points may vary is because sometimes team damage is done before the actual kill. Punishment is only used to determine if someone gets kicked by the server after a set number of punishments.
Commander Score
- The commander score is the sum of all commander points earned. The commander points are every point earned by a member of your team during your reign as commander divided by the total of living team members at the given time.
- This is multiplied by two at the end of the round, when your team wins, and only if you are still active commander at the end of the round.
- Artillery kills or any personal achievement does not add up to this number. Personal achievements besides artillery kills are added to your points in the round, and count as combat or team points.
Ticket Reduction
- The following are things that affect ticket loss.
- Player Killed. When a players critically wounded time is up, they then die and ticket is lost. If a player is instantly killed, suicides, etc a ticket is lost.
- Flag Capture. When a team captures a flag, the opposing team looses tickets based on the flags value. Ticket bleed is determined by the flags "value" and the number of flags controlled. If the combined flag "value" for the flags your team holds is over 100, there will be a slight constant ticket loss for the opposition of between 6-12 tickets per minute (depending on the map/team).
MAPLIST COMMANDS:
- mapList.list
Every map on the server has an ID number, which is used for voting to change maps. This command lists those numbers, the map name, game mode and the number of players if specified.
- mapList.configFile <new location for file>
Used to specify the location of the _mapList.con
The default is \My Documents\Battlefield 2 Demo\ServerConfigs\
- mapList.load
Makes the server reload the _mapList.con
- mapList.save
Saves the current map list on the server to the file _mapList.con
- mapList.mapCount
Shows the total number of maps in the current map list
- mapList.currentMap
Shows the map list ID number of the current map being played
- mapList.clear
Clears the current map list.
Warning: If there are no maps in the map list when the server starts loading a new map, all clients will be left on the loading screen.
- mapList.remove <map ID number>
Removes the map you specify from the map list
- mapList.append <map name> <game mode> [number of players]
Add a new map to the end of the map list. You must specify the map name and the game mode. Number of players is optional, if not specified will default to the current server setting.
- mapList.insert <map ID number> <map name> <game mode> [number of players]
Exactly the same as mapList.append, but with this command you can
specify at what map ID number to insert the new map into the list at.
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 <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), meaning the epoch expiration time of the ban (number of seconds since 1 Jan 1970).
- 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. See admin.banPlayer for the time out list.
- admin.addAddressToBanList <IP address> [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 <CD key hash> [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 <IP address>
Enter the IP address you would like to remove from the ban list.
- admin.removeKeyFromBanList <CD key hash>
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 <player ID number>
Enter the ID number of the player you would like to kick.
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 <YourPassword>
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 <command name>
Replace <command name> with a console command you would like to
execute on the server.
For example: rcon exec admin.kickPlayer 3
For more advanced server management features we recommend you download one of the many tools available for Battlefield 2.
========================================================================
VoIP
========================================================================
STANDALONE VoIP SERVER
Battlefield 2 supports running a remote VoIP server. Running the VoIP server remotely takes load off the main game server, and so increases performance.
SETUP
In the Battlefield 2 Server Launcher:
- VoIPEnabled
Enables VoIP in Battlefield 2.
- VoIPServerRemote
Enable this if you would like to run VoIP via a remote server.
- VoIPServerRemoteIP
Enter the IP address of the remote VoIP server.
- VoIPServerPort
Specifies the Battlefield 2 server socket used to communicate with the Remote VoIP Server.
- VoIPBFClientPort
Specifies the Battlefield 2 client socket used to communicate with the Remote VoIP Server.
- VoIPBFServerPort
Specifies the socket on the Remote VoIP Server used to communicate with the Battlefield 2 client and the Battlefield 2 server.
- VoIPSharedPassword
Here you can specify a password to be used to access the VoIP server.
- VoIPQuality
Here you can specify the VoIP quality. Higher values will increase the quality of the transmitted sound, and will also require more bandwidth.
- LAN servers started via the front end have a default quality setting of 5, the highest.
- The Battlefield 2 Server Launcher defaults to a quality setting of 3. This is best for internet games. For LAN games you can increase this to improve the transmission quality.
The Battlefield 2 Standalone VOIP Server can be installed on a separate machine by following the install procedure; select custom install and select BF2 VOIP server.
You may need to edit the 'voip.con' file on the standalone VoIP server. By default this file contains:
55125 no_password
- '55125'
This is the default port assignment the Battlefield 2 Server will use to communicate with the Standalone VoIP Server. This number must match the one in VoIPServerPort, set in the Battlefield 2 Server Launcher.
- 'no_password'
This password must match the one set in VoIPSharedPassword in the Server Launcher.
MULTIPLE INSTANCES
You can have multiple instances of the Battlefield 2 Server connected to the Battlefield 2 Standalone VoIP Server. To do this you must ensure that each instance connects via an unique port. For example:
- Instance 1
VoipServerPort 55127
VoipBFClientPort 55128
VoipBFServerPort 55129
- Instance 2
VoipServerPort 55130
VoipBFClientPort 55131
VoipBFServerPort 55132