Professional Documents
Culture Documents
MP Commands
MP Commands
-----------------
The executable 'console.exe' found in the main game directory is used to remotely
control a running
IGI2 game server, dedicated or non-dedicated. It can be run from any computer.
- Open a 'DOS-window' and change directory to the main game directory where
console.exe is located.
- Enter console <ip> <port>, where ip and port specifies the server you want to
access. For example
console 127.0.0.1 26002 would try to access a game server running at ip 127.0.0.1
and port 26002.
- You should now see the IGI2> prompt, and the application will ask you to enter a
password.
This password is the *rcon password*. Just enter the password alone and press
enter.
- To test if you really have access now, try a simple and harmless command, like :
'lo timeout'.
You should get the current timeout value from the server in return.
- When you access the server from the console, you are considered to actually enter
your commands
directly on the server.
In the command section below you will see commands described as only working if
entered
from the server, i.e. not from a client. All those commands will also work from
the console.
- The server will remove you from its console user list if you idle for too long.
If this happens,
the console will ask you to re-enter the password before you can enter other
commands.
- The server may lose some of your commands. Re-issue a command if you are not
correctly prompted.
- Here are a few examples of commands. You will all commands in the COMMANDS
section further below:
COMMANDS
--------
- Asterix (*) indicates that remote control privilleges are needed to run the
following command.
- Make sure you enter semi-colons(;) and quotes(") where indicated. Also make sure:
*no space*
between command and any following paranthesis.
sv rcon("somepass");
sv kick 3
sv unban 1
sv suicide
lo moneystart 3400
Remote control
--------------
Map Control
-----------
Shop
----
[*]sv addmoney <amount> // add amount money to
all players. Use negative values to deduct money.
System
------
NOTE: A dedicated server needs to be started from the command line. See MP-
README.txt.
// On a client:
Maximum allowed time between any two packets sent from the server before
// the local host
disconnects from the network game.
Local settings
--------------