01
Before you start
Pugstorm, the studio behind Core Keeper, provides the server under the name Core Keeper Dedicated Server. It is free and downloads with SteamCMD, with an anonymous login, under ID 1963720, for Linux and for Windows. It is the players who need to own the game.
- System: this guide uses a recent 64-bit Linux VPS (Debian 12, Ubuntu 22.04 or 24.04) with a
sudo user.
- A virtual display: part of the world generation goes through the graphics engine, so the Linux server runs inside a virtual display, Xvfb. The launch script provided by Pugstorm takes care of it, as long as the packages are installed.
- Two ways to connect: the Game ID, a code generated by the server that goes through Steam's relay network, with no port to open; or a direct connection by IP address and port, which you enable yourself (see below).
- Version: the server and the players must have the same game version. Older versions remain available as Steam branches, for a world that is not ready to move to the new one.
Do the basic security settings first (SSH key, firewall, updates) with the guide securing a Linux VPS. To choose the VPS size, see which VPS for a game server.
02
Install and start the server, get the Game ID
Install the 32-bit library SteamCMD needs, along with xvfb and libxi6 for the virtual display. Create a dedicated user (the server should not run as root), then install SteamCMD and the server:
sudo apt update
sudo apt install -y lib32gcc-s1 curl xvfb libxi6
sudo useradd -m -s /bin/bash corekeeper
sudo -iu corekeeper
mkdir -p ~/steamcmd && cd ~/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
~/steamcmd/steamcmd.sh +force_install_dir /home/corekeeper/serveur +login anonymous +app_update 1963720 validate +quit
ls /home/corekeeper/serveur
The server is less than a gigabyte. The folder contains the CoreKeeperServer program, the _launch.sh launch script and a README.txt file: read it, it is Pugstorm's official documentation, updated along with the server. It gives the full list of options for your version.
If, on first start, the log reports that the steamclient.so library cannot be found, make SteamCMD's copy visible:
mkdir -p ~/.steam/sdk64
ln -s ~/steamcmd/linux64/steamclient.so ~/.steam/sdk64/steamclient.so
The first start. Do a manual test, still as the corekeeper user:
cd ~/serveur
./_launch.sh -worldname "Mon serveur Core Keeper"
The script starts the virtual display, then the server with the -batchmode option, and passes on to the server any options you add after it. The log is written to CoreKeeperServerLog.txt, in the server folder: that is where to look if the server does not start.
The Game ID. Once the server is ready, it writes its join code to a text file next to the program (GameInfo.txt in recent versions, GameID.txt in older ones) and to the log. Players enter it in the game menu to join. This code changes at every start, unless you set it with the -gameid option.
Stop the test with Ctrl+C and leave the session (exit). So that the server starts with the VPS, create /etc/systemd/system/corekeeper.service:
[Unit]
Description=Serveur Core Keeper
Wants=network-online.target
After=network-online.target
[Service]
User=corekeeper
WorkingDirectory=/home/corekeeper/serveur
ExecStart=/bin/bash /home/corekeeper/serveur/_launch.sh -world 0 -worldname "Mon serveur Core Keeper" -maxplayers 8
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now corekeeper
sudo systemctl status corekeeper
03
World, players and direct connection
Settings are passed as launch options, added to the ExecStart line. The most useful ones:
-world: the world slot number. Each number is a separate save: 0 by default.
-worldname: the world name shown to players.
-worldseed: the seed, which only matters when the world is created.
-worldmode: the game mode (normal, hard, creative or casual), also chosen at creation. The README.txt gives the values to use.
-maxplayers: the maximum number of players. The higher it is, the more resources the server needs.
-gameid: a fixed Game ID, so that the code does not change at every restart. It must follow the length and character rules in the README.txt; if it is invalid, the server generates a new one.
-datapath: the save folder, if you do not want the default location.
The ServerConfig.json file, created in the save folder, holds most of these settings.
Direct connection. The Game ID is enough for Steam players. To also accept connections by IP address, add -port followed by a port of your choice (here -port 7777) and -password followed by a password, then open that port in the firewall:
sudo ufw allow OpenSSH
sudo ufw allow 7777/udp
sudo ufw enable
Players then connect with the VPS IP address, the port and the password. Pugstorm's documentation warns that with a direct connection, the server's IP address is visible to players, and the players' addresses are visible to the server. Port logic is explained in game server ports.
04
Backups and updates
Without the -datapath option, the worlds and the ServerConfig.json file are stored in a DedicatedServer folder, in Core Keeper's usual save location:
- on Linux,
~/.config/unity3d/Pugstorm/Core Keeper/DedicatedServer (here in /home/corekeeper);
- on Windows,
%USERPROFILE%\AppData\LocalLow\Pugstorm\Core Keeper\DedicatedServer.
Archive this folder with the server stopped, so that the copy is consistent:
sudo systemctl stop corekeeper
sudo -u corekeeper tar czf /home/corekeeper/corekeeper-$(date +%F).tar.gz -C "/home/corekeeper/.config/unity3d/Pugstorm/Core Keeper" DedicatedServer
sudo systemctl start corekeeper
Then copy the archive off the VPS (scp, rsync or external storage).
Updates reuse the installation command, with the server stopped:
sudo systemctl stop corekeeper
sudo -iu corekeeper /home/corekeeper/steamcmd/steamcmd.sh +force_install_dir /home/corekeeper/serveur +login anonymous +app_update 1963720 validate +quit
sudo systemctl start corekeeper
Make a backup before every major update: a world opened with a new version cannot necessarily go back. To stay on an older version, add -beta followed by the branch name (for example -beta 1.2.1.5) after app_update 1963720; your players will then need to use the same one.
05
On CloudFive
CloudFive has no ready-made Core Keeper plan: the server is installed on a VPS, as in this guide. The Ryzen VPS, from €5.99 per month, is well suited:
- an AMD Ryzen 9 9950X, with DDR5 memory and NVMe storage;
- root access and a dedicated IP address, for direct connection;
- basic DDoS protection included. The game-specific filter is part of Premium Protection, a paid option (see protecting a game server against DDoS).
The servers are in France, on our own AS218808 network, monthly with no commitment, with support in French 7 days a week (tickets, Discord, phone). The gaming uses of the VPS are summed up on the gaming VPS page; to run several servers on the same machine, see hosting several game servers.
06
Frequently asked questions
How do I create a Core Keeper dedicated server on Linux?
Install SteamCMD, xvfb and libxi6, then download the Core Keeper Dedicated Server tool with an anonymous login using ID 1963720. Then run the provided _launch.sh script, which starts the virtual display and the server, ideally from a systemd service.
How do I join a Core Keeper dedicated server?
By default, with the Game ID: the server writes this code to a text file next to the program and to its log, and players enter it in the game. With the -port option, the server also accepts direct connections by IP address, port and password.
Do I need to open ports for a Core Keeper server?
Not with the Game ID, which goes through Steam's relay network. You only need to open one if you enable direct connection with the -port option: that port must then be allowed in the firewall.
How do I keep the same Game ID on a Core Keeper server?
Start the server with the -gameid option followed by a code that follows the length and character rules in the README.txt file. Without this option, or with an invalid code, the server generates a new Game ID at every start.
Where are a Core Keeper server's saves?
On Linux, in ~/.config/unity3d/Pugstorm/Core Keeper/DedicatedServer, and on Windows in the profile's LocalLow\Pugstorm\Core Keeper\DedicatedServer folder, unless the -datapath option points elsewhere. Archive this folder with the server stopped.