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×
Skip to content
World desk8 min

How to Enable PvP on a Don’t Starve Together Server

Enable PvP on a Don’t Starve Together dedicated server by setting pvp = true under [GAMEPLAY] in the active cluster.ini, saving, and restarting. Player-hosted worlds use the PvP option in server creation.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To enable player-versus-player combat on a dedicated Don’t Starve Together server, stop the server, open the active cluster.ini, add or edit the [GAMEPLAY] section, set pvp = true, save the file, and restart the server. PvP is optional, controlled by the server operator, and is false by default.

What the PvP setting does

Don’t Starve Together treats PvP as a server-level option rather than a setting that each player can switch on independently. The operator decides whether players in that world can damage one another. The Klei settings reference lists the configuration key as pvp, describes it as “Enable PVP,” and gives it a default value of false.

As an Amazon Associate I earn from qualifying purchases.

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.

That means an unchanged server normally starts with PvP disabled. Changing a client-side option, character setting, or local graphics preference will not enable it for everyone. You must change the setting used by the world you are hosting, then restart that world so the server loads the new value.

How do I turn on PvP on my DST server?

Use these steps for a dedicated server. The important details are editing the active cluster, placing the key under [GAMEPLAY], and restarting after saving.

#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.
  1. Stop the server cleanly. Shut down the running DST server before opening its configuration. If the process is still running, it can write its current configuration back to disk when it closes and overwrite your edit.
  2. Open the active cluster configuration directory. A common installation uses DoNotStarveTogether/config/server/cluster.ini. Your installation or hosting panel may place the server configuration in a different directory, so identify the cluster and save slot that the running instance actually uses.
  3. Find the gameplay section. Open cluster.ini in a plain-text editor and locate [GAMEPLAY]. If that section is missing, create it as its own section header.
  4. Add or change the PvP line. Under [GAMEPLAY], enter exactly:
pvp = true
  1. Save the file. Keep the key lower-case as shown, use the Boolean value true, and do not put the value in quotation marks.
  2. Start the server again. Restart the same cluster you edited. Players must reconnect to that restarted instance for the new world setting to apply.
  3. Verify the result. Confirm that the server loaded the intended cluster and that players are joining that instance, not another save slot or a separate copy of the server.

If the server starts normally but PvP remains unavailable, do not immediately add the line to every configuration file you can find. First establish which cluster the server process reads, then check the section name, spelling, value, and restart sequence.

Where is cluster.ini?

cluster.ini is the cluster-level configuration file for a DST server. A commonly used path is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
DoNotStarveTogether/config/server/cluster.ini

The exact absolute path depends on how the server was installed and which cluster or save slot it launches. A dedicated server can contain more than one cluster, and an installation may also contain sample, template, or inactive configuration files. Editing one of those files has no effect on a running world.

Use the server’s launch configuration, management panel, or documented configuration directory to identify the active cluster. If you run more than one world, match the file to the world name or save slot that players use. Make a backup copy of the active file before changing it so you can restore the previous setting if another configuration change causes a startup problem.

What the edited section should look like

Your file may contain many other settings. Only the relevant section needs to contain the PvP key:

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.
[GAMEPLAY]
pvp = true

If [GAMEPLAY] already exists, add the line inside that section rather than creating a second section with the same name. If a pvp line is already present, change its value instead of leaving two competing entries. Keep the setting as a Boolean value: true enables PvP and the documented default is false. A quoted value such as "true" is not the same configuration syntax.

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

Do not place this key in an unrelated section or in a player profile. The server reads pvp from the cluster’s [GAMEPLAY] section.

Can I enable PvP on a non-dedicated world?

Yes. DST supports dedicated, player-hosted, and LAN servers, and PvP is an optional setting controlled by the person creating or hosting the world. For a player-hosted world, set PvP during the server-creation flow before launching the world.

Player-hosted game

Start the host-game or server-creation flow and look for the PvP toggle or option. Enable it before creating or launching the world, then invite players after the world has started. The exact wording and location of the control can vary by platform or game build, so look in the world or server settings rather than in an individual player’s options.

LAN game

A LAN world follows the same principle: the host controls the world settings. Choose the PvP option while creating the world. Players who join the host’s world cannot independently turn PvP on for that session.

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.

Existing player-hosted worlds

If the creation screen does not expose a way to change PvP for an existing world, close it and create or relaunch the world through the host settings where the PvP toggle is available. Do not edit a dedicated-server cluster.ini unless the world is actually being run as a dedicated cluster.

Dedicated server versus player-hosted settings

