You can run an Astro Colony server on your own VPS with ZapX. Astro Colony is not (yet) included in the Game Server Installer, so you’ll need to set up the server manually. The server files are available for free through SteamCMD for both Windows and Linux. This guide explains what you need, how to install and start the server, and which ports to open.
| Requirement | Astro Colony |
|---|---|
| Operating system | Windows Server or Linux, such as Debian or Ubuntu |
| Server files | SteamCMD app ID 2662210 (Windows) or 2934900 (Linux), anonymous download |
| Access | Windows: Remote Desktop · Linux: SSH |
Astro Colony is not (yet) available in the Game Server Installer, so you’ll need to install the server yourself. To use a different operating system, install another template under Settings > Reinstallation. This deletes all data on your VPS. For more information, see Server Reinstallation.
On Windows, start the server using AstroColonyServer.exe in the server folder. On Linux, use AstroColonyServer.sh. Add these parameters:
AstroColonyServer.exe -log -SteamServerName="Mein Astro Colony Server" -QueryPort=27015
| Parameter | Description |
|---|---|
-log | Opens a window showing the server output |
-SteamServerName | Name displayed in the server list. Keep it short—according to the developer, under 30 characters. |
-QueryPort | Query port for the server list |
Do not change the game port using -port. According to the developer, players may no longer be able to join the server if you do.
To have the server start automatically after your VPS restarts, create a task in Task Scheduler on Windows that runs the server at system startup. On Linux, you can use a systemd service or start the server in a screen session.
Settings are stored in ServerSettings.ini. On Windows, the file is located in AstroColony\Saved\Config\WindowsServer\; on Linux, it is in AstroColony/Saved/Config/LinuxServer/. Stop the server before editing the file, then start it again afterward. Important settings include:
| Setting | Description |
|---|---|
ServerPassword | Password required to join |
MaxPlayers | Number of player slots |
Seed and MapName | World seed and map |
AdminList | Admins’ SteamID64s, separated by commas |
AutosaveInterval and AutosavesCount | Time between automatic saves and the number of saved states to keep |
ShouldLoadLatestSavegame | Loads the latest save when the server starts |
The server recognizes admins listed in AdminList in-game by their Steam IDs. Among other things, they can save, load, and upload save files.
| Port | Protocol | Use |
|---|---|---|
| 7777 | UDP | Game |
| 27015 | UDP | Query (server list) |
Open these ports in your operating system’s firewall: on Windows, use the Windows Firewall (Manage Windows Defender Firewall Rules); on Linux, follow the steps in Set Up a Linux Firewall, for example. Also open them in the ZapX dashboard under the Network Firewall tab for your VPS.
