Admin Commands - Don't Starve Together
In this article, you will find a complete guide to admin commands for your server.
Admin Commands
Kick or Ban a Player
TheNet:Kick(userid)
TheNet:Ban(userid)
Temporarily Ban a Player
TheNet:BanForTime(userid,time_in_seconds)Reset the World
c_reset()Regenerate the World
c_regenerateworld()Save the Server
c_save()Allow Players to Join
TheNet:SetAllowIncomingConnections( true / false )Make an Announcement
c_announce("announcement")Clear a Player’s Inventory
AllPlayers[number].components.inventory:DropEverything()If you need further assistance, please create a ticket here.
Created By: Antonio G.
Updated on: 10/08/2024
Thank you!