Don't Starve Together servers are a fun way to accomplish large game playthroughs. With more players, many tasks become much easier as there are more helping hands to gather resources, explore, and fight monsters. Public servers boast the highest player counts and are widely accessible due to crossplay; however, some users may look to cause trouble on these servers. To remove troublemakers, server administrators can kick or ban a player using multiple methods, both in-game and server-side.
How to Kick or Ban Players on a Don't Starve Together Server
1. Join the server as admin. Learn how to here.
2. Press Tab on the keyboard to display the player list.
3. Next to the desired player, choose the Kick or Ban button.
4. To ban with console commands, open the console with the tilde (~) key.
5. Press Ctrl to enter Local mode and enter c_listallplayers() to find their user IDs.
| Command | Description |
TheNet:Kick("userid") |
Removes a player from the game temporarily; kicked players can rejoin instantly. |
TheNet:Ban("userid") |
Bans a player from the server and prevents them from joining permanently. |
TheNet:BanForTime("userid",time_in_seconds) |
Bans a player from the server and prevents them from rejoining for a set period. |
How to Use the Blocklist File
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Files tab.
4. Find the following directory: /home/container/DoNotStarveTogether/config/server .
5. Choose Create and select Create File.
6. Enter the desired Klei User ID in a new line to ban.
7. Choose Create File.
8. Name the file blocklist.txt.