Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
VGSources
Blog

Don’t Starve Together Dedicated Server Configuration Guide (2026)

A practical, version-conscious guide to hosting a Don't Starve Together dedicated server, covering cluster.ini, Master and Caves server.ini files, cluster tokens, firewall rules, access lists and troubleshooting.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To host a reliable Don’t Starve Together dedicated server, install the free Dedicated Server app (Steam app ID 343050), create one cluster directory, add a valid cluster token, configure the cluster and shard files, allow the ports selected in those files through your firewall, and start the Master and (if wanted) Caves shards. The Master represents the surface world; Caves is a separate underground shard that must authenticate to the Master with the same cluster key.

The exact port defaults and some option names have changed across server versions. Treat the files installed with your current build as authoritative, and do not copy a port list from an older guide without matching every value to your own server.ini files.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What you are configuring

A DST dedicated server is organized as a cluster. The cluster is the persistent identity of your world: its name, password, gameplay rules, player lists, token and shard settings live at the cluster root. Each world process inside that cluster is a shard. The standard two-shard arrangement is:

  • Master: the surface world and the shard that coordinates the cluster.
  • Caves: the underground world, running as a secondary shard.

Cluster-level files apply to both shards. Each shard then has its own server.ini containing its local process and networking settings. A one-shard server can run only Master, but a Caves server requires the shard settings, a matching cluster key and separate networking values.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Prerequisites and installation

Install the dedicated-server application

The dedicated server is free and is distributed as Steam app ID 343050. You can install it with SteamCMD or from the Steam client by opening Library > Tools and installing Don’t Starve Together Dedicated Server. Install it on the machine that will remain online; the game client does not need to be running there.

  • A stable internet connection is needed for an internet-visible cluster.
  • You need permission to create files in the server’s data directory and to add UDP firewall rules.
  • Keep the server build updated, but make a backup of the cluster directory before changing versions or configuration.

Do not edit files in the installation directory unless the current server documentation explicitly tells you to. Persistent world data and configuration belong in the Klei data location described below.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Find the data directory

Platform Default location shown in current setup references What to place there
Windows DocumentsKleiDoNotStarveTogether Your cluster directory and its files
Linux ~/.klei/DoNotStarveTogether/MyDediServer/ Your cluster directory and its files

The final folder name is yours to choose. A practical arrangement is a directory named after the world, containing cluster.ini, cluster_token.txt, the player-list files and two subdirectories named Master and Caves.

Create the cluster directory and file layout

Build the directory before launching the server. The root is shared by every shard; do not put a second copy of the token or cluster settings inside Master or Caves.

YourCluster/
├─ cluster.ini
├─ cluster_token.txt
├─ adminlist.txt
├─ whitelist.txt
├─ blocklist.txt
├─ Master/
│  └─ server.ini
└─ Caves/
   └─ server.ini
File or folder Scope and purpose
cluster.ini Cluster-wide gameplay, network, miscellaneous and shard options.
cluster_token.txt The online authentication token for this cluster; stored only at the root.
adminlist.txt Players granted administrative commands.
whitelist.txt Klei UserIds allowed into reserved whitelist slots.
blocklist.txt Players blocked from joining.
Master/server.ini Master shard process, local server port and Steam networking values.
Caves/server.ini Secondary shard process, its own ports and the route back to Master.

File names are case-sensitive on Linux. Save them as plain text, not rich text, and check that your editor has not silently added .txt to a name such as cluster.ini.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Generate and install a cluster token

An internet server needs a cluster token. It ties the cluster to your Klei account and allows the server to appear and authenticate online. There are two supported ways to obtain it.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Method 1: Klei account site

  1. Sign in to your Klei account site with the account you want associated with the server.
  2. Use its cluster-token generator and copy the complete token, including any characters at the beginning or end.
  3. Create a plain-text file named cluster_token.txt in the cluster root.
  4. Paste the token as the file’s only content and save it.

Method 2: in-game console

  1. Open DST on a client that has access to the in-game console.
  2. Run TheNet:GenerateClusterToken().
  3. Close or leave the client as appropriate and locate the generated token in the Klei documents folder.
  4. Copy that file into the root of the dedicated-server cluster and ensure it is named cluster_token.txt.

Do not use an unfamiliar token command copied from an old forum post. The verified console command is TheNet:GenerateClusterToken(). Keep the token private: anyone who can read it may be able to operate the cluster identity.