Server type Where to enable PvP When it takes effect
Dedicated server Active cluster.ini, under [GAMEPLAY]: pvp = true After saving and restarting the edited cluster
Player-hosted world PvP toggle in the host-game or server-creation flow Before launching the world, according to the host screen
LAN world PvP option selected by the host during world creation When the host launches that world

The setting is optional in each case, but the control belongs to the server operator or host, not to an individual joining player.

Why is PvP still off after I changed the setting?

When the change appears to have no effect, work through the checks below in order. Most failures are caused by editing the wrong file or restarting the wrong process rather than by the value itself.

The server was not stopped before editing

Stop the server completely, make the change while it is stopped, save the file, and start it again. A running process may keep its old settings in memory or overwrite your edit during shutdown.

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.

You edited a template or inactive cluster

Confirm that the path belongs to the cluster and save slot the server actually launches. A sample file, backup, or second cluster can look correct while having no effect on the world players join.

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 key is in the wrong section

Check that the line appears below the [GAMEPLAY] header. If the section was absent, create one header and place pvp = true beneath it. Remove duplicate pvp entries so there is one unambiguous value.

The value is not a Boolean

Use the unquoted value true. Check for spelling errors, accidental quotation marks, or extra characters. The documented default is false, so a missing or invalid setting leaves PvP disabled.

The wrong server was restarted

Restart the same instance whose configuration you edited. If several servers or save slots are running, verify the world name and the process or panel entry before testing with players.

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

The host screen controls the world instead

For a player-hosted or LAN world, a dedicated-server file is not the controlling interface. Return to the host-game or server-creation settings and enable the PvP option there before launching the world.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How PvP works in a multi-shard cluster

A DST dedicated setup can use multiple shards, commonly a Master and Caves configuration. The cluster guide distinguishes settings that are master-only from settings that must match across machines or shards. Do not copy every value indiscriminately between Master and Caves.

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.

For a multi-shard installation:

  • Identify which file is the cluster-level cluster.ini used by the running instance.
  • Read the scope notes for the setting in your dedicated-server configuration guide.
  • Apply master-only settings only where the guide specifies them.
  • Keep settings marked as requiring a match identical in each required cluster.ini.
  • Restart the relevant cluster and test the world after all required files have been updated.

If one shard has a different configuration or you edit only a non-active copy, the cluster may continue operating with the old behavior or produce a mismatch. The correct action depends on the scope designation for your cluster, so use those master-only and must-match rules rather than guessing.

Using a hosting control panel

Some managed-server panels present the same setting as a web-form checkbox or a PvP field. Enabling that control should write the equivalent [GAMEPLAY] value to the active cluster configuration. Stop or restart the server through the panel as required by its workflow, then verify that the panel is operating on the intended cluster and save slot.

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

If the panel offers both a PvP control and direct file editing, avoid changing both at the same time. Save the setting in one place, restart the server, and inspect the resulting active configuration if the panel provides a file viewer. A panel can expose a friendly label while still relying on the same underlying pvp value.

Safe change procedure and rollback

A small configuration edit is low risk when the server is stopped and the original file is preserved. Use this checklist before inviting players back:

  • Record the cluster or save-slot name you intend to change.
  • Stop the server cleanly.
  • Copy the active cluster.ini to a backup location.
  • Edit only the [GAMEPLAY] PvP value.
  • Save as plain text without changing the file name or extension.
  • Restart the same server instance.
  • Confirm that the world loads and that players connect to the intended cluster.

If the server fails to load after the edit, stop it, restore the backup, and start it again. Once the original world is running, recheck the section header, Boolean syntax, and file path before attempting the change a second time.

What server operators should tell players

Because PvP is a server-wide choice, announce the change before players join or reconnect. Tell players that the world is operating with PvP enabled and identify the world or shard they should join. This avoids confusing a correctly configured PvP server with another save slot that still uses the default setting.

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

If you later want to disable PvP, repeat the same dedicated-server procedure with pvp = false, or turn the host-game PvP option off for a player-hosted world, then restart or relaunch the world. Preserve a backup of the prior configuration whenever you change a live community server.

Quick reference

Question Action
How do I turn on PvP on my DST server? Stop the dedicated server, set [GAMEPLAY] pvp = true in the active cluster.ini, save, and restart.
Where is cluster.ini? Common path: DoNotStarveTogether/config/server/cluster.ini; confirm the active cluster and save slot.
Why is PvP still off? Check the active file, section, exact Boolean value, and restart the correct server.
Can I enable PvP on a non-dedicated world? Yes. Select the PvP option in the host-game or server-creation screen before launching it.
What about Master and Caves? Follow the cluster guide’s master-only and must-match rules instead of copying settings blindly.

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