Raft Dedicated Server
Raft is a cooperative survival game where players build rafts and explore oceanic worlds. The dedicated server allows persistent worlds and larger multiplayer sessions.
Requirements
- 2 CPU cores
- 4GB RAM
- 10GB disk space
- SteamCMD
Installation
# Install SteamCMD
sudo apt install -y steamcmd
# Download Raft dedicated server
steamcmd +force_install_dir /opt/raft \
+login anonymous \
+app_update 648800 validate \
+quit
Configuration
# Edit server settings at /opt/raft/config.json
# ServerName, MaxPlayers, Password, etc.
# Configure world generation options
# Set auto-save intervals
Running
cat > /etc/systemd/system/raft.service << EOF
[Unit]
Description=Raft Dedicated Server
After=network.target
[Service]
WorkingDirectory=/opt/raft
ExecStart=/opt/raft/RaftDedicatedServer.x86_64
User=gameserver
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
systemctl enable --now raft
ufw allow 27015/udp
ufw allow 27016/udp
Tips
- Regular backups of world saves
- Monitor memory usage as raft builds grow
- Auto-update via SteamCMD cron job