---
title: "Admin Commands For Your Don't Starve Together Server"
description: "Information on Admin Commands for Your Don't Starve Together Server"
url: https://help.chiphead.tech/en/articles/388-admin-commands-for-your-don-t-starve-together-server
collection: "Dont Starve Together"
updated: 2026-06-11
language: en
---

# Admin Commands For Your Don't Starve Together Server

Information on Admin Commands for Your Don't Starve Together Server

## Summary

**Don’t Starve Together** dedicated servers offer a variety of admin commands that allow server owners to manage gameplay, players, and world settings. These tools are essential for maintaining order, helping players, and customizing your game experience.

> **Error:** **Important:**
> Before using any admin commands in-game, ensure that you have admin permissions on the server. You can assign admin rights to yourself or others by following our guide on [Adding An Admin To Your Don't Starve Together Server](https://help.chiphead.tech/en/articles/380-adding-an-admin-to-your-dont-starve-together-server.md).

## Using Admin Commands

Admins can use commands through the in-game developer console.

1.  Open the console by pressing the **~ (tilde)** key (found to the left of the **1** key).
    
2.  Make sure the console is set to **Remote Mode** so that commands are sent to the server. If it’s in **Local Mode**, press **CTRL** to switch modes.
    
3.  Enter and send the command you want to use.
    

### Common Admin Commands

There are many admin commands available in **Don’t Starve Together**, but here are some of the most commonly used ones every server owner should know:

<table data-id="14e32a47-9f51-4e4e-be70-ebaf410afa09" 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="2b25c071-5427-40d7-beee-9ea5397807c6">c_godmode()</p></td><td colspan="1" rowspan="1"><p data-id="dd819e19-dd7c-477d-8f76-8c14942e79f0">c_supergodmode()</p></td><td colspan="1" rowspan="1"><p data-id="b764795e-92eb-4af6-8e7c-34489c77fb5d">Toggles god mode. This makes your character invincible. The <strong>c_supergodmode()</strong> command also restores all stats to full and keeps them that way until turned off.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="f2c6823e-79eb-4542-9d22-e941f1b40287">c_listallplayers()</p></td><td colspan="1" rowspan="1"><p data-id="f5e4d098-189e-4a53-a619-f60af579deb4">—</p></td><td colspan="1" rowspan="1"><p data-id="b2b7e68a-84eb-4be3-805b-72b73eac989b">Lists all connected players, showing their usernames and player numbers. If this command doesn’t work, try using its alternate version to print the player list into the in-game chat.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="b10b5c79-d710-43ed-a5f6-c4cfb77d7ea0">c_despawn(AllPlayers[])</p></td><td colspan="1" rowspan="1"><p data-id="24650b9d-791f-4f92-a24b-c64ea896a693">—</p></td><td colspan="1" rowspan="1"><p data-id="dd378c56-74bb-47df-a5ce-fb91da0dc434">Despawns a player and returns them to the character selection screen. Replace <strong>PLAYER NUMBER</strong> with the player’s number, which can be found using <strong>c_listallplayers()</strong>.</p></td></tr></tbody></table>

For a full list of available admin commands, visit the official [Don’t Starve Together Wiki](https://dontstarve.fandom.com/wiki/Console/Don%27t_Starve_Together_Commands).