Write cluster.ini

cluster.ini controls values shared by Master and Caves. Start from the configuration generated by the installed server version where possible. Option names and defaults have changed since the commonly cited 2016 Klei forum settings guide, so confirm each key against the files shipped with your build.

[GAMEPLAY]

  • game_mode selects the world’s game mode.
  • max_players is the player cap; the default reported in the guide is 16.
  • pvp controls player-versus-player combat; the reported default is false.

Set a cap that your machine and connection can actually support. A larger configured maximum does not increase the game’s simulation capacity or your upstream bandwidth.

[NETWORK]

  • cluster_name is the name shown in the server browser.
  • cluster_password protects joining. Leave it blank or omit it for an unprotected cluster.
  • cluster_description is the description displayed on the Browse Games screen; a third-party guide reports an empty default.
  • lan_only_cluster defaults to false in the cited guide. Set it to true only when you intentionally want LAN-only access.
  • whitelist_slots reserves places for players listed in the root whitelist.txt. Entries are Klei UserIds, not display names.
  • tick_rate is reported as 15 by a third-party guide. Klei’s guide advises leaving it at the normal value except for LAN games; if you change it, use a value that divides evenly into 60, such as 15, 20 or 30.

Changing tick rate affects simulation scheduling, not the number of slots. Do not change it merely to solve a firewall or authentication problem.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

[MISC]

  • max_snapshots is reported as 6 in Klei’s 2016 settings guide. A snapshot is created on each save and appears in the Rollback tab of the Host Game screen.
  • console_enabled is reported as true by default and permits Lua commands in the server console. Disable it only if you have a deliberate administrative reason.

Snapshots consume storage over time. If you lower the count, you reduce rollback history; if you raise it, monitor disk usage.

[SHARD]

  • shard_enabled must be true for a multi-shard cluster. It is reported as false by default.
  • cluster_key is the shared password that authenticates a secondary shard to Master. The Klei forum guide states that it is required when shard_enabled = true.
  • bind_ip, master_ip and master_port determine shard communication in the guide, but their descriptions and defaults are not consistent across published examples. Verify the meaning in the files for your installed version.

Use one identical cluster_key in the cluster configuration available to every machine running a shard. A typo, extra space or different capitalization prevents Caves from authenticating.

Configure Master/server.ini

The Master file belongs in the Master subfolder. Set is_master = true. Its server port and Steam ports must be available on the host and must not collide with the Caves values. Keep the [SHARD] settings consistent with the cluster root, and use the current server template for the exact [STEAM] key names.

Do not assume that a value called bind_ip is an IP address merely because of its name. The older Klei guide describes it as a UDP listening port (default 10888), while a third-party example uses 127.0.0.1 for local shard communication and 11001 as master_port. That contradiction is a reason to inspect your installed template rather than paste either example blindly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure Caves/server.ini

The Caves file belongs in the Caves subfolder and must not identify itself as Master. Give it its own server and Steam port values. In a same-machine setup, point master_ip to the loopback address used by your version and set master_port to the Master shard’s inter-shard port. If Caves runs on another machine, use the Master’s reachable address and allow the inter-shard traffic through both firewalls.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  • Master and Caves must use the same cluster_key.
  • Each shard needs distinct ports; sharing a port causes bind failures or leaves one process unreachable.
  • Do not copy Master’s is_master = true into Caves.
  • Start Master before Caves when troubleshooting so the secondary has an active endpoint to contact.

Ports and firewall rules

Port numbers are the least reliable part of older DST setup guides. One 2026 guide recommends opening UDP 10999 plus shard ports, while other guides use 10998 for the Master server port and 11001 for master_port. These values conflict, and the current defaults for your installed build are not established here.

  1. Open each server.ini and record every server, Steam and inter-shard port actually configured.
  2. Confirm that Master and Caves use different values where the files require separate listeners.
  3. Create inbound UDP firewall rules for those values on the server host.
  4. If the host is behind a router, forward the same UDP ports to the host’s private address.
  5. Check that another application is not already listening on any selected port.
  6. After a server update, recheck the files and firewall rules; do not assume an old port list still applies.

Use a LAN-only test first if possible. A server visible locally but not remotely usually indicates router forwarding, a host firewall rule or an incorrect advertised address rather than a gameplay setting.

