---
title: "Kicking And Banning Players From Your Don't Starve Together Server"
description: "Information on how to Kick and Ban Players From Your Don't Starve Together Server"
url: https://help.chiphead.tech/en/articles/383-kicking-and-banning-players-from-your-don-t-starve-together-server
collection: "Dont Starve Together"
updated: 2026-06-11
language: en
---

# 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:** 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:
    
    ```javascript
    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:
    

<table data-id="7782924d-d691-47af-9163-2d6f16df5b45" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="710503a2-bb34-47cf-ab3b-049998b8eaba">TheNet:Kick("userid")</p></td><td colspan="1" rowspan="1"><p data-id="e09d2d1d-4901-4d1e-bd9f-7247d68ee79f">Temporarily removes a player from the game (they can rejoin immediately).</p></td><td colspan="1" rowspan="1"><p data-id="ca101492-c023-4f4c-855f-5162db1601ed">TheNet:Kick("KU_oD8s1Au4")</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="3f381652-c7cf-46d1-9bfd-e37b6b005f05">TheNet:Ban("userid")</p></td><td colspan="1" rowspan="1"><p data-id="bb7350fb-b1c5-418b-91ee-998a0c5e22aa">Permanently bans a player from the server.</p></td><td colspan="1" rowspan="1"><p data-id="d1200370-4e64-449f-8bdb-758590d7e2dc">TheNet:Ban("KU_oD8s1Au4")</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="94652232-e9c5-4fb6-8d13-74c653f0e935">TheNet:BanForTime("userid", time_in_seconds)</p></td><td colspan="1" rowspan="1"><p data-id="8689c91c-11ed-4017-9ed6-64e56ebec197">Temporarily bans a player for a specific duration.</p></td><td colspan="1" rowspan="1"><p data-id="03ece00b-a245-41b4-83bf-02080c696233">TheNet:BanForTime("KU_oD8s1Au4", 120)</p></td></tr></tbody></table>

## 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.
    
    ![](https://staticfiles.gleap.io/gattachments/trackDGKnxNn9hE3cmfvI7JxDQvA3yOjIN1FGfMBzNx9rpO6y0IrHF8PLYyzhGvZk3BJizSOKxP.webp)
    
2.  Go to the Files tab & Navigate to: `home/container/DoNotStarveTogether/config/server`
    
    ![](https://staticfiles.gleap.io/gattachments/bzazgT1ACACIAGeL3Po4HQ7ooWfC4AeJhpZ358XsN8UJZPnfNYB3tv6X077QcURg8GJzP2EiCHM.png)
    
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.
    
    ![](https://staticfiles.gleap.io/gattachments/rRzUEHAq20kqcTsgBnm4H07r0tLdRULtp5kMKjKTR3ZOMxrTA6WwxugPSOzlCUEMMjHaNIaQOAw.png)
    

## Unbanning a Player

To remove a player from the ban list:

1.  Log in to your **ChipHead Panel** and stop your server.
    
    ![](https://staticfiles.gleap.io/gattachments/CpLvSWeDyPNqhMs6XlhTQzMI8KLNECVFwN11EdoqTpAJ4ibouefF7a01HQxif7c597hTpqgMlKp.webp)
    
2.  Go to the Files tab & Navigate to: `home/container/DoNotStarveTogether/config/server`
    
    ![](https://staticfiles.gleap.io/attachments/20260611003842_8483.webp)
    
3.  Remove the player’s **KU ID** from the file and save it.
    
4.  Restart your server again.
    
    ![](https://staticfiles.gleap.io/attachments/20260611003923_6269.webp)
