Self-hosting an Avorion server (and when renting one is worth it)
Updated: 02 October 2026 · Guide · VPS · Game server
The Avorion server comes anonymously via SteamCMD. It's controlled entirely through launch parameters; on first start it creates the galaxy in a data folder of its own.
Install and start
steamcmd +force_install_dir ~/avorion +login anonymous +app_update 565060 validate +quit cd ~/avorion && ./bin/AvorionServer --galaxy-name my-galaxy \ --admin <your-steam-id64> --datapath galaxy --max-players 10
--admin expects your 17-digit Steam ID, not the display name. Without it there's no admin, and many interventions (resetting a sector, restoring a ship) only work with admin rights.
Ports: four of them
Avorion uses a game port (default 27000, UDP and TCP), a query port (27003) and two Steam ports (27020 and 27021). Our servers run with exactly these values as the basis.
sudo ufw allow 27000 sudo ufw allow 27003/udp sudo ufw allow 27020:27021/udp
Memory: the galaxy grows
Avorion keeps every visited sector. Stations and fleets keep sectors active even when nobody is online. Memory needs therefore depend on play time and the size of your trading fleet, not on the player count. You set the save interval with --save-interval (seconds).
Settings that reset on start
In server.ini, the [Game] section contains values that have no effect in the file. Avorion applies the galaxy's scenario on every start (in the log: scenario: Normal) and thereby resets nine fields, without an error message. For us that affected InfiniteResources, StartingResources, DamageMultiplier, ResourceAsteroidFactor, ResourceWreckageFactor, Storyline, Barrier, PermaDestruction and FullBuildingUnlocked. Building limits, motd, PlayerToPlayerDamage and HardcoreEnabled, on the other hand, stayed as set.
If you change one of the nine values in the file, you'll see it back at the old value after the next start. These values belong to the scenario, not the file. So after every change, restart once and read server.ini again before relying on it.
Running, but nobody can join? First check whether the process is really listening on the port you opened. “The process is running” doesn't prove that: we had a server exposed on a port where nothing was listening, and that only showed up in a targeted check.
sudo ss -tulpn | grep -E ':(27000|27003|27020|27021)'
Keep it running permanently
Instead of tmux or screen: as a systemd service the server starts by itself after a machine reboot, and a crash leads to a new start instead of an empty server. Create the file /etc/systemd/system/avorion.service:
[Unit] Description=Avorion Server After=network-online.target Wants=network-online.target [Service] User=<username> WorkingDirectory=/home/<username>/avorion ExecStart=/home/<username>/avorion/bin/AvorionServer --galaxy-name my-galaxy --admin <your-steam-id64> --datapath galaxy Restart=on-failure [Install] WantedBy=multi-user.target
sudo systemctl daemon-reload sudo systemctl enable --now avorion journalctl -u avorion -f
Avorion saves at the interval you set with --save-interval. Before a restart via systemctl, enter /save in the console, otherwise the time since the last save is lost.
Measured: a fresh server without players
Freshly ordered and without players, measured on 28 September 2026 on our game server node (Xeon Gold 6138): installation including the download via SteamCMD took 52 seconds, the first start 11 seconds. With a fresh galaxy the server used 192 MB of RAM and 16 % of one core, 475 MB on disk; a full backup was 220 MB compressed. Game traffic is carried by Steam networking: of the four ports, two were listening on UDP directly after start, including the query port. RAM excluding file cache, CPU as a share of one core at idle.
Self-host or rent: the honest trade-off
With an Avorion server rented from us, server.ini and the launch parameters are fields in the control panel, the four ports are assigned permanently, and at start the server checks for updates itself. We don't have an RCON connection for Avorion yet.
- Rent an Avorion serverLaunch parameters and admins in the control panel
- All Avorion settings in the panelGenerated from the control panel's source code
- Before this: secure the VPSSet up SSH key and firewall
- Server running, but nobody can join?Five checks and all default ports