Overview
Core Keeper is a mining sandbox game supporting up to 8 players. Setting up a dedicated server provides a persistent world that stays online when the host is not playing.
Requirements
- A Breeze with at least 2 GB RAM
- 5 GB disk space
Step 1: Install the Server
sudo useradd -r -m -d /opt/corekeeper ckserver
sudo -u ckserver steamcmd +force_install_dir /opt/corekeeper/server \
+login anonymous \
+app_update 1963720 validate \
+quitStep 2: Create a Start Script
sudo -u ckserver tee /opt/corekeeper/start.sh <<'EOF'
#!/bin/bash
cd /opt/corekeeper/server
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./linux64
./CoreKeeperServer -batchmode -logfile /opt/corekeeper/logs/server.log
EOF
chmod +x /opt/corekeeper/start.shStep 3: Create a Systemd Service
sudo tee /etc/systemd/system/corekeeper.service <<EOF
[Unit]
Description=Core Keeper Server
After=network.target
[Service]
User=ckserver
WorkingDirectory=/opt/corekeeper
ExecStart=/opt/corekeeper/start.sh
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now corekeeperConnecting
After starting, the server generates a Game ID. Players enter this ID in the game to connect. Check the server log for the Game ID.