Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon 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 NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › cluster.ini

How to Change the Player Limit on a Don’t Starve Together Server

By Freedom251 Team · · 8 min read

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

Change a dedicated Don’t Starve Together server’s player cap in the Master shard’s cluster.ini: stop the server, edit [GAMEPLAY] so max_players = N, save, and restart. Klei’s settings guide lists 16 as the default. If you launch the server from a command line, -players N is an alternative; Klei’s 2026 command-line guide documents values from 1 through 64, and that argument overrides the file setting.

What the player limit actually controls

The setting is a cap on how many players may be connected to the server’s cluster at the same time. It is not a permanent roster limit, a world-size setting, or a limit on how many accounts can be invited over the life of a save.

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.

Klei’s settings guide lists 16 as the default value for [GAMEPLAY] max_players. The setting belongs to the Master cluster configuration. In a multi-shard cluster, changing a duplicate cluster.ini belonging to a secondary shard does not change this cap.

Reserved whitelist slots are counted within the maximum. For example, if your configured cap is full of reserved capacity, fewer unreserved players can join even when the server appears to have open places from a general-player perspective. Treat the number as the total simultaneous capacity available to the cluster, including reservations.

#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.

Choose the configuration method

You can make the change persist in the configuration file or supply it when the server process starts. Both methods control the launched server, but they are useful in different operating setups.

Method Where it is set When it applies Precedence and best use
max_players = N [GAMEPLAY] in the Master cluster.ini Every start that reads that file Persistent setting for a normally managed server
-players N The server launch command That process start Useful for scripts, containers, or temporary changes; it overrides the file value

If both are present, the command-line value wins. A file can therefore show one number while the running process uses another number if its startup command includes -players.

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

Change the limit in cluster.ini

Use this method when you want the cap stored with the cluster and applied consistently whenever the server is restarted.

  1. Stop the dedicated server cleanly. Do not edit a live configuration while the process is still running. Stopping first prevents the server manager or a shutdown routine from rewriting the file after you save it.
  2. Open the cluster’s configuration directory. Find the cluster.ini associated with the cluster you launch. If the installation contains several shard folders, identify the copy used by the Master shard rather than editing a secondary shard’s file.
  3. Make a backup. Copy the existing cluster.ini to a separate file before changing it. This gives you a direct rollback if the value is mistyped or another setting is accidentally removed.
  4. Locate the [GAMEPLAY] section. The player cap is not a standalone file property. It must be under the section header written exactly as [GAMEPLAY].
  5. Set the value. Add or edit the line max_players = N, replacing N with the desired simultaneous-player cap. Keep the setting in the Master cluster’s file. A typical entry looks like max_players = 12.
  6. Save the file without changing its structure. Preserve the section header and the other entries in the file. Avoid leaving two competing max_players lines in the same section; keep one deliberate value so it is clear which setting should be read.
  7. Restart the server. The running process must load the edited configuration. A saved file alone does not change a process that is already online.

The exact number is a capacity decision for your community. Klei’s guide identifies 16 as the default, but the file method itself is simply the [GAMEPLAY] value you choose for the Master cluster.

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.

Use the -players launch option

When you control the command that starts the dedicated server, you can pass the cap directly:

-players N

Replace N with the desired value and place the option in the same launch command that starts the server process. Klei’s 2026 command-line guide documents a valid range of 1 through 64. The guide describes the option as setting “the maximum number of players that will be allowed to join the game.”

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

This argument has precedence over [GAMEPLAY] max_players. That makes it useful when a script or service needs to select a different cap for a particular start, but it also explains why changing the file may appear to have no effect: an existing startup argument can silently replace the file value.

When a launch argument is the better choice

  • Scripted starts: Keep the cap in the startup script so every automated launch supplies the intended value.
  • Temporary events: Pass a larger or smaller cap for one scheduled session without permanently changing the cluster file.
  • Managed services: If a service definition owns the command line, edit the service’s launch settings rather than a file that the service may override.

After changing a launch command, stop the old process and start a new one. The option is read when the process is created; adding it to a script does not alter a server instance that is already running.

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.

Multi-shard servers: edit the Master configuration

A cluster can contain more than one shard, but max_players is a Master-cluster-only setting in Klei’s documentation. The practical rule is simple: find the cluster.ini used by the Master shard and make the change there.

Editing a secondary shard’s copy is a common reason for an apparently ignored setting. Secondary files may contain other shard-specific configuration, but duplicating max_players there does not create an additional cap or override the Master value. Once the Master configuration is correct, restart the cluster so the newly loaded configuration governs the running session.

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

