> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://billing.sparkedhost.com/submitticket.php).

---

Created By: Antonio G.