Your goal in Don't Starve is to... well, not starve, but that can be a little challenging at times when resources like food, water, and shelter are extremely limited. Even when you're foraging and crafting the day away, it can sometimes be challenging to stay alive in Don't Starve, especially when the elements are against you. Thankfully, using the game's built-in commands and cheats on a console can help you stay alive for longer and give you the little boost you need to get to the next day.
To help you out, we've compiled a list of all the Don't Starve console commands and cheats. Without further ado, let's take a deeper look at them.
Table of Contents
All Don't Starve Console Commands And Cheats
Here are all of the commands and cheats you can use to make it easier to play Don't Starve on console:
Stat Commands And Cheats
- c_godmode(1) - Prevents Sanity, Hunger, and Health from draining when attacked; toggles off when passing through Worm Holes, sleeping, passing through caves, dying, and more
- c_supergodmode(1) - Brings your stats to max and prevents Sanity, Hunger, and Health from draining when attacked; toggles off when passing through Worm Holes, sleeping, passing through caves, dying, and more
- c_sethealth(number) - Sets your health to a number of your choice (0.01 up until 1, 1 being full health.)
- c_sethunger(number) - Sets hunger to a number of your choice (0.01 up until 1, 1 being full health.)
- c_setmoisture(number) - Sets moisture to a number of your choice (0.01 up until 1, 1 being full health.)
- c_setsanity(number) - Sets sanity to a number of your choice (0.01 up until 1, 1 being full health.)
- c_settemperature(number) - Sets temperature to a number of your choice (0.01 up until 1, 1 being full health.)
- GetPlayer().components.hunger:Pause(true) - Pauses your hunger meter, preventing you from getting hungrier or starving.
- c_maintainall(ThePlayer) - Continuously regenerates Sanity, Hunger, and Health.
- c_speedmult(number) - Multiplies movement speed by specified number.
Items, Crafting, And Characters
- c_freecrafting() GetPlayer().components.builder:GiveAllRecipes() - This lengthy code unlocks crafting recipes and lets you craft everything in the game.
- c_spawn("name",amount) - Spawns specified amount of any item.
- c_give("name",amount) - Adds specified item to your backpack.
- c_swapcharacter(character) - Change your character. Must save and quit to take effect.
Time-Based
- GetClock():MakeNextDay() - Skip a day.
- c_skipdays(x) - Skip a specified number of days.
- TheWorld:PushEvent("ms_nextphase") - Skips time to next period of the day.
- TheWorld:PushEvent("ms_setseason", "name") - Changes the season to any season of your choice.
- c_save(1) - Save your game at any point.
Those are all of the commands and cheats you can use in Don't Starve on console. You can use these often if you're looking for an easier game, or you can use them to save your life when playing a more challenging mode. Whatever you'd like to use them for, these cheats are available for all Don't Starve console players.