Don’t Starve Together – Console Commands Guide

Don’t Starve Together – Console Commands Guide 1 -
Don’t Starve Together – Console Commands Guide 1 -

Don’t Starve Together commands guide.


If you want to turn on the consoles during the game, press the tilde (`)

Unlocking all crafting

for you :
GetPlayer (). Components.builder: GiveAllRecipes ()
for the selected player:
AllPlayers [player number] .components.builder: GiveAllRecipes ()

Player numbers

c_listallplayers ()
Only works on local

Map Seed

print (TheWorld.meta.seed)
Only works on local

Discovery of the Map

for k,v in pairs(AllPlayers) do for x=-1600,1600,35 do for y=-1600,1600,35 do v.player_classified.MapExplorer:RevealArea(x,0,y) end end end
You’ll have to do it again if you enter the caves.

Spawning things

DebugSpawn(“stuff name”)
e.g. DebugSpawn(“axe”)

Add items to your inventory

c_give (“item, quantity”)
e.g. c_give (“flint”, 40)

Character stats

c_godmode ()
for you
c_supergodmode ()
for everyone
for k, v in pairs (AllPlayers) do c_supergodmode (v) end
for the selected player
c_supergodmode (AllPlayers [player number])
Run Faster:
c_speedmult (number)
e.g. c_speedmult (5)
Maximum health
GetPlayer ().
Maximum sanity
GetPlayer (). Components.sanity: SetMax (number)
Maximum hunger
GetPlayer (). Components.hunger: SetMax (number)

Player revival

AllPlayers [player number]: PushEvent (‘respawnfromghost’)

Player teleportation

c_move (ThePlayer)
Teleports to the mouse cursor.
Teleportation to the player:
c_goto (AllPlayers [player number])

Killing a player

AllPlayers [player number]: PushEvent (‘death’)

Weapon damage changed

Enter any name of the weapon in the 1st bracket and the damage in 2nd bracket, e.g.
c_spawn (‘axe’). components.weapon: SetDamage (3000)

Back to character selection

c_despawn ()
Attention! all your items will disappear!

Missing a day

Omitting a certain number of days:
TheWorld. net. components.clock: OnUpdate (16 * 30 * x)
Replace x with any number of days you want to skip (e.g. 16 * 30 * 3.5 to skip 3.5 days)
Remove the space between the dots

The beginning of a certain season of the year

Start e.g.
TheWorld: PushEvent (“ms_setseason”, “summer”)
The same can be done with other seasons


Appearance of rain:
TheWorld: PushEvent (“ms_forceprecipitation”)
Disappearance of the rain:
TheWorld: PushEvent (“ms_forceprecipitation”, false)

Written by Kacperek

I hope you enjoy the Guide we share about Don’t Starve Together – Console Commands Guide; if you think we forget to add or we should add more information, please let us know via commenting below! See you soon!

Be the first to comment

Leave a Reply

Your email address will not be published.