company logo

Help center

Go to ChipHead
All collectionsGames LibraryDont Starve TogetherKicking And Banning Players From Your Don't Starve Together Server

Kicking And Banning Players From Your Don't Starve Together Server

Information on how to Kick and Ban Players From Your Don't Starve Together Server

Summary

Sometimes, a disruptive or unwanted player may join your Don’t Starve Together server. This guide explains how to kick, ban, and temporarily ban players who are causing issues to help keep your server community safe and enjoyable.

info icon
Note:
You must be an administrator to kick or ban players. If you’re not set up as an admin yet, check out our guide on how to become one.

Using the In-Game Interface

The easiest way to remove players is through the in-game player list.

  1. Hold down the TAB key while in-game to open the player list.

  2. Find the player you want to remove.

    • Click the shoe icon to kick the player.

    • Click the hammer icon to ban the player.

Using Admin Commands

You can also use console commands for more control over player management.

  1. Open the developer console by pressing the ~ key.

  2. Run the command:

    c_listallplayers()
    

    This will display a list of all players along with their unique Klei User IDs.

  3. Use one of the following commands based on what you want to do:

TheNet:Kick("userid")

Temporarily removes a player from the game (they can rejoin immediately).

TheNet:Kick("KU_oD8s1Au4")

TheNet:Ban("userid")

Permanently bans a player from the server.

TheNet:Ban("KU_oD8s1Au4")

TheNet:BanForTime("userid", time_in_seconds)

Temporarily bans a player for a specific duration.

TheNet:BanForTime("KU_oD8s1Au4", 120)

Using the Blocklist

You can manually ban players by editing the server’s blocklist file.

  1. Log in to your ChipHead Panel and stop your server.

  2. Go to the Files tab & Navigate to: home/container/DoNotStarveTogether/config/server

  3. create a file called blocklist.txt if it doesn’t already exist.

  4. Add the KU IDs of the players you want to ban, one per line.

  5. Save the file and restart your server.

Unbanning a Player

To remove a player from the ban list:

  1. Log in to your ChipHead Panel and stop your server.

  2. Go to the Files tab & Navigate to: home/container/DoNotStarveTogether/config/server

  3. Remove the player’s KU ID from the file and save it.

  4. Restart your server again.

Did this answer your question?
😞
😐
😁