Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
VGSOURCES
Get listed

Don’t Starve TogetherPATCH 2026.10.15

How to Kick and Ban Players on a Don’t Starve Together Server

By VGSources Team 9 min read

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

As a server administrator, you can remove a player from a Don’t Starve Together world from the TAB player list or with the developer console. Hold TAB, select the player, then choose the shoe icon to kick or the hammer icon to ban. For exact, identifier-based control, open the console with ~, run c_listallplayers(), and use the player’s KU ID with TheNet:Kick, TheNet:Ban, or TheNet:BanForTime.

What each action does

These controls have different consequences, so choose the least severe action that solves the problem.

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.
Action How long the restriction lasts Best use Where it is performed
Kick Temporary; the player can rejoin immediately Stopping a disruption without preventing a return TAB player list or developer console
Timed ban The number of seconds you specify A cooling-off period with a defined end Developer console
Permanent ban Blocks the player from joining until the ban is reversed Serious or repeated rule violations TAB player list, developer console, or a persistent blocklist
Blocklist entry Remains in force across restarts while the KU ID stays in the file A file-based restriction on a managed dedicated server blocklist.txt

A kick is not a ban: it removes the player from the current session but does not stop an immediate rejoin. A timed ban uses seconds, while a permanent ban has no duration supplied to the command.

Check your administrator access first

You must be assigned as an administrator before the kick and ban controls or the corresponding commands will work. Confirm that you are connected with the administrator privileges configured for this server. If the shoe or hammer controls are absent, or the console commands fail without changing the player’s status, resolve the administrator assignment before troubleshooting the command syntax.

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

Do not confuse an administrator role with being the host who happens to be playing. The permission must be recognized by the active server instance. If you operate through a hosting panel, make changes only after identifying the running cluster and the account or role that has server administration rights.

Choose the right method

The in-game list is the fastest option when the offender is currently visible. Console commands are more precise because they target a KU identifier rather than a display name. The file method is the persistent option for a managed dedicated server, but it requires stopping and restarting that server.

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.
Method Speed Identifier precision Duration options Persistence
TAB player list Fastest during play Selection is made from the displayed player list Kick or permanent ban Uses the live server controls
Developer console Quick after the KU ID is identified Exact KU ID Kick, permanent ban, or a ban measured in seconds Runtime command
blocklist.txt Requires a stop, edit, save, and restart One KU ID per line Persistent block while the ID remains Survives restarts

Kick or ban from the TAB player list

Open the list and select the player

  1. Join the server using an account with administrator privileges.
  2. Hold TAB to open the player list.
  3. Locate the player you need to remove. Check the displayed identity carefully before selecting an action, particularly when several players have similar names.

Kick the player

With the target selected, click the shoe icon. The server removes the player from the current session. This is appropriate when you need to stop an immediate problem but are willing to let the player reconnect.

Ban the player

With the target selected, click the hammer icon. This applies a ban that blocks the player from joining. Use it when a simple removal is not enough, and verify that you selected the intended person before confirming the action.

The list method is convenient because it does not require copying an identifier. Its trade-off is that you are relying on the player-list selection rather than entering the KU ID yourself.

Use the developer console and KU IDs

The console gives you an unambiguous target. A display name can be mistyped or shared, whereas a KU ID identifies the account used by the server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
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.

Find the KU ID

  1. While connected as an administrator, press ~ to open the developer console.
  2. Run c_listallplayers().
  3. Find the intended player in the output and copy the KU identifier. An example format is KU_oD8s1Au4.
  4. Use that identifier exactly inside the command, including the KU_ prefix and quotation marks.

Use the ID from the current server output rather than relying on memory or a display name. This avoids applying a restriction to the wrong account.

Kick with TheNet:Kick

Replace the example ID with the value returned by c_listallplayers():

TheNet:Kick("KU_oD8s1Au4")

This removes the player temporarily and allows an immediate rejoin.

Apply a permanent ban with TheNet:Ban

TheNet:Ban("KU_oD8s1Au4")

The command blocks that KU ID from joining. Because it has no time argument, treat it as the permanent form and use it only when that level of restriction is intended.

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.

Apply a timed ban with TheNet:BanForTime

TheNet:BanForTime("KU_oD8s1Au4", 120)

The second argument is a duration in seconds. In this example, 120 means 120 seconds. Replace it with the number of seconds you want; do not enter minutes unless you have converted them first.

Check command formatting

  • Use the colon exactly as shown in TheNet:Kick, TheNet:Ban, and TheNet:BanForTime.
  • Put the KU ID in quotation marks.
  • For a timed ban, separate the ID and the seconds with a comma.
  • Do not replace the KU ID with a player’s visible name.
  • Run c_listallplayers() again if you are uncertain which account is connected.

Klei’s Dedicated Server Command Line Options Guide, dated July 15, 2026, cautions that command lines are used at the operator’s own risk. Test the selected ID and the intended duration before pressing Enter.

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.

Maintain a persistent ban with blocklist.txt

A file-based ban is useful when you manage a dedicated server and want the restriction to remain after a restart. This workflow is different from clicking the hammer icon or issuing a runtime command because it edits the server’s configuration files.

Stop the server before editing

  1. Stop the dedicated server cleanly from its control panel or service manager.
  2. Wait until the server is fully stopped before opening its files. Editing a file while the service is writing can leave the change unsaved or inconsistent.

Open the active cluster directory

In the managed-server layout documented for this workflow, the file is in /config/<cluster-name>/. Replace <cluster-name> with the cluster that the server actually launches. Do not edit a similarly named inactive cluster.

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

