← All guides

Survival & crafting · Server guide

How to host a Don't Starve Together server: Klei token, Caves, RAM and setup

Running a Don't Starve Together server: getting a Klei server token, how the surface and Caves work, how much RAM it needs, admins and launching on GGHOST Cloud.

GGHOST Cloud team7 November 20264 min read

Don't Starve Together
  • Starts at $6.99/mo
  • Recommended RAM 4 GB
  • Ready in Minutes to 30 min
  • Control panel Pterodactyl

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:

  1. Sign in at accounts.klei.com.
  2. Open Games, then Game Servers.
  3. Type any cluster name (it is only a label for you) and click Add New Server.
  4. 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

  1. Get your Klei server token at accounts.klei.com (see above).
  2. Pick a plan on the Don’t Starve Together page and the region closest to your players.
  3. 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.
  4. Start the server. The first start builds both worlds, which takes a minute or two.
  5. 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.

Sizing

How much RAM a Don't Starve Together server needs.

What we size real servers at. Mods, map size and world age move these numbers up.

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

How it works at GGHOST Cloud

From checkout to console.

  1. 01 Pick a plan Choose the RAM and the region. Pay by card or account balance.
  2. 02 Node assigned Set up in seconds where a node has room; new capacity in 15–30 minutes.
  3. 03 Don't Starve Together installed The server files install automatically, on our own Pterodactyl panel.
  4. 04 Invite your players Copy the address from the panel. Console, files and backups are ready.

Included on every server

The platform behind your Don't Starve Together server.

Full Pterodactyl panel

Console, file manager, SFTP, scheduled tasks, sub-users and database access. Not a cut-down skin over it.

Backups on a schedule

Set the cadence you want and restore to a point in time from the panel, without opening a ticket.

DDoS protection included

Every node sits behind DDoS protection from our network providers, on every plan — not an upsell on the checkout page.

Switch version or build anytime

Change the server build, game version or startup flags from the panel and restart. No reinstall, no ticket.

Move region once per cycle

If your players move, the server can follow. We handle the world and config transfer.

No player-slot billing

You pay for memory. Slots are a config value you set, not a line item we charge for.

Don't Starve Together plans

Pick a size and you are playing tonight.

CAMPFIRE

4 GB RAM

$6.99 /mo

Billed monthly


  • 25 GB NVMe disk
  • 2 vCPU
  • Recommended: up to 8 players
  • 2 backup slots
Deploy CAMPFIRE

FIREPIT

6 GB RAM

$9.99 /mo

Billed monthly


  • 50 GB NVMe disk
  • 3 vCPU
  • Recommended: up to 16 players
  • 2 backup slots
Deploy FIREPIT

HEARTH

8 GB RAM

$13.49 /mo

Billed monthly


  • 50 GB NVMe disk
  • 4 vCPU
  • Recommended: up to 32 players
  • 2 backup slots
Deploy HEARTH

Don't Starve Together server FAQ

Questions players ask us.

What is the Klei server token?

Klei requires a token for every Don’t Starve Together server. Sign in at accounts.klei.com, open Games, then Game Servers, add a server and copy its token into the checkout form. You can change it later from the panel.

Can I add mods?

Not from the panel yet. Ask support if you need a modded server and we will tell you honestly what we can do.

Where do I get a Klei server token?

Sign in at accounts.klei.com, open Games, then Game Servers, type any cluster name and click Add New Server. Copy the token it shows and paste it into the Klei server token field at checkout or in the panel. Klei requires one for every Don't Starve Together server.

My token was wrong or I made a new one. How do I change it?

Paste the new token into the Klei server token setting in the panel and restart the server. It is written into the server's token file every time the server starts, so the change takes effect straight away.

Start your Don't Starve Together server today.

No setup fee and no contract. Manage everything from app.gghost.cloud and panel.gghost.cloud.