Back to Templates
Don't Starve Together
Don't Starve Together
GameCP OfficialSurvival
Verified

Don't Starve Together

Dedicated Server Template

Don't Starve Together is the standalone multiplayer expansion of the uncompromising wilderness survival game full of science and magic. Cooperate with your friends in a world generated just for you, or brave the Caves alone.

v18
2/25/2026

Don't Starve Together Game Server Hosting

Deploy and manage your own Don't Starve Together dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes Don't Starve Together server administration simple and reliable.

Free Control PanelOne-Click DeployAuto UpdatesDocker Containerized
Full Hosting Guide

Ready to host Don't Starve Together?

Read our complete step-by-step guide covering installation, configuration, performance tuning, and getting your server online in minutes.

Resource Requirements

CPU Cores
2
Memory
2.0 GB(max 4 GB)
Storage
3 GB

+64 MiB per player

Recommended Players

6
Recommended
Min: 1Max: 64

Performance Tiers

Economy

Small co-op, 1-6 players

RAM1 GB
CPU Shares256
Recommended

Standard

Full server, 6-16 players

RAM2 GB
CPU Shares512

Pro

Large server with many mods, 16-64 players

RAM4 GB
CPU Shares1024

Startup Command

#!/bin/bashBash shell with full features

Default (Master + Caves)

Starts both Master (overworld) and Caves shards together

Default

Master Only (No Caves)

Starts only the Master shard without Caves

Environment Variables

SERVER_NAME

Required

Server Name

Server name displayed in the server browser

Default
(empty)

MAX_PLAYERS

RequiredRead Only

Max Players

Maximum number of players (1-64)

Default
(empty)

PAUSE_WHEN_EMPTY

Pause When Empty

Pause the server when no players are connected (saves resources)

Default
true

SERVER_INTENTION

Server Intention

Server play style shown in the server browser

Default
social

VOTE_KICK

Vote Kick

Allow players to vote kick other players

Default
false

GAME_MODE

Required

Game Mode

Game mode determines how death and respawning works.

Default
survival

PVP_ENABLED

PvP

Enable Player vs Player combat

Default
false

SERVER_TOKEN

Required

Klei Server Token

Required Klei Server Token. Generate one from the [Klei Account Portal](https://accounts.klei.com/account/game/servers?game=DontStarveTogether).

Default
(empty)

SERVER_PASSWORD

Server Password

Password required to join the server. Leave empty for a public server.

Default
(empty)

AUTO_UPDATE

Auto Update

Automatically update server files on restart

Default
1

TICK_RATE

Tick Rate

Server tick rate (updates per second). Default 15 is recommended.

Default
15

DST_SHARD_MASTER_PORT

RequiredRead Only

Shard Master Port

Internal port for Master-Caves shard communication

Default
11001

STEAM_USER

Read Only

Steam Username

Steam username for authentication. Leave empty for anonymous login.

Default
(empty)

STEAM_PASS

Read Only

Steam Password

Steam password for authentication. Leave empty for anonymous login.

Default
(empty)

STEAM_AUTH

Read Only

Steam Auth Code

Steam Guard authentication code (optional).

Default
(empty)

EXTRA_FLAGS

Read Only

Extra SteamCMD Flags

Additional SteamCMD flags.

Default
(empty)

Lifecycle Scripts

Installation Script

Post-install setup: creates cluster directories, default configs, writes server token, and sets up Steam SDK.

after installghcr.io/ptero-eggs/installers:debian

Configuration Files

Cluster Configuration

Game mode and server identity settings. Only updates the settings shown here.

DoNotStarveTogether/config/server/cluster.iniini
1 fields

Master Shard Configuration

Configuration for the Master (overworld) shard

DoNotStarveTogether/config/server/Master/server.iniini
0 fields

Caves Shard Configuration

Configuration for the Caves shard

DoNotStarveTogether/config/server/Caves/server.iniini
0 fields

Container Configuration

Docker Image

ghcr.io/ptero-eggs/games:source

Technical Profile

Template ID

dont-starve-together

Author

GameCP Team

Last Updated

February 25, 2026

Status

Active

Configuration Metadata

Information about the origin and version of this game configuration.

Author

GameCP Team

Version

1

Source

gamecp

originalAuthor

parker@parkervcp.com