Difference between revisions of "Community Servers"
(→Setup) |
(→Linux) |
||
| Line 11: | Line 11: | ||
We have been testing our build on a machine running Ubuntu 17.04. Just copying the server files, making sure the server has the correct permissions and running | We have been testing our build on a machine running Ubuntu 17.04. Just copying the server files, making sure the server has the correct permissions and running | ||
'''LinuxServer\Battalion\Binaries\Linux\BattalionServer''' | '''LinuxServer\Battalion\Binaries\Linux\BattalionServer''' | ||
| − | should be good enough. | + | |
| + | should be good enough. | ||
=== Windows === | === Windows === | ||
Revision as of 05:15, 31 January 2018
Contents
Downloading
Either grab from steam or download from
Setup
Linux
We have been testing our build on a machine running Ubuntu 17.04. Just copying the server files, making sure the server has the correct permissions and running LinuxServer\Battalion\Binaries\Linux\BattalionServer
should be good enough.
Windows
Just unpack/copy the server files to your desired location and run WindowsServer\Battalion\Binaries\Win64\BattalionServer-Win64-Shipping.exe
with the desired parameters.
Map and Mode Rotation
Game Mode Configuration
Server Admin Commands
See below for a mix of official and dev/debug commands. Not all commands are listed and those that are may or may not exist in future versions.
All start with "Server."
| Config.<CONFIG_NAME> <VALUE> | Change server config values |
| Restart | Restart the server |
| Shutdown | Shutdown the server |
| EndRound | Force end the round |
| Pause | Pause the game - use again to unpause |
| WinRound | Force win the round |
| LoseRound | Force lose the round |
| LoadNextGame | Load the next map/mode in the rotation |
| ChangeMap <MAP> <MODE> | Change to a map + mode |
| Announce <MESSAGE> | Announce a message to everyone in the server |
| Invulnerable | Make yourself invulnerable |
| GiveWeapon <WEAPON NAME> | Give a specified weapon to yourself |
| GiveGrenade <NUM> | Give a grenade to yourself |
| GiveSmokeGrenade <NUM> | Give a smoke grenade to yourself |
| GiveAmmo <NUM> | Give ammo to yourself |
| DisconnectAll | Disconnect everyone from the server |
| AddBot <NUM> | Add a bot to the server |
| KillBots | Kill all bots |
| KickPlayerByName <NAME> | Kick player by name |
| KickPlayerBySteamID <ID> | Kick a player by their steam id |
| ListPartyMembers | List all party members |
| ChangeToTeam <0 or 1> | Change yourself to team |
| State <STATE_NAME> | Change the game state to (WaitingToStart, CountdownToStart, SetupRound, PostRound, PostMatch) |
Cmd.GetPlayerStats will dump out the entire session player info.