Start the shards

  1. Stop any old DST server processes that might still hold the configured ports.
  2. Verify the cluster root contains cluster.ini and cluster_token.txt, and that both shard subfolders contain their own server.ini.
  3. Launch the dedicated-server executable with this cluster selected, using the launch method supplied with your installed server build.
  4. Start the Master shard and watch its console for file, token and port errors.
  5. Start Caves after Master is listening. Its console should show a successful connection and shard authentication.
  6. From a client, open Browse Games and search for cluster_name. Use the configured password if one exists.
  7. Join, travel to a sinkhole and confirm that the Caves world loads. Then disconnect cleanly and verify that a snapshot is created.

If your build offers a generated launch script, preserve it and edit only the cluster-name or path values it documents. Launch flags differ between operating systems and releases; a flag copied from another version can silently select the wrong directory.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Manage access and recovery files

Administrators

Add each administrator’s Klei UserId, one per line, to the root adminlist.txt. UserIds are not the same as character names or Steam display names. Restart or use the server’s documented reload behavior after changing the file.

Whitelist and reserved slots

Place Klei UserIds in whitelist.txt and set whitelist_slots to reserve places for them. A whitelist entry does not automatically grant administrator powers.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Blocks

Add a UserId to the root blocklist.txt to prevent that player from joining. Keep a backup of all three lists before editing so an accidental overwrite does not remove your access controls.

Snapshots and rollback

With the reported default of six, snapshots are retained from saves and exposed through the Rollback tab of the Host Game screen. Roll back only after stopping or quiescing active play, and copy the cluster directory first. A rollback changes world state for every player, not just the person who triggered it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Troubleshooting by symptom

The server does not appear in Browse Games

  • Confirm that cluster_token.txt is at the cluster root, contains the complete token and is readable by the server account.
  • Check that lan_only_cluster is not set to true unless LAN-only operation is intended.
  • Recheck every UDP firewall and router-forwarding rule against the actual values in both server.ini files.
  • Read the console for a port bind failure or an invalid configuration key.

Caves fails to connect to Master

  • Confirm Master has is_master = true and Caves does not.
  • Make the cluster_key identical for both shards.
  • Verify Caves’ master_ip and master_port point to the Master inter-shard listener.
  • Ensure the two shards are not using the same local port.
  • Start Master first and inspect both consoles for the first authentication error.

Players can see the server but cannot join

  • Check the join password and spelling of cluster_name.
  • Confirm that the advertised server port is forwarded as UDP, not only TCP.
  • Check whether the configured player cap has been reached or reserved slots are affecting non-whitelisted players.

The console command does nothing

Verify that console_enabled is true and that the command is being entered in the server console that owns the cluster. Lua commands entered in a client chat window are not equivalent to server-console commands.

An update breaks the server

Stop both shards, back up the complete cluster directory, compare the newly generated configuration template with your edited files and revalidate option names. Recheck ports because published defaults are inconsistent across versions. Restore the backup only after confirming it is compatible with the new build.

Recommended validation checklist

  • Dedicated Server app 343050 is installed and updated.
  • One cluster root contains the token, cluster settings and player lists.
  • Master and Caves each have one server.ini in the correct subfolder.
  • Master is marked is_master = true; Caves is not.
  • shard_enabled is true for a two-shard world.
  • The cluster key matches everywhere it is required.
  • Each shard has distinct, currently configured ports.
  • UDP firewall and router rules match those files exactly.
  • The token is private, readable and not accidentally saved as cluster_token.txt.txt.
  • A client can join, travel between surface and Caves, disconnect and rejoin.

What to change only after the basic server works

First establish a clean Master-only or two-shard launch with the generated defaults. Then change one setting at a time: password, player cap, PvP, whitelist reservations, snapshots or tick rate. Record each change and restart both shards when required. This isolates configuration errors and gives you a known-good backup.

For tick rate, retain the normal value unless you have a LAN-specific reason to change it. For snapshots, choose a retention count that fits your disk budget. For access control, use UserIds in the list files and test with a non-admin account. For networking, prefer values from the current templates over numbers copied from guides written for earlier releases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Source and version caveat

The most detailed option descriptions commonly cited for DST come from Klei Entertainment’s 2016 forum thread “Dedicated Server Settings Guide,” while several defaults and examples come from later community guides. Because those references are old and some port descriptions conflict, the installed server’s generated files and console errors take precedence. Keep that distinction in mind whenever a future update changes a key name, default or token workflow.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.