StruxaEggs Explorer

Don't Starve Together

Game

Don’t Starve Together is an uncompromising wilderness survival game full of science and magic.

Author: parker@parkervcp.comSource: pterodactyl/game-eggsUpdated: 5/24/2026

Startup Command

cd bin64 && coproc caves ( ./dontstarve_dedicated_server_nullrenderer_x64 -bind_ip 0.0.0.0 -port 11000 -persistent_storage_root /home/container/DoNotStarveTogether -conf_dir config -cluster server -players {{MAX_PLAYERS}} -shard Caves ); ./dontstarve_dedicated_server_nullrenderer_x64 -bind_ip 0.0.0.0 -port {{SERVER_PORT}} -persistent_storage_root /home/container/DoNotStarveTogether -conf_dir config -cluster server -players {{MAX_PLAYERS}} -shard Master && echo 'c_shutdown()' >&"${caves[1]}"

Docker Images

LabelImage
ghcr.io/ptero-eggs/games:sourceghcr.io/ptero-eggs/games:source

Environment Variables

NameVariableDefaultRules
Max Players
Set the maximum number of players that will be allowed to join the game. This option overrides the [GAMEPLAY] / max_players setting in cluster.ini. default is 16
MAX_PLAYERS16required|integer|between:1,31
Server Token
Required to run a public server. This needs to be generated from in game. Get your token here: https://accounts.klei.com/account/game/servers?game=DontStarveTogether
SERVER_TOKENnonerequired|string|max:64
App ID
Steam Server App ID
SRCDS_APPID343050required|string|max:20
Auto-update server
This is to enable auto-updating for servers. Default is 0. Set to 1 to update
AUTO_UPDATE0required|boolean
Game mode
Valid values are survival, endless or wilderness
GAME_MODEsurvivalrequired|string
Cluster Name
This is the name that will show up in server browser.
CLUSTER_NAMEA Pterodactyl Serverrequired|string
Cluster Description
This will show up in the server details area on the “Browse Games” screen.
CLUSTER_DESCA Pterodactyl Hosted Serverrequired|string
Master Worldgen Override
Link to the lua file used to generate the master server map. Only used during the install phase.
MASTER_WORLDGENhttps://raw.githubusercontent.com/ptero-eggs/game-eggs/main/dont_starve/worldgenoverride.master.luanullable|string
Master Worldgen Override
Link to the lua file used to generate the caves server map. Only used during the install phase. Default generates a cave map
CAVES_WORLDGENhttps://raw.githubusercontent.com/ptero-eggs/game-eggs/main/dont_starve/worldgenoverride.caves.luanullable|string

Features

steam_disk_space