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.
- Connect to your VPS using Remote Desktop.
- Download SteamCMD for Windows and extract it, for example, to
C:\steamcmd. - Open a command prompt in the
C:\steamcmdfolder and download the server:
steamcmd.exe +force_install_dir C:\GameServers\astrocolony +login anonymous +app_update 2662210 validate +quit
- Connect to your VPS using SSH.
- Set up SteamCMD as described in Set Up SteamCMD on Linux.
- Download the Linux server:
./steamcmd.sh +force_install_dir ~/astrocolony +login anonymous +app_update 2934900 validate +quit
The Linux server also needs the steamclient.so file from the Steamworks SDK Redistributables (SteamCMD app ID 1007). Copy it to the AstroColony/Binaries/Linux folder on your server.
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.
Updates are not installed automatically. Stop the server and run the SteamCMD command from the installation steps again. Then start the server again.
| 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.
Save files and settings are stored in the AstroColony\Saved folder on your server. Stop the server and regularly copy this folder to a safe location.
Your entire VPS is also backed up automatically every day. With an active ZapX Pass, you can restore these backups yourself and create your own backups. For more information, see Daily Backups, Restoring Backups, and Restricted Actions.
For full details about the dedicated server, see the developer’s guide, linked in the official Astro Colony Steam announcements.
Your Astro Colony server is now running on your VPS. To learn how to connect, see Astro Colony: Connect to the Server. If you have any questions or need help, our support team is here for you every day! 🙂