Don't Starve Together Console Commands List


The Command Console is activated by default. For any reason, if you want to activate the commands, you first have to do some tweaking in the settings.ini of your save. You can find it in the “DoNotStarveTogether” folder that is located in the following direction:

 Windows, Mac: <Documents>\Klei\DoNotStarveTogether\client.ini

Linux:         ~/.klei/DoNotStarve/client.ini

Find out the settings.ini and open it with Notepad or other text editors. Find the (MISC) section and confirm that you have ENABLECONSOLE = true under it. If it is false, you need to change and save it.

The default key you can use to open the console in game on English keyboard is “~”. You can change it anytime from the control menu.


Console Commands
Code Effect
c_spawn [prefab] , [amount] Improved DebugSpawn("prefab"), spawns amount of selected "prefab" under the mouse cursor.
c_give [prefab], [amount] Spawns amount of selected "prefab" in your inventory. Only works with Backpacks and Items that can be stored in the inventory.
c_godmode [Sanity] It won't drain Sanity, Hunger or Health when attacked anymore.
c_supergodmode [God] Same as God Mode but also sets all your stats to full, even when turning it off. Similar to c_godmode(),
c_speedmult [multiplier] Standard bonus runspeed is 1. 2 makes you twice as fast and with 20 or more you can easily walk through walls and "over" water.
GetPlayer [Everything] You can craft everything.
GetPlayer [Damage Multiplayer] Changes the Damage Multiplier of your character.
AllPlayers [number] Kills the player.
AllPlayers [number] Resurrects the player.
c_select [Mouse] After pressing enter, it deletes the item under your mouse.
AllPlayers [number of player] Resurrect a player:
c_goto [number of player] Teleport to a player
c_move [number of player] Teleport another player to you
c_spawn [prefab] , [amount] Spawns amount of selected item under the mouse cursor.
c_sethea​lth [100%] Sets your health to the provided percentage (Only fractional numbers).
c_setsanit​y [1.00] Sets your sanity to the provided percentage.
c_sethunger [90%] Sets your hunger to the provided percentage.
c_setmoisture [0.90] Sets your hunger to the provided percentage.
c_settemperature [1.00] Sets your temperature to the provided percentage.
c_godmode [Stats] Same as God Mode but also sets all your stats to full, even when turning it off.
c_supergodmode [Stats] Same as God Mode but will set all your stats to full, even when it's disabled.
c_speedmult [1.0] Modifies your walking/running speed to the value set in fractional numbers.
Player Components [Builder] Enables the Creative Mode which lets you craft anything without the resources required.
SetMaxHealth [100] Sets your character maximum health level to the provided value.
Sanity SetMax [100] Sets your character maximum sanity level to the provided value.
Hunger SetMax [100] Sets your character maximum hunger level to the provided value.
Hunger Pause [true] Will stop your character from starving.
Beaverness SetPercent [.01] Turns Woodie into the Werebeaver. Default value for regular form: 1