BATTALION Legacy has no admin list with SteamIDs. Instead there is a single admin password for the server: whoever enters it through the in-game console is an admin. So you do not need to collect any IDs – you simply hand the password to the people who should get admin rights.
Set the admin password
-
Open the dashboard
Open the dashboard of your server and switch to the Settings. -
Enter the password
Enter the password you want in the Admin Password field. -
Restart the server
Save the change and restart your server. The password is passed on at startup and therefore only takes effect after a restart.
Enable the developer console
You enter the admin commands through the in-game developer console. It is disabled by default and has to be enabled once.
-
Close the game
Close BATTALION Legacy so your change is not overwritten when the game exits. -
Open the configuration folder
Open the following folder on your PC. You can paste the path straight into the address bar of the Explorer:%LOCALAPPDATA%\Battalion\Saved\Config\WindowsClient -
Open Input.ini
Open the fileInput.iniin a text editor. If it does not exist yet, create it. -
Set the console key
Add the following two lines at the end of the file:[/script/engine.inputsettings] ConsoleKey=Tilde -
Save and start
Save the file and start BATTALION Legacy again.
Log in as an admin
-
Join the server
Join your server. How to find it is described in Join Server. -
Open the console
Press the~key in the game to open the console. -
Log in
Enter the following command and replace<password>with your admin password:Server.Login <password> -
Result
From now on the server accepts your admin commands. If nothing happens when you run a command, the login was not successful – check the password and log in again.
Use admin commands
All admin commands start with Server. and are entered in the same console. Upper and lower case do not matter.
| Command | Effect |
|---|---|
Server.Login <password> |
Logs you in as an admin |
Server.ChangeMap <map> <mode> |
Switches to a different map and game mode |
Server.Config.<variable> <value> |
Changes a server setting at runtime, for example Server.Config.NumBots 0 |
Server.KillBots |
Removes the bots from the current round |
Server.Announce <message> |
Shows an on-screen message to every player |
Server.Pause |
Stops the round timer without blocking the players |
