
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.
Here's what you need to run a Don't Starve Together dedicated server.
Small server, 1-6 players
Medium server, 6-16 players with caves
Large server with many mods, 16-64 players
Start hosting from your own computer
Run a Don't Starve Together server on your desktop, laptop, VPS, or dedicated machine ā GameCP automates Docker setup, resource allocation, and Don't Starve Together configuration instantly. Automatic port forwarding means your friends can connect without touching your router. Start local, scale to a VPS when you're ready.
Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.
The full manual process to host a Don't Starve Together dedicated server on a VPS. Or install GameCP on your own computer and skip all of this.
Set your server settings, then install Docker, SteamCMD, and pull the Don't Starve Together container image.
# Update system and install Docker sudo apt update && sudo apt install -y docker.io sudo systemctl enable --now docker # Create game server directory sudo mkdir -p /opt/gameserver # Install SteamCMD sudo mkdir -p /opt/steamcmd curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | sudo tar zxvf - -C /opt/steamcmd # Server configuration export PAUSE_WHEN_EMPTY="true" export SERVER_INTENTION="social" export VOTE_KICK="false" export GAME_MODE="survival" export PVP_ENABLED="false" export TICK_RATE="15" export AUTO_UPDATE="1" # Pull the container image docker pull ghcr.io/ptero-eggs/games:source
Download the Don't Starve Together dedicated server using Steam App ID 343050.
# Download Don't Starve Together server files (App ID: 343050)
/opt/steamcmd/steamcmd.sh \
+force_install_dir /opt/gameserver \
+login ${STEAM_USER} \
+app_update 343050 validate \
+quitDon't Starve Together requires 3 ports to be open for game traffic and queries.
sudo ufw allow 10999/udp sudo ufw allow 11000/udp sudo ufw allow 27016/udp
Start the Don't Starve Together server using the configuration from Step 1.
docker run -d \ --name dont-starve-together-server \ -p 10999:10999/udp \ -p 11000:11000/udp \ -p 27016:27016/udp \ -e PAUSE_WHEN_EMPTY="true" \ -e SERVER_INTENTION="social" \ -e VOTE_KICK="false" \ -e GAME_MODE="survival" \ -e PVP_ENABLED="false" \ -e TICK_RATE="15" \ -e AUTO_UPDATE="1" \ -v /opt/gameserver:/opt/gameserver \ -w /opt/gameserver \ ghcr.io/ptero-eggs/games:source \ cd bin64 && coproc caves ( ./dontstarve_dedicated_server_nullrenderer_x64 -shard Caves -bind_ip 127.0.0.1 -port -steam_master_server_port 27100 -steam_authentication_port 8767 -persistent_storage_root /home/container/DoNotStarveTogether -conf_dir config -cluster server -players ); ./dontstarve_dedicated_server_nullrenderer_x64 -shard Master -bind_ip 0.0.0.0 -port 10999 -steam_master_server_port 27016 -steam_authentication_port 8766 -persistent_storage_root /home/container/DoNotStarveTogether -conf_dir config -cluster server -players && echo 'c_shutdown()' >&"[1]}"
Alternative startup profiles:
GameCP lets you switch between these profiles with one click.
GameCP automates every step above: Docker, SteamCMD, port forwarding, startup, and config. Install on your own PC and deploy a Don't Starve Together server in under 5 minutes.
Deploy with GameCPExplore step-by-step setup guides for other popular games supported by GameCP.
Install GameCP on your own computer and start hosting in minutes. Automatic port forwarding, zero config ā your friends connect instantly.
No credit card required Ā· Free tier available Ā· Install local, scale later