Don't Starve Together

Don't Starve Together

201 ratings
List of commands don't starve together
By RigoWong
These are some commands most used by players, if you find any new command leave it in the comments to put it in the guide.
   
Award
Favorite
Favorited
Unfavorite
List of commands

The Command Console is enabled by default. If for whatever reason it is not, you first need to do some tweaking in your settings.ini of your save. This can be found in the "DoNotStarveTogether" folder, located in the following paths :
Windows, Mac: <Documents>\Klei\DoNotStarveTogether\client.ini Linux: ~/.klei/DoNotStarve/client.ini
Locate the settings.ini and open it with Notepad or other text editors. Locate the [MISC] section, and make sure you are having ENABLECONSOLE = true under it. If it appears to be false, change and save it.

Spawn prefab
c_spawn("prefab",amount)
Improved DebugSpawn("prefab"), spawns amount of selected "prefab" under the mouse cursor.

Give Item
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.


God Mode
c_godmode()
It won't drain Sanity, Hunger or Health when attacked anymore. You cannot change your stats with commands while in godmode. If you are dead, revives you
(Reviving via c_godmode() doesn't put you in
godmode once revived).
To deactivate God Mode use the command again.

Super God Mode
c_supergodmode()
Same as God Mode but also sets all your stats to full, even when turning it off. Similar to c_godmode(), it revives you as well(Reviving via c_supergodmode() doesn't put you in godmode once revived).To deactivate God Mode use the command again.

Set bonus running speed
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.


Creative mode
GetPlayer().components.builder:GiveAllRecipes()
You can craft everything.

Damage Multiplier
GetPlayer().components.combat.damagemultiplier = value
Changes the Damage Multiplier of your character.

Kill a player
AllPlayers[number]:PushEvent('death')
Kills the player.

Resurrect a player
AllPlayers[number]:PushEvent
('respawnfromghost')
Resurrects the player.

Delete Item Under Mouse
c_select():Remove()
After pressing enter, it deletes the item under your mouse.

https://steamcommunity.com/tradeoffer/new/?partner=310924456&token=fKqNRgbf
Visit the site for more games in: https://www.kleientertainment.com/
58 Comments
ephemeral Jan 28, 2022 @ 5:26pm 
the only thing is working on mine is godmode :(
and is it normally do auto pause?
Twitch.tv/Elia1995 © [CttG] Oct 2, 2021 @ 12:09am 
Is there a "no clip" command to go over water without increasing the speed with speedmult? It kinda glitches out and, beside making me drowning, it bugs the character and can't move properly
Nazgaz Dec 30, 2020 @ 4:23am 
@CrissyMesquita you have to write it into the console, not the chat. Look in the settings which key to press to open the console. Remember to press CTRL button so it says "Remote" and not "Local" when you write in the console. else some commands dont work
CrissyMesquita Jul 15, 2020 @ 3:06pm 
Not working :(
The command appears only as chat! What I am doing wrong?
「saturnz」 May 22, 2020 @ 1:57pm 
examples for the damage multiplier pls.
ardsamurai Mar 30, 2020 @ 9:30am 
free crafting is also in creative mode, but it will use available resources, which is odd.
MrDeun Mar 26, 2020 @ 4:27am 
for free crafting you can use c_freecrafting()
PsychoPuffs Oct 29, 2019 @ 3:47am 
@skilfrat
It would be c_godmode(AllPlayers)
zarnivop Oct 15, 2019 @ 1:22pm 
Location of CLIENT.INI:

My Documents\Klei\DoNotStarveTogether\[NUMBER] \client.ini
MInk Aug 25, 2019 @ 7:40am 
When following the steps to enable the console and there is no .ini file: I opened the folder with the large number and found the .ini file in there.