Don’t Starve Together: Codes

When using in a world with caves, press Ctrl before entering the command.

Super god mode
c_supergodmode()

Speed
​​c_speedmult(multiplier)

Regenerate the world
c_regenerateworld()

Start Summer
TheWorld:PushEvent(“ms_setseason”, “summer”)

Start winter
TheWorld:PushEvent(“ms_setseason”, “winter”)

Start spring
TheWorld:PushEvent(“ms_setseason”, “spring”)

Start autumn
TheWorld:PushEvent(“ms_setseason”, “autumn”)

Start rain
TheWorld:PushEvent(“ms_forceprecipitation”)

Stop the rain
TheWorld:PushEvent(“ms_forceprecipitation”, false)

Summon meteorite
c_spawn(“shadowmeteor”, x)
x is the number of meteorites.

Lightning Strike
TheWorld:PushEvent(“ms_sendlightningstrike”, ConsoleWorldPosition())

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

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

Move to a player
c_goto(AllPlayers[number])

Opening the map
without caves
TheWorld.minimap.MiniMap:ShowArea(0,0,0,10000)

All recipes and free creation
GetPlayer().components.builder:GiveAllRecipes()

All recipes and free creation to another player
AllPlayers[number].components.builder:GiveAllRecipes()

Skip a day
TheWorld:PushEvent(“ms_nextcycle”)

Skip phase of the day
​TheWorld:PushEvent(“ms_nextphase”)

Leave a Comment

Scroll to Top