Last Updated on 8 February, 2021
Dont Starve Together Console Commands & Cheats – Full list of Simple, Player, and Admin (or Server) commands
How To Open Console?
Just hit the “~” (tilde) or “/” (slash) key while playing to open or enable the console, then use any of the cheats & console commands we are going to provide you
Dont Starve Together Console Commands – Simple Commands
- Spawn prefab: c_spawn(“prefab”,amount)
- Give Item: c_give(“prefab”,amount)
- Go Adventuring: c_goadventuring()
- Scenario: c_doscenario(scenario)
- Set Your Health: c_sethealth(percent)
- Set Your Sanity: c_setsanity(percent)
- Your Hunger: c_sethunger(percent)
- Set Your Moisture: c_setmoisture(percent)
- Temperature: c_settemperature(degrees)
- God Mode: c_godmode()
- Super God Mode: c_supergodmode()
- Maintain Your Health: c_maintainhealth(ThePlayer)
- Maintain Your Sanity: c_maintainsanity(ThePlayer)
- Your Hunger: c_maintainhunger(ThePlayer)
- Maintain Your Temperature: c_maintaintemperature(ThePlayer)
- Your Moisture: c_maintainmoisture(ThePlayer)
- Maintain All: c_maintainall(ThePlayer)
- Mob Invisibility: c_makeinvisible()
- Set Your Running Speed: c_speedmult(multiplier)
Dont Starve Together Console Commands – Player Commands
- Action Prediction: ThePlayer: EnableMovementPrediction(enable)
- Creative Mode: c_freecrafting() & GetPlayer().components.builder: GiveAllRecipes()
- Maximum Health: ThePlayer.components.health: SetMaxHealth(value)
- Max Sanity: ThePlayer.components.sanity: SetMax(value)
- Maximum Hunger: ThePlayer.components.hunger: SetMax(value)
- Pause Hunger: ThePlayer.components.hunger: Pause(true)
- Change the Damage Multiplier: ThePlayer.components.combat.damagemultiplier=(value)
- Werebeaver Transformations: c_setbeaverness(percentage)
- List all players: c_listallplayers()
- Get a certain player: AllPlayers[number]
- Teleport another player to you: c_move(AllPlayers[number])
- Kill a player: AllPlayers[number]: PushEvent(‘death’)
- Resurrect a player: AllPlayers[number]: PushEvent(‘respawnfromghost’)
- Give creative mode to a player: AllPlayers[number].components.builder: GiveAllRecipes()
- Teleport to a player: c_goto(AllPlayers[number])
- Drop a player’s inventory items: AllPlayers[number].components.inventory: DropEverything()
- Despawn a player’s character: c_despawn(AllPlayers[number])
Dont Starve Together Console Commands – World Commands
- Teleport to Prefab: c_gonext(“prefab”)
- Delete Item Under Mouse: ConsoleWorldEntityUnderMouse(): Remove()
c_select(): Remove() - Reveal Map – Self: minimap = TheSim: FindFirstEntityWithTag(“minimap”)
TheWorld.minimap.MiniMap: ShowArea (0,0,0,10000) - To the Next Day Cycle: TheWorld: PushEvent(“ms_nextcycle”)
- Skip Day: c_skip(num)
- Skip time: TheWorld.net.components.clock: OnUpdate(16*30*x)
- Time units and update: LongUpdate(X)
- Speed up simulation: c_speedup()
- Skip phase: TheWorld: PushEvent(“ms_nextphase”)
- Set segments: TheWorld: PushEvent(“ms_setclocksegs”, {day=x,dusk=y,night=z})
- Set season lengths: TheWorld: PushEvent(“ms_setseasonlength”, {season=”summer”, length=15})
- Start Summer: TheWorld: PushEvent(“ms_setseason”, “summer”)
- Start Winter: TheWorld: PushEvent(“ms_setseason”, “winter”)
- Rain: TheWorld: PushEvent(“ms_forceprecipitation”)
- Stop Rain: TheWorld: PushEvent(“ms_forceprecipitation”, false)
- Do Lightning Strike: TheWorld: PushEvent(“ms_sendlightningstrike”, ConsoleWorldPosition())
- Meteor Strike: c_spawn(“shadowmeteor”, 1)
- Measure Distance: print(math.sqrt(ThePlayer: GetDistanceSqToInst(ConsoleWorldEntityUnderMouse())))
Dont Starve Together Console Commands – Admin Commands
- Kick a player: TheNet: Kick(userid)
- Ban a player: TheNet: Ban(userid)
- Temporarily Ban a player: TheNet: BanForTime(userid,time_in_seconds)
- Connect to a server: c_connect(“IP address”, port, “password”)
- Reload the world: c_reset()
- Regenerate the world: c_regenerateworld()
- Regenerate a world shard: c_regenerateshard()
- Save the server: c_save()
- Shut down the server: c_shutdown( true / false)
- Roll back the server: c_rollback(count)
- Enable/Disable new player joining: TheNet: SetAllowIncomingConnections( true / false )
- Make a server announcement: c_announce(“announcement”)
- Drop a player’s inventory items: AllPlayers[number].components.inventory: DropEverything()
- Move another player: c_move(AllPlayers[number])
- Despawn a player’s character: c_despawn(AllPlayers[number])
- Stop a vote: c_stopvote()
More Console Commands
- Clear the morgue: ErasePersistentString(“morgue”)
- Count the number of something in the entire world: ThePlayer.components.talker: Say(tostring(c_countprefabs(“prefab”)))
- Count the number of something in the world: c_countprefabs(“prefab”)
- Spawn Wormhole: worm1 = c_spawn(“wormhole”) & worm2 = c_spawn(“wormhole”) & worm1.components.teleporter.targetTeleporter = worm2 & worm2.components.teleporter.targetTeleporter = worm1
- Spawn a Domesticated Beefalo: function spawn_beef(tendency) local beef = c_spawn(“beefalo”); beef.components.hunger: DoDelta(400); beef.components.domesticatable: DeltaTendency(tendency, 1); beef: SetTendency(); beef.components.domesticatable.domestication = 1; beef.components.domesticatable: BecomeDomesticated(); end
- Teleport Items to the player: c_find(“flower”).Transform: SetPosition(AllPlayers[1]: GetPosition(): Get())
- Alter player size: ThePlayer.Transform: SetScale(number,number,number)
- Size of prefab under mouse: c_select().Transform: SetScale(number,number,number)
- Alter player color/transparency: ThePlayer.AnimState: SetMultColour(number,number,number,number)
- Alter color/transparency of prefab under mouse: c_select().AnimState: SetMultColour(number,number,number,number)
- Makes prefab under mouse pick-up-able: _select(): AddComponent(“inventoryitem”)