Don't Starve Together2026-11-11 · 6 min read

Don't Starve Together Hosting: Why Caves Is a Separate Server

A Don't Starve Together world with caves isn't one server with an extra area — it's two independent processes that have to be set up correctly, or the caves entrance leads somewhere very wrong.

TL;DR

  • Master (overworld) and Caves run as two separate OS processes and systemd units — a caves crash can't take down the overworld
  • A missing worldgenoverride.lua on the Caves shard silently generates a second overworld instead of a cave
  • Joining from outside the LAN requires a Klei cluster token, collected up front during setup
  • Master and Caves each need their own join port opened (10999 and 11000)

Two shards, two processes, one Start button

Don't Starve Together splits a world into a Master shard (the overworld) and an optional Caves shard, and they're not two areas inside one process — they're genuinely separate OS processes with separate save directories, communicating only over localhost. Running them as two distinct systemd units means a problem in Caves can't cascade into taking the overworld offline too, while a single Start action still brings both up together for the customer.

The file that decides if Caves is actually a cave

The Caves shard needs a specific worldgenoverride.lua telling it to generate as a caves shard. Skip that file and Caves doesn't fail to start — it generates an entire second overworld instead, a world that boots fine and is completely wrong for what's supposed to be underground. It's the kind of mistake that only shows up once a player actually walks through the cave entrance.

Why a Klei token matters before anyone can join

Klei's own server requirements mean a cluster won't accept internet connections without a valid account token attached. Because there's no clean way to retrofit that after the server is already running and expected to be joinable, it's collected directly in the signup flow — one more piece of setup that's easy to miss if you're used to games that don't require it at all.

FAQ

Is a Don't Starve Together server with caves one process or two?+

Two, genuinely independent ones. Master (the overworld) and Caves each run as their own OS process with their own save directory, talking to each other only over localhost — set up as two separate systemd units so a crash in Caves can't take the overworld down with it, and a single Start action brings both up together.

What happens if the caves config file is missing?+

The Caves shard requires a specific worldgenoverride.lua marking it as a caves shard. Without it, that shard generates a second overworld instead of an actual cave system — a world that's technically running but completely wrong for what players expect from the caves entrance.

Why does joining Don't Starve Together need a Klei account token?+

Klei's own server requirements mean internet clients refuse to join a server that doesn't present a valid cluster token — it's collected from the customer up front during setup specifically because there's no way to add it after the fact without the server being unjoinable from outside the LAN in the meantime.

Do Master and Caves need separate ports opened?+

Yes — the Master shard joins on port 10999 and Caves joins on 11000, each a distinct UDP port that needs its own firewall rule, on top of the shared Steam auth/master ports. The localhost-only link between the two shards doesn't need to be exposed at all.

A Don't Starve Together server where Caves actually works

CoalHost sets up Master and Caves correctly, token and all, from the first boot.

View DST Hosting →