
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.
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.
Resource Requirements
+64 MiB per player
Recommended Players
Performance Tiers
Economy
Small server, 1-6 players
Standard
Medium server, 6-16 players with caves
Pro
Large server with many mods, 16-64 players
Startup Command
Default (Master + Caves)
Starts both Master (overworld) and Caves shards together
Master Only (No Caves)
Starts only the Master shard without Caves
Environment Variables
SERVER_NAME
RequiredServer Name
Server name displayed in the server browser
(empty)MAX_PLAYERS
RequiredRead OnlyMax Players
Maximum number of players (1-64)
(empty)PAUSE_WHEN_EMPTY
Pause When Empty
Pause the server when no players are connected (saves resources)
trueSERVER_INTENTION
Server Intention
Server play style shown in the server browser
socialVOTE_KICK
Vote Kick
Allow players to vote kick other players
falseGAME_MODE
RequiredGame Mode
Game mode determines how death and respawning works.
survivalPVP_ENABLED
PvP
Enable Player vs Player combat
falseSERVER_TOKEN
RequiredKlei Server Token
Required Klei Server Token. Generate one from the [Klei Account Portal](https://accounts.klei.com/account/game/servers?game=DontStarveTogether).
(empty)SERVER_PASSWORD
Server Password
Password required to join the server. Leave empty for a public server.
(empty)AUTO_UPDATE
Auto Update
Automatically update server files on restart
1TICK_RATE
Tick Rate
Server tick rate (updates per second). Default 15 is recommended.
15DST_SHARD_MASTER_PORT
RequiredRead OnlyShard Master Port
Internal port for Master-Caves shard communication
11001STEAM_USER
Read OnlySteam Username
Steam username for authentication. Leave empty for anonymous login.
(empty)STEAM_PASS
Read OnlySteam Password
Steam password for authentication. Leave empty for anonymous login.
(empty)STEAM_AUTH
Read OnlySteam Auth Code
Steam Guard authentication code (optional).
(empty)EXTRA_FLAGS
Read OnlyExtra SteamCMD Flags
Additional SteamCMD flags.
(empty)Lifecycle Scripts
Installation Script
Post-install setup: creates cluster directories, default configs, writes server token, and sets up Steam SDK.
Configuration Files
Cluster Configuration
Game mode and server identity settings. Only updates the settings shown here.
DoNotStarveTogether/config/server/cluster.iniiniMaster Shard Configuration
Configuration for the Master (overworld) shard
DoNotStarveTogether/config/server/Master/server.iniiniCaves Shard Configuration
Configuration for the Caves shard
DoNotStarveTogether/config/server/Caves/server.iniiniContainer Configuration
Docker Image
ghcr.io/ptero-eggs/games:source
Technical Profile
Template ID
dont-starve-together
Author
GameCP Team
Last Updated
March 13, 2026
Status
ActiveConfiguration Metadata
Information about the origin and version of this game configuration.
Author
GameCP Team
Version
1
Source
gamecp
Steam Links
originalAuthor
parker@parkervcp.com