Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk9 min

How to Make a Don’t Starve Together Server Private

Use Host Game with a password for a private DST world, or set cluster_password in a dedicated server’s master cluster.ini. This guide explains Steam-group, offline, LAN-only, and whitelist controls.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To keep strangers out of a Don’t Starve Together world, configure access before you start it. For a normal hosted game, use Host Game, add a password, and change visibility to Local Only when every player is on the same network. For an internet-accessible dedicated server, set a non-obvious cluster_password in the master cluster.ini. You can add Steam-group restrictions or reserved whitelist slots when a shared password is not enough.

Understand what “private” means in DST

Don’t Starve Together has two separate privacy decisions:

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.
  • Visibility: whether the world is advertised publicly or limited to a local network.
  • Authorization: which players are allowed to complete the join process once the server is reachable.

A password controls authorization. A local-only, LAN-only, or offline setting controls reachability and listing. They are not interchangeable. A server can be hidden from the public list but still require a password, and a password-protected server can remain reachable over the internet by anyone who obtains that password.

Choose the narrowest control that still lets your intended players connect:

#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.
Goal Recommended control Important trade-off
Friends connecting from different homes Hosted-world password or dedicated-server cluster_password Anyone who learns the password can attempt to join; change it if it spreads.
Players who all belong to one Steam group steam_group_only=true with the correct steam_group_id Every intended player must belong to that group, and the ID must match.
Players in the same household or physical LAN offline_cluster=true or lan_only_cluster=true; in a hosted game, choose Local Only Remote friends cannot connect. Offline mode also removes Steam-related functionality.
Reserve places for named users Whitelist slots plus approved Klei User IDs in whitelist.txt A whitelist reserves capacity for approved users; it is not a complete substitute for a password or network restriction.

Make a hosted world private

This is the simplest method when you start a world from the game client rather than operating a dedicated server.

  1. Open the game’s Host Game flow.
  2. Configure the world before starting it. Add a password in the server settings. The Don’t Starve Together Help Center recommends a password when you want to play with friends only.
  3. Choose the visibility appropriate to your players. Use the local-only option when everyone is on the same local network. Leave the world reachable for remote friends only when they need to connect from outside that network.
  4. Start the world and give the password or invitation only to the people you intend to play with.
  5. Tell each player to enter the password exactly as supplied. A copied password avoids errors caused by capitalization, spaces, or punctuation.
  6. If an unintended person obtains the password, stop using that value and create a new one before the next session. Treat the replacement as a new credential rather than assuming that removing a player will invalidate the old password.

When to use Local Only: Select the local-only setting for a household, classroom, party, or other group whose computers share the same LAN. It prevents remote friends from joining, so it is the wrong choice for a group spread across different homes.

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.

When to keep internet access: For friends in different locations, retain an internet-reachable hosted world and rely on the password. Visibility and password are separate choices, so use the least-public visibility available in your Host Game settings while preserving the connectivity your group needs.

Secure a dedicated server with cluster.ini

A dedicated server uses the cluster configuration instead of the client’s Host Game screen. Klei’s dedicated-server settings guide defines cluster_password as the password players must enter to join. Edit the master cluster.ini for the cluster you want to protect.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 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.
  1. Stop or otherwise take the dedicated server offline using the normal controls for your hosting setup before changing its configuration.
  2. Open the cluster directory and locate the master cluster.ini.
  3. Set cluster_password to a value that is not obvious and is not reused for another account or service. Keep the setting in the master configuration; changing a different shard or unrelated configuration will not protect this cluster.
  4. Save the file and start the server again through your usual dedicated-server process so it reads the updated configuration.
  5. Give the password only to the intended players. If it is posted in a public chat, stream, screenshot, or open community, assume that anyone who can see that location may try to join.
  6. Rotate the value when the playing group changes or when you believe it has been shared beyond the group. Update the configuration and distribute the new value privately.

The password does not make the server unreachable; it makes the join attempt require the password. If the server is listed or discoverable, an outsider may still see it and be asked for credentials. That is expected behavior for password authorization.

Restrict a dedicated server to a Steam group

A Steam-group restriction is useful for a stable community that already manages membership through one group. In the cluster configuration, enable steam_group_only=true and provide the matching steam_group_id.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Confirm the numeric or otherwise exact group identifier you intend to use.
  2. Set steam_group_id to that identifier in the cluster configuration.
  3. Set steam_group_only=true.
  4. Apply the edited configuration using the server’s normal stop-and-start or reload procedure.
  5. Ask every intended player to join the configured Steam group before attempting to connect.

This method changes the membership test: a player who is not in the configured group cannot use the server even if the server address is known. It also creates an operational dependency. Removing someone from the group removes their eligibility, while forgetting to add a new friend prevents that friend from joining. A wrong group ID has the same practical effect as an empty or unrelated group.

For stronger control, use the Steam-group rule together with a password. The group limits who qualifies, while the password adds a second check for anyone who does qualify.

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.

Use offline or LAN-only modes for a physical network

offline_cluster=true

Setting offline_cluster=true creates an offline cluster that is not publicly listed and allows only players on the local network to join. This is appropriate when all participants are physically connected to the same LAN and you want the world absent from public listings.