How to identify the file you should change

  • Start from the cluster directory referenced by your normal dedicated-server start procedure.
  • If several cluster.ini files exist, map each one to its shard directory and determine which directory the Master process uses.
  • Check the launch definition as well as the files. A command containing -players takes priority over the Master file’s value.

Why a server may still show the old limit

When the displayed or enforced cap does not match your edit, work through the causes in this order.

The server was never restarted

Configuration is read during startup. Stop the dedicated server, confirm that the process has ended, and start it again after saving the file. Merely closing an editor or refreshing a control panel does not reload a running process.

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

The wrong cluster.ini was edited

In a multi-shard layout, only the Master cluster’s file controls this setting. Compare the path used by the launch procedure with the path you edited. If they differ, restore the backup and apply the change to the file the Master process actually reads.

A command-line value is overriding the file

Inspect the complete launch command for -players. Its value takes precedence, so changing max_players will not affect the running cap until you remove or update the argument and restart.

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

The line is outside [GAMEPLAY]

The setting is section-based. A line placed above the header, under another header, or in an unrelated configuration file is not the documented location for this option. Move the entry into the Master cluster.ini section headed [GAMEPLAY].

The file contains a malformed or duplicate entry

Compare the edited file with your backup. Keep one clear max_players = N entry in [GAMEPLAY], preserve the equals sign and numeric value, and remove accidental duplicate lines. If you are unsure which unrelated edits were made, restore the backup and change only the player-limit line.

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.

Reserved slots consume the capacity

Whitelist reservations count toward the maximum. A server can therefore reject an unreserved player even though the configured total has not changed. Review reservation settings and calculate capacity using reserved and unreserved places together.

The chosen value is outside the documented launch range

For the command-line method, stay within Klei’s documented range of 1–64. If you need a value outside that range, do not assume the launcher will accept it; verify current Klei documentation before deploying the change.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Safely plan a larger player cap

Increasing the limit changes how many clients may attempt to connect; it does not by itself add hardware, bandwidth, or administrative capacity. Before opening the server to a larger group, decide who will monitor the session and how you will roll back the change.

  • Record the previous value. Keep the original line or backup so you can restore the prior cap quickly.
  • Change one control point. Either update the Master file or the launch argument. If both are changed at once, it becomes harder to tell which value is active.
  • Schedule a restart. Players connected to the old process will not experience a live, in-place limit change; the new value takes effect after restart.
  • Communicate the window. Tell players when the server will stop and when the new capacity should be available.
  • Check reservations. Include whitelist-reserved places in your capacity plan because they reduce the number of unreserved players who can join.
  • Keep a rollback path. If the new cap causes operational problems, stop the server, restore the previous value or launch argument, and start it again.

These steps separate the configuration change from unrelated performance tuning. The player-limit setting determines the allowed connection count; it is not a promise that every machine or network arrangement will perform identically at that count.

Persistent file versus launch override

The two approaches are not competing features so much as two layers of configuration. The file is the durable baseline for the cluster. The command-line option is a higher-priority value supplied to one process start.

Question cluster.ini -players N
Does it persist in the cluster configuration? Yes, until edited again No; it applies to starts that include the argument
Which scope does the documentation assign? Master cluster setting The launched server process
What happens if both are supplied? The file value is the baseline The command-line value overrides it
Best operational fit Stable, manually managed configuration Automation, scripted deployment, or a temporary cap

A concise verification checklist

Use this checklist after every change:

  1. The dedicated server was stopped before the edit.
  2. The edited file is the Master cluster’s cluster.ini.
  3. The value is under [GAMEPLAY] and written as max_players = N.
  4. No unintended duplicate or misplaced entries remain.
  5. The startup command does not contain an unexpected -players value.
  6. If -players is intentional, its number is within Klei’s documented 1–64 range.
  7. The server was restarted after the file or launch command was changed.
  8. Whitelist reservations were included when estimating how many unreserved players can join.

Key points to remember

  • The documented file setting is [GAMEPLAY] max_players in the Master cluster.ini.
  • Klei’s settings guide lists 16 as the default.
  • Klei’s command-line guide documents -players N from 1 through 64.
  • A command-line -players value overrides the file value.
  • A restart is required for the running server to load the change.

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.

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

cluster.iniDedicated ServersDon't Starve TogetherGaming Guidesserver configuration

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.

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver 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.