Gå til innhold

Console commandoer i BF2?


Anbefalte innlegg

Videoannonse
Annonse
Skrevet

SERVER ADMIN COMMANDS

========================================================================

 

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

Skrevet
Vet noen om noen console commandoer til BF2? Er det en liste elns?

 

 

Takker for svar!

...og alt dette står i readme-fila som følger med demoen.

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...