The admin password lets you log in from the in-game console and run server commands: change the map and mode, kick players, remove bots or pause the round. Your server already has a random admin password; here's how to set your own and use it.
Setting Your Admin Password
- Log in to Bropanel and select your server.
- In the sidebar, go to
Settings. - Under
Basic, editAdmin Password. - Click
Save & Restartto apply your changes.
The password must be at least 8 characters and can only use letters, numbers, dashes and underscores.
Turning On The Game Console
BATTALION: Legacy has no console key by default. Each admin does this once on their own computer:
- Close BATTALION: Legacy.
- Press
Windows + R, type%LOCALAPPDATA%\Battalion\Saved\Config\WindowsClientand pressEnter. - Open
Input.iniwith Notepad, or create it if it doesn't exist. - Add these two lines at the end and save the file:
[/script/engine.inputsettings] ConsoleKey=Tilde - Start the game again.
Logging In As Admin
- Join your server.
- Press
~to open the console. - Type
Server.Login yourpasswordwith yourAdmin Passwordand pressEnter.
You stay logged in until you leave the server. Type Server. in the console to see every admin command. Useful ones are Server.ChangeMap, Server.KickPlayerByName <name>, Server.KillBots and Server.Pause.
