Don’t Starve Together is Klei’s co-op survival game: a strange, dangerous world where you gather, build and try to make it through the seasons with your friends. A dedicated server keeps that world running when the host logs off. Before you buy, it helps to understand the Klei server token, how the surface and Caves work together, and how much memory both need. This guide covers each one, then explains how a Don’t Starve Together server is set up on GGHOST Cloud.
How a Don’t Starve Together dedicated server works
A Don’t Starve Together world is called a cluster, and a full cluster is two servers running side by side:
- The surface (the “Master” shard): the main world players spawn into.
- The Caves: the underground world, reached through sinkholes. It is a separate server linked to the surface.
When a player goes down a sinkhole, their game connects to the Caves server directly, so each world needs its own port. On GGHOST Cloud every server gets two ports and both worlds are set up for you: the surface on your main port and the Caves on the second one.
The cluster’s files live in DoNotStarveTogether/config/server: cluster.ini for the shared settings, a Master and a Caves folder for each world, and the token file.
The Klei server token
Klei requires every dedicated server to have a server token tied to a Klei account. Without one the server can’t register and players can’t find it. Getting one takes a minute:
- Sign in at accounts.klei.com.
- Open Games, then Game Servers.
- Type any cluster name (it is only a label for you) and click Add New Server.
- Copy the Server Token it shows. Ignore the other fields and the download button; the panel handles those.
Paste the token into the Klei server token field at checkout. On GGHOST Cloud the token is written into the server’s token file every time it starts, so if you paste a wrong one or make a new token later, change it in the panel and restart.
How much RAM does it need?
Because a full cluster is two servers, memory is higher than people expect. On our test server, a fresh world with the Caves used about 2.4 GB with nobody connected: around 1.35 GB for the surface and 1.05 GB for the Caves. Memory then grows with players, the size of bases and the age of the world.
That is why our plans start at 4 GB:
- Up to 8 players: 4 GB. A group of friends, surface and Caves.
- Up to 16 players: 6 GB. A bigger group, or a world you have played for many seasons.
- Up to 32 players: 8 GB. A community server.
The player limit is a setting you choose, not a line on the invoice.
Settings worth knowing
From the panel you set:
- Server name and description: what players see in the server browser.
- Game mode: Survival (the classic game; when everyone dies, the world resets), Endless (no permanent death, the world never resets) or Wilderness (random spawn points, and death means starting a new character).
- Max players: from 1 to 32.
- Join password: leave it empty for an open server.
Change a setting and restart; the values are written into cluster.ini on start-up.
Admins
Admins are listed by their Klei user ID (it starts with KU_) in a file called adminlist.txt, one ID per line, in the cluster folder DoNotStarveTogether/config/server. Create the file with the file manager if it isn’t there, add the IDs, and restart. Admins can then use the in-game console, for example c_save() to save the world or c_announce("message") to message everyone.
Mods
The Steam Workshop has thousands of Don’t Starve Together mods. Mods aren’t installed from our panel yet. If you need a modded server, open a ticket and we will tell you honestly what we can do.
Updates and backups
Players must run the same version as the server. With automatic updates on, the server checks Steam every time it starts and updates itself, so a restart after a game update brings it up to date.
The world itself lives in the Master and Caves folders. Take a backup from the panel before big changes, and back up the whole DoNotStarveTogether/config/server folder if you copy files by hand, so both worlds, the settings and your admin list stay together.
Launching your Don’t Starve Together server on GGHOST Cloud
- Get your Klei server token at accounts.klei.com (see above).
- Pick a plan on the Don’t Starve Together page and the region closest to your players.
- Check out with the server name, game mode and token. Your server is ready within minutes where a node has room, otherwise in 15–30 minutes (24 hours at most). You get an email when it is live.
- Start the server. The first start builds both worlds, which takes a minute or two.
- Find it in game. Players find the server by name in the in-game browser.
You get our Pterodactyl panel: live console, file manager, SFTP, scheduled tasks, sub-users and backups you can restore yourself. Every node is behind DDoS protection from our network providers, on every plan. There is no setup fee and no contract, and support comes from the people who run the servers.
The short version
Get a Klei server token first, remember that a full world is two servers (surface and Caves, each with its own port, both set up for you), and plan on 4 GB for a group of friends because the pair uses about 2.4 GB before anyone joins. Choose your game mode carefully: it decides what happens when everyone dies.