There are times when a disruptive or unwanted player may join your Don't Starve Together server. This article will walk you through the process of kicking, banning and temporarily-banning players that are causing issues on your server.
Note
Before being able to kick or ban a player, you must be assigned as an administrator. You can find our article to help you with this here.
# Using The In-Game Interface
The simplest method of banning a player is by using the in-game interface.
- Hold down the TAB key while in-game to open the player list.
- Find the name of the player you want to remove and click the shoe icon to kick them, or the hammer icon to ban them.
# Using Admin Commands
- Open the developer console by pressing the
~
key. - Run the command
c_listallplayers()
to find the player's ID.
- Run one of the following commands to ban, kick, or temporarily ban a player.
# Using The Blocklist
- Access your control panel and Stop your server.
- Navigate to Files.
- Navigate to
/config/<cluster-name>/
and create a file calledblocklist.txt
.
- Enter the KU ID of the players that you wish to ban from your server, separated by line.
- Restart your server.
# Unbanning A Player
- Access your control panel and Stop your server.
- Navigate to Files.
- Navigate to
/config/<cluster-name>/
and click onblocklist.txt
.
- Locate and remove the ID of the player, then save the file.
- Start your server again.
If you would like to know how to make your server private and avoid unwanted players joining your server, we have another article on our Knowledgebase that will guide you through the entire process here