How do I manage my Battlefield 2/2142 server? (Without the BF2CC) last updated on the 2/9/2007
This article will help you setup basic admin for your
Art of War Central Battlefield 2 ranked or unranked server.
To begin editing your server files you may use our file
management system found via our manage link on our account management system.
This will load our server manager and give you access to our file management
system. Our file management system is great for editing text based configuration
files.
REMOTE CONSOLE ACCESS:
-
To activate remote console the password must be set in the default.py
file that is located in the Admin folder via the file management. The file can
be edited by clicking on it. The section that must be edited is shown below:
This is how the section you must edit looks by default
|
options = {
'port':
'4711',
'password': None,
# True
if multiple commands should be processed in one update and
# if as
many responses as possible should be sent each update.
'allowBatching':
False
} |
You must edit the password line to set the remote admin
password. Make sure to place a â before and after the selected password. DO
NOT MODIFY ANY OTHER INFORMATION IN THIS FILE!
|
options = {
'port':
'4711',
'password': âpasswordâ,
# True
if multiple commands should be processed in one update and
# if as
many responses as possible should be sent each update.
'allowBatching':
False
} |
-
To log in as a remote admin: Connect to the game as a player. Open the
console by pressing ~ and enter the command rcon login . Note that
there are spaces between each section of the full command.
-
To input a command through the remote console: All commands inputted
through remote console must use the following format: rcon exec âcommandâ
Example: rcon exec âadmin.kickplayer 7â
==================================================================
SERVER ADMIN COMMANDS
==================================================================
GENERAL COMMANDS:
- Game.listplayers
Every player has an ID number, which is used for
kicking/voting
off the player. This command lists those numbers.
- Game.listmaps
Every map on the server has an ID number, which is used
for voting
to change maps. This command lists those numbers.
- Game.enablefreecamera *
This enables free look mode on clients who are waiting
to spawn.
For *, 1 turns free look on, 0 turns it off. Note that
this
command can only be run from the server, or by a user
that has
remote server access.
ADMIN COMMANDS:
- Admin.kickplayer *
* is equal to the player id number. Note that this
command can
only be run from the server, or by a user that has
remote server
access.
- Admin.banplayer *
* is equal to the player id number. Note that this
command can
only be run from the server, or by a user that has
remote server
access.
- Admin.removeaddressfrombanlist *
* is equal to the IP of a banned player. Note that this
command
can only be run from the server, or by a user that has
remote
server access.
- Admin.changemap *
* is equal to the map name. Note that this command can
only be
run from the server, or by a user that has remote server
access.
- Admin.addaddresstobanlist *
* is equal to the IP address to the client that is to be
banned.
Note that this command can only be run from the server,
or by a
user that has remote server access.
- Admin.clearbanlist
This allows all users that were previously banned to
once again
connect to the server. Note that this command can only
be run
from the server, or by a user that has remote server
access.
- Admin.externalviews *
This command enables/disables external camera views on
clients
connected to the server. For *, 1 turns external views
on, 0
turns it off. Note that this also disables the nose cam.
Also,
note that this command can only be run from the server,
or by a
user that has remote server access.
- Admin.listbannedaddresses
Lists the IP addresses that are banned from connecting
to the
server. Note that this command can only be run from the
server,
or by a user that has remote server access.
- Admin.allownosecam *
This command enables/disables the ability for clients to
turn
off the airplane HUD. (Allows easier flying.) For *, 1
turns
nose cam on, 0 turns it off. Also note that if external
views
are turned off, nose cam cannot be used. Note that this
command
can only be run from the server, or by a user that has
remote
server access.
VOTING COMMANDS:
- Game.votemap *
This command will initiate/cast a vote to change maps on
the
server. * is equal to the map id number.
- Game.votekickplayer *
This command will initiate/cast a vote to kick a player.
Players
on both teams can participate in this vote. * is equal
to the
player id number.
- Game.votekickteamplayer *
This command will initiate/cast a vote to kick a player.
Voting
is restricted to the team of the player who initiated
the vote.
* is equal to the player id number.
- Admin.votingtime *
This command sets the amount of time clients have to
cast a vote
after it has been initiated. * is equal to the number of
seconds
clients will have to vote. Note that this command can
only be run
from the server, or by a user that has remote server
access.
ADMIN COMMANDS TO EDIT THE MAP LIST OF A RUNNING SERVER:
Maplist.List
This command lists all the maps present in the servers
map list with the number assigned to each map.
Maplist.append
This command allows admins to update the maplist for a
server on the fly. The value âgpm_cqâ must be specified as the second value for
the command.
Maplist.remove *
This command is used to remove a specific map from
the servers rotation. The * represents the number value for the map the admin
wishes to removed. The numbers associated for each map can be found by using
the Maplist.list command shown above.
OTHER HELPFUL COMMANDS:
- Console.showfps *
This toggles the FPS display on and off. For *, 1 turns
FPS on
and 0 turns it off.
- Console.showstats *
This toggles the debug stats display on and off. For *,
1 turns
the debug stats display on and 0 turns it off.
- Game.changeplayername *
This allows a user to quickly change his name. * is
equal to the
player name. |