Self-hosting a Core Keeper server: guide
Updated: 24 October 2026 · Guide · VPS · Game server
The Core Keeper server comes anonymously via SteamCMD and runs natively on Linux. It does want a display, though, even if nobody is looking. On a server without graphics you therefore start it in a virtual display (Xvfb).
Install
sudo apt install xvfb steamcmd +force_install_dir ~/corekeeper +login anonymous +app_update 1007 +app_update 1963720 validate +quit
If the download aborts with “Missing configuration”, just run it again. That happened to us on the first attempt; the second went through.
Starting, and why it takes so long
mkdir -p ~/corekeeper/.cache/mesa cd ~/corekeeper MESA_SHADER_CACHE_DIR=$HOME/corekeeper/.cache/mesa xvfb-run -s "-screen 0 1x1x24" \ ./CoreKeeperServer -batchmode -logfile CoreKeeperServerLog.txt -world 0 -worldname "My World" -maxplayers 8 -port 27500
Without a graphics card the server renders via software graphics (llvmpipe). It recompiles all shaders on every start, for us around three minutes with one core fully loaded. With a fixed cache directory it only has to do that once: the first start took 3:49 minutes for us, every later one 34 to 42 seconds. The mkdir beforehand is important. If the directory is missing, Mesa silently doesn't create the cache, and it stays at four minutes.
Joining: Game ID or IP
On start the server writes a Game ID to GameID.txt. Steam players join with it, without port and without IP. All other platforms (Epic, Xbox/Microsoft Store, GOG) use “Join via IP” with IP, port and password; the password is in GameInfo.txt and only applies to this route. The Game ID is not a secret, it is public in the Steam server query.
-port sets the game port, the server query sits one port higher (27500 and 27501 for us, both UDP). Pass -gameid and -password at startup, otherwise the server generates both anew on every start, and your players face a new address after every restart.
sudo ufw allow 27500:27501/udp
Stopping without data loss
Send the termination signal to the game process, not to xvfb-run. If you also kill the virtual display, the game crashes without saving; for us a new, empty world was there afterwards. When shut down correctly the server reports “Running quit handlers”, after 2 seconds for us.
pkill -TERM -x CoreKeeperServe
Measured: a fresh server without players
Measured on 24 October 2026 on our game server node (Xeon Gold 6138), 2 GB limit, without players: installation 25 seconds plus 21 seconds of download on first start. At idle with shader cache around 1.2 % of one core and 1.17 GiB of RAM. The server query answered from outside with name and version 1.3.0.6. How much it needs with eight players we haven't measured.
Self-host or rent
On a Core Keeper server rented from us, the shader cache stays with the server permanently, “Stop” in the control panel goes to the game process and not to the virtual display, and you enter Game ID and password there permanently so they stay the same across restarts. Only the very first start takes almost four minutes with us too.
- Similar: self-hosting DragonwildsSurvival co-op, also measured on our hardware
- Rent a Core Keeper serverShader cache, Game ID and password fixed in the control panel
- Rent a VPSCore Keeper already runs with 2 GB RAM
- First: secure your VPSSet up SSH key and firewall
- Server running, but nobody can get in?Five checks and all default ports