Offline mode has a specific cost: Steam-related functionality does not work in this mode. Do not choose it for a group that depends on Steam features or includes friends connecting from another location.

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

lan_only_cluster=true

Setting lan_only_cluster=true accepts connections only from machines on the same LAN. It is the direct dedicated-server equivalent of a local-network-only session. Remote players outside that network cannot connect, even when they know the server details or password.

Offline versus LAN-only

Setting Listing and reach Steam-related functionality Best fit
offline_cluster=true Not publicly listed; local-network players only Does not work A fully local session where public listing is undesirable
lan_only_cluster=true Connections accepted only from the same LAN Not stated as disabled by the setting A dedicated server whose boundary is the physical network

Neither setting is suitable for remote friends. If even one intended player lives elsewhere, use an internet-accessible configuration with a password, and consider the Steam-group or whitelist controls described below.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • 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

Reserve access with whitelist slots

Whitelist controls are designed for reserved capacity. Configure whitelist slots and place the approved players’ Klei User IDs in whitelist.txt inside the cluster directory.

  1. Decide how many slots should be reserved for approved users.
  2. Set the whitelist-slot value in the dedicated-server configuration.
  3. Enter each approved player’s Klei User ID in whitelist.txt, using the ID associated with that player rather than a display name.
  4. Save the configuration and whitelist file, then apply the changes through the server’s normal restart or reload process.
  5. Test with an approved account and confirm that the reserved capacity behaves as intended.

A whitelist reserves places for the users named in the file; it is not described as a complete network or authentication barrier. Pair it with cluster_password, steam_group_only=true, or a LAN restriction when the objective is to stop unapproved people from attempting to join at all.

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

Combine controls for a stronger private server

Use one primary control based on your network, then add a second control when the cost of an accidental join is high.

Remote friends with a dedicated server

  • Set a non-obvious cluster_password in the master cluster.ini.
  • Add steam_group_only=true and the matching steam_group_id if the whole group can be managed through Steam.
  • Add whitelist slots and approved Klei User IDs when certain players must retain reserved capacity.

This combination separates concerns: the password authenticates, group membership limits eligibility, and the whitelist protects places for named users.

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.

One household or LAN party

  • For a client-hosted world, choose Local Only in Host Game.
  • For a dedicated server, choose either offline_cluster=true or lan_only_cluster=true.
  • Use a password as an additional safeguard if your setup supports it, but remember that a password cannot make a remote player reach a LAN-only server.

Small, changing friend group

A password is usually easier than maintaining a group roster or a user-ID file. Rotate it when the roster changes instead of continuing to distribute one permanent credential.

Troubleshoot failed privacy settings

A friend receives a password error

  • Confirm that the friend is using the current password, not an older value saved in chat or a previous session.
  • Check capitalization, punctuation, and accidental spaces.
  • For a dedicated server, verify that cluster_password was changed in the master cluster.ini, then apply the configuration with the server’s normal restart or reload process.

A remote friend cannot connect

Check whether Local Only, offline_cluster=true, or lan_only_cluster=true is enabled. Each of these choices limits connections to the local network. Replace that restriction with an internet-accessible configuration when players are in different homes.

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

A Steam-group member is rejected

  • Verify that the player has joined the exact Steam group identified by steam_group_id.
  • Check the group ID for transcription errors.
  • Confirm that steam_group_only=true is applied to the intended cluster, not another configuration.

The server is still visible publicly

A password by itself does not necessarily remove a server from public discovery. Use the appropriate local-only, offline, or LAN-only control when hiding the server or limiting its network reach is part of the requirement. Keep the password as the authorization layer when the server must remain reachable to remote friends.

The whitelist did not stop an unapproved join attempt

Whitelist slots reserve capacity; they are not presented as a replacement for password or network restrictions. Add a password, Steam-group restriction, or LAN boundary if you need to prevent unapproved users from attempting to join.

Configuration changes appear to have no effect

Recheck that you edited the master cluster.ini and the whitelist.txt in the correct cluster directory. Then use the dedicated server’s normal procedure to apply the edited files before testing again. A change in an unused cluster or shard cannot protect the world you are running.

Privacy checklist before inviting anyone

  • Decide whether players are all on one LAN or connecting over the internet.
  • For Host Game, set the password before starting the world and choose the correct visibility.
  • For a dedicated server, verify cluster_password in the master cluster.ini.
  • If using a Steam group, confirm both steam_group_only=true and the matching steam_group_id.
  • If using a local network, confirm whether offline_cluster=true or lan_only_cluster=true matches your need and accept the remote-access trade-off.
  • If reserving capacity, update whitelist slots and whitelist.txt with approved Klei User IDs.
  • Share credentials or invitations only with the intended players.
  • Rotate the password when it is shared beyond the group or the group membership changes.

The practical default for friends in different homes is password protection. Use a local-only, offline, or LAN-only setting when everyone is on the same physical network, and add Steam-group or whitelist controls when a single shared password does not provide enough separation.

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

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 *

Free tools Windows power users keep installed

One-click scans. No signup required.

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

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.