Klei’s dedicated-server documentation describes the hierarchy: the configured Klei storage root contains the DoNotStarveTogether configuration directory by default, which contains the default Cluster_1 cluster. That cluster contains cluster.ini and shard directories such as Master, where server.ini is stored.

Operating system Default Klei storage root Default configuration and cluster
Windows <Documents>/Klei DoNotStarveTogether/Cluster_1
macOS <home>/Documents/Klei DoNotStarveTogether/Cluster_1
Linux ~/.klei DoNotStarveTogether/Cluster_1

Hosted control panels can present a different interface while still mapping to the same cluster-and-shard organization. Confirm the configured Klei storage root and the cluster named by the running service before changing anything.

Create or edit the file

  1. Inside the active cluster directory, create blocklist.txt if it does not already exist.
  2. Enter one KU ID per line, with no display names substituted for IDs.
  3. Save the file in plain text.
  4. Review each line for accidental spaces, missing characters, or a copied ID belonging to another player.
KU_oD8s1Au4

For multiple players, place each KU ID on its own line rather than combining them on one line.

Restart and verify

  1. Start the server again after saving the file.
  2. Allow the service to finish loading the active cluster.
  3. Have the affected account attempt to join, or check the server’s connection output, to confirm that the intended ID is blocked.

Removing a KU ID from blocklist.txt and restarting reverses that file-based block. Keep a backup of the previous file if you administer a busy world and need an audit trail of changes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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

How to unban a player

Remove a file-based ban

For a ban created or maintained through blocklist.txt, stop the server, delete the player’s KU ID from the file, save the edited file, and restart the same cluster. The ID must be removed as a complete line; deleting only part of it does not identify the account correctly.

  1. Stop the active server.
  2. Open /config/<cluster-name>/blocklist.txt, or the corresponding active cluster location in your control panel.
  3. Delete the target KU ID line.
  4. Save the file and restart the server.
  5. Confirm that the account can connect after the restart.

Separate runtime bans from the file

The documented console commands specify how to kick, permanently ban, or time-ban a KU ID, but they do not provide a separate console unban command. If a player remains blocked after you remove an ID from the file, determine whether the restriction was created by a runtime command, a host control panel, or another active cluster configuration. Check the exact cluster the server launches and the management interface that applied the ban before changing additional files.

Do not assume that editing an unused cluster will remove a restriction. The running service reads the configuration associated with its active cluster, not necessarily the default Cluster_1.

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

Troubleshoot failed kicks and bans

The shoe and hammer icons are missing

  • Confirm that your account has administrator privileges on this server.
  • Leave and rejoin using the account that was granted administration rights.
  • Check that you are operating the intended world or shard rather than a different server instance.

Without administrator access, changing the TAB view or repeatedly clicking will not grant permission.

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

The command runs but affects the wrong person

Run c_listallplayers() again and compare the complete KU ID, including capitalization and the KU_ prefix. Display names are not a substitute for the identifier. If several players have similar names, copy the ID directly from the current output before issuing the restriction.

The console reports an error

  • Check that the console was opened with ~.
  • Check the function spelling and capitalization: TheNet:Kick, TheNet:Ban, or TheNet:BanForTime.
  • Check that the ID is inside quotation marks.
  • For a timed ban, check that the seconds value follows a comma and is a number such as 120.
  • Verify administrator privileges and that the command is being entered on the active server.

The player can still rejoin

A successful kick permits an immediate rejoin by design. If you intended to prevent joining, use the hammer icon or TheNet:Ban instead. If you intended a temporary restriction, use TheNet:BanForTime and make sure the seconds value is longer than the time needed to resolve the incident.

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

A file-based ban does not take effect

  • Confirm the server was stopped before the edit and restarted afterward.
  • Confirm the file is named exactly blocklist.txt.
  • Confirm the KU ID is on its own line and matches the output from c_listallplayers().
  • Confirm that /config/<cluster-name>/ belongs to the cluster the service actually starts.
  • Check whether a control panel exposes a separate active configuration path.

Practical administration checklist

Use this short sequence when moderating an incident:

  1. Confirm you are an administrator.
  2. Decide whether the problem calls for removal, a timed restriction, or a permanent restriction.
  3. Use TAB when speed matters and the correct player is clearly visible.
  4. Use c_listallplayers() and a KU-ID command when identity precision matters.
  5. Use blocklist.txt when the restriction must remain after restarts on a managed dedicated server.
  6. Record the KU ID and the action taken in your moderation notes, without relying solely on a display name.
  7. For an unban from the file-based route, remove the complete KU ID line and restart the active cluster.

Examples for common situations

A disruptive player who may return

Open the TAB list, select the player, and click the shoe icon. The player is removed but can reconnect immediately. This avoids imposing a longer restriction when a single removal is enough.

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

A player who should be barred for two minutes

Find the KU ID with c_listallplayers(), then run TheNet:BanForTime("KU_PLAYER_ID", 120). The number is seconds, so 120 represents two minutes.

A repeat offender who must not reconnect

After verifying the KU ID, use TheNet:Ban("KU_PLAYER_ID") or the hammer icon. If you administer a dedicated server and need the block to remain in a file across restarts, place that KU ID on its own line in the active cluster’s blocklist.txt, then restart.

Bottom line

Use TAB for the quickest in-game action, the console for exact KU-ID targeting, and blocklist.txt for a persistent file-based restriction. The key safeguards are administrator access, copying the correct KU ID, matching the command to the intended duration, and editing the cluster that the server actually runs.

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.

Don’t Starve TogetherDST server administrationgame moderationKU IDplayer bansserver commands

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
Windows Errors? Fix Them Before They SpreadFree repair scan
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.