Avorion
| Platform | Support | Notes |
|---|---|---|
| Linux | ✅ Native | Recommended |
| Windows | ✅ Native |
System Requirements
- RAM: 4 GB minimum (scales with galaxy size and active sectors)
- CPU: 2 vCPU minimum
- Storage: 30 GB available space
- Network: Stable 15+ Mbps for 16+ players
- Note: Larger galaxies and more active players = exponential resource usage
Installation (Linux)
1. Install via SteamCMD
# Install SteamCMD
mkdir -p ~/steamcmd && cd ~/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
# Create server directory
mkdir -p /opt/avorion
# Download dedicated server
./steamcmd.sh +login anonymous \
+app_update 565060 validate \
+force_install_dir /opt/avorion \
+quit
AppIDs:
2. Server Configuration
Edit /opt/avorion/server.ini:
[Server]
name = DeluxHost Avorion
description = Community Space Server
port = 27000
seed = 12345
password =
adminPassword = admin123secure
maxPlayers = 16
maxConnections = 32
[Galaxy]
# Seed determines universe generation
seed = 12345
size = 8 # 4-12 (larger = more resource intensive)
sectors = 1000 # Affected by size
galaxyCenter = 512,512
[Game]
difficulty = 1.0 # 0.5-2.0 (higher = harder)
enablePvP = true
enableShopNpcs = true
enableMercenaries = true
[Performance]
updateRate = 30
tickRate = 30
maxActiveSectors = 10
3. Launch Script
Create /opt/avorion/start.sh:
#!/bin/bash
cd /opt/avorion
./server.sh
chmod +x /opt/avorion/start.sh
- Game: 445220
- Dedicated Server: 565060
Systemd Service
Create /etc/systemd/system/avorion.service:
[Unit]
Description=Avorion Dedicated Server
After=network.target
[Service]
Type=simple
User=avorion
WorkingDirectory=/opt/avorion
ExecStart=/opt/avorion/start.sh
Restart=on-failure
RestartSec=10
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable avorion
sudo systemctl start avorion
Firewall Configuration
# UFW
sudo ufw allow 27000/tcp
sudo ufw allow 27000/udp
# iptables
sudo iptables -A INPUT -p tcp --dport 27000 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 27000 -j ACCEPT
# Verify
sudo ss -tlunp | grep 27000
Galaxy Save Management
Backup Galaxy Data
Critical files location: ~/.avorion/galaxies/
# Backup active galaxy
GALAXY_PATH="/root/.avorion/galaxies"
BACKUP_DIR="/backups/avorion"
mkdir -p $BACKUP_DIR
# Backup entire galaxy database
tar -czf $BACKUP_DIR/galaxy-$(date +%Y%m%d_%H%M%S).tar.gz \
$GALAXY_PATH/
# Keep last 7 days of backups
find $BACKUP_DIR -name "galaxy-*.tar.gz" -mtime +7 -delete
Create automated backup script /opt/avorion/backup.sh:
#!/bin/bash
GALAXY_PATH="/root/.avorion/galaxies"
BACKUP_DIR="/backups/avorion"
mkdir -p $BACKUP_DIR
tar -czf $BACKUP_DIR/galaxy-$(date +%Y%m%d_%H%M%S).tar.gz $GALAXY_PATH/
# Keep backups for 7 days
find $BACKUP_DIR -type f -mtime +7 -delete
echo "Galaxy backup completed: $(date)" >> $BACKUP_DIR/backup.log
chmod +x /opt/avorion/backup.sh
Add to crontab:
# Backup daily at 3 AM
0 3 * * * /opt/avorion/backup.sh
Mods & Workshop Integration
Avorion supports Steam Workshop mods:
Install Workshop Mods
# In server.ini, add workshop IDs
[Steam]
workshopIds = 123456789,987654321,555666777
Get Workshop ID:
# Restart to load mods
sudo systemctl restart avorion
- Find mod in Steam Workshop
- URL format: steamcommunity.com/sharedfiles/filedetails/?id=XXXXX
- Add ID to workshopIds list
Windows Installation
1. Download & Extract
2. Configuration
Edit C:\Avorion\server.ini:
[Server]
name = DeluxHost Avorion
description = Community Space Server
port = 27000
seed = 12345
password =
adminPassword = admin123secure
maxPlayers = 16
3. Batch File
Create start.bat:
@echo off
cd /d C:\Avorion
server.bat
pause
4. Firewall Rules
New-NetFirewallRule -DisplayName "Avorion-27000" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 27000
New-NetFirewallRule -DisplayName "Avorion-27000-UDP" -Direction Inbound -Action Allow -Protocol UDP -LocalPort 27000
5. Windows Service
nssm install Avorion "C:\Avorion\server.bat"
nssm start Avorion
- Open Steam
- Search: "Avorion Dedicated Server" (AppID 565060)
- Install to C:\Avorion
Tips & Tweaks
Admin Commands
| Command | Syntax | Purpose |
|---|---|---|
| /admin add | /admin add [player_name] | Grant admin rights |
| /admin remove | /admin remove [player_name] | Revoke admin rights |
| /kick | /kick [player_name] | Remove player |
| /ban | /ban [player_name] [duration] | Ban player (seconds) |
| /save | /save | Force save galaxy |
| /seed | /seed [value] | Get/set galaxy seed |
| /announce | /announce [message] | Server broadcast |
Seed & Galaxy Customization
Galaxy seed determines universe generation. Use specific seeds for consistency:
# Well-known seeds in community
seed = 12345 # Default seed
seed = 0 # Procedural (random)
seed = 1 # Another procedural option
Change seed for new server only (changing existing breaks world):
# Backup old galaxy
tar -czf /backups/avorion-seed-12345.tar.gz ~/.avorion/galaxies/
# Edit server.ini with new seed
nano /opt/avorion/server.ini
# Delete old galaxy data to regenerate
rm -rf ~/.avorion/galaxies/*
# Restart server
sudo systemctl restart avorion
Sector Settings & Performance
[Performance]
maxActiveSectors = 10 # Fewer = less CPU, less interactive
maxActiveSectors = 30 # More = more CPU, better gameplay
tickRate = 30 # 30 = balanced, 60 = high CPU
updateRate = 30
Important: Reducing active sectors significantly improves CPU:
# Monitor active sectors and CPU
watch -n 1 'ps aux | grep server.sh'
Admin Console Commands
Directly in server console:
admin add playername
ban playername 3600
save
Performance Optimization Checklist
| Setting | Impact | Value |
|---|---|---|
maxActiveSectors | CPU heavy | Start at 10, increase if needed |
tickRate | Network + CPU | Lower (15-20) for better performance |
size (galaxy) | Stability | Smaller (4-6) for better performance |
difficulty | Gameplay | 0.5-1.0 for stable economy |
Example performance config:
[Performance]
updateRate = 20
tickRate = 20
maxActiveSectors = 8
asyncLoadDistance = 2
[Galaxy]
size = 6 # Smaller galaxy
sectors = 400 # Fewer sectors
Enable PvP vs PvE
# Peaceful server
[Game]
enablePvP = false
enableFactionalWars = false
enablePirates = false
# Hostile environment
[Game]
enablePvP = true
enableFactionalWars = true
enablePirates = true
difficulty = 1.5
Sector Activity Monitoring
Check which sectors are being actively used:
# Monitor logs for sector activity
tail -f /opt/avorion/logs/server.log | grep "Sector"
# Check resource usage per sector
ps aux | grep avorion
Password Protection
# Public server
[Server]
password =
# Private server (for friends)
[Server]
password = friendlypassword123
Database Optimization
Avorion stores universe data in SQLite. Periodically optimize:
# Optimize database (reduces file size, improves speed)
sqlite3 ~/.avorion/galaxies/database.db "VACUUM;"
# Check database integrity
sqlite3 ~/.avorion/galaxies/database.db "PRAGMA integrity_check;"
Save Management
Force save galaxy to prevent data loss:
# In-game console
/save
# Or via scripts
echo "/save" | timeout 30 nc localhost 27000
Restart Safety
Graceful restart to avoid player disconnections:
#!/bin/bash
# Announce restart
echo "/announce Server restarting in 5 minutes for maintenance" | nc localhost 27000
sleep 300
# Save galaxy
echo "/save" | nc localhost 27000
sleep 5
# Stop server
sudo systemctl stop avorion
sleep 10
# Backup
/opt/avorion/backup.sh
# Start
sudo systemctl start avorion
Create as /opt/avorion/restart.sh and make executable:
chmod +x /opt/avorion/restart.sh
Schedule in crontab:
# Weekly restart Sunday at 3 AM
0 3 * * 0 /opt/avorion/restart.sh
Verwandte Artikel
CS2
How to install and configure a Counter-Strike 2 dedicated server on Linux VPS with SteamCMD
Palworld
Create a dedicated Palworld server on Linux with SteamCMD. Configuration, ports and automatic startup.
Rust
Install and manage a Rust server (Facepunch) on Linux with SteamCMD. Includes automatic updates, Oxide plugins and optimizations.
