20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit
  1. Home
  2. Dont Starve Together
  3. Don’t Starve Together Console Commands Guide
  1. Home
  2. Game Servers
  3. Don’t Starve Together Console Commands Guide

Don’t Starve Together Console Commands Guide

๐ŸŽฎ Buy Now โ€“ Get 30% Off with KB30

How to Use Console Commands in Don’t Starve Together

Console commands in Don’t Starve Together are an excellent way to speed up gameplay, solve bugs, or experiment with mechanics. If you’re the server admin or playing solo, you can activate nearly any cheat or server-side function using the console.

To enable the console, press ~ (tilde) or ' on your keyboard. If it’s not opening, go to your settings.ini file and change console_enabled = false to console_enabled = true.


โšก General Commands

CommandDescription
c_spawn("prefab", amount)Spawns any entity or item under the cursor.
c_give("prefab", amount)Gives an item directly into inventory.
c_sethealth(0.9)Sets health to 90%. Replace with your desired value.
c_setsanity(1)Sets sanity to 100%. Use decimals.
c_sethunger(0.5)Sets hunger to 50%.
c_godmode()Invincible and immune to stats loss.
c_supergodmode()Same as above, but also fills stats permanently.
c_speedmult(2)Run twice as fast.
c_save()Saves your current game.
c_reset()Rollbacks or reloads the world.

๐Ÿง Player Commands

CommandEffect
c_freecrafting()Enables free crafting (creative mode).
ThePlayer.components.health:SetMaxHealth(value)Sets new max HP.
ThePlayer.components.hunger:Pause(true)Stops hunger decay.
c_listallplayers()Lists all connected players.
AllPlayers[1]:PushEvent('death')Kills a specific player.
c_move(AllPlayers[2])Teleports another player to your cursor.

๐ŸŒ World & Map Commands

CommandDescription
c_gonext("prefab")Teleports you to the nearest prefab type.
ConsoleWorldEntityUnderMouse():Remove()Deletes object under cursor.
c_revealmap()Reveals your entire map.
c_skip(1)Skips a full day. Replace 1 with more.
TheWorld:PushEvent("ms_setseason", "winter")Forces a season to start.

๐Ÿ›  Server Management

CommandUse
TheNet:Kick(userid)Kicks a player by ID.
c_connect("IP", port, "password")Connects to another server.
c_shutdown(true)Safely shuts down your server.
c_regenerateworld()Completely regenerates the world.
c_rollback(1)Rolls the server back 1 save.

๐Ÿงช Skill Tree and Misc Commands

CommandDescription
TheSkillTree:AddSkillXP(10000, "character")Adds skill points.
TheScrapbookPartitions:DebugUnlockEverything()Unlocks all scrapbook entries.
c_select().Transform:SetScale(2,2,2)Enlarges selected object.
c_spawn("wormhole")Spawns wormholes.
c_announce("Server restarting in 1 minute!")Sends message to all players.

โœ… Tips

  • Use arrow keys โ†‘ โ†“ to cycle through past commands.
  • Always test commands in a backup world first if you’re unsure.
  • Combine multiple commands using Lua scripts for automation.

๐ŸŒŸ Get Your DST Server Now โ€“ Use Code KB30 for 30% Off

FAQ

How do I enable the console in Don’t Starve Together?
Edit the settings.ini file and set console_enabled = true.

Can I use these commands in multiplayer?
Yes, if you’re the host or server admin. Some commands are local only.

Whatโ€™s the difference between c_godmode() and c_supergodmode()?
c_godmode() prevents damage, but c_supergodmode() also locks your stats at maximum.


You can contact our 24/7 GGServers support anytime at: https://ggservers.com/billing/submitticket.php

Updated on July 14, 2025
Was this article helpful?

Related Articles

Leave a Comment