Wikia

Don't Starve game Wiki

Guides/Console

Comments23
658pages on
this wiki

< Guides

Book This article may contain instructional language and subjective recommendations.
Readers should identify the content clearly. You can help by rewriting text from an objective point of view and trimming instructions.
That's breaking the rules.

–Webber

How To Access The Cheat ScreenEdit

  • Step 1.
  • Step 2.
  • Step 3.
  • Step 4.
  • Step 5.
  • Step 6.

To access the cheat screen is very simple. You do not need to download any programs "recommended" to do this, you just need a working mouse and a downloaded and bought version of Don't Starve. You only need to do these few steps once and throughout all the old versions and current to new versions, you do not need to ever do this step again.

  1. Hit Start Button on the bottom left side of the screen
  2. Click on "Documents" on the right side of the window that popped up.
  3. Double click on the "Klei" folder
  4. Double click on "DoNotStarve"
  5. Double click on "settings"
  6. Change ENABLECONSOLE = false to ENABLECONSOLE = true
  7. Launch Don't Starve
How to enable Don't Starve Console on steam!-137700997202:07

How to enable Don't Starve Console on steam!-1377009972

Different Cheat CodesEdit

Cheat Screen

To access each cheat window, press the '  key (Or ~ key if on American keyboard) . A window as on the right should appear where you can input the code EXACTLY as you see it. Press enter once to enter the code. if the screen does not add any text, you put it in correctly, if the screen adds text, then you have to put it in again correctly.to exit the screen at any time, press the ~ key once again. To go back to a previous cheat, press the up arrow and change it to your liking or the correct way. Pressing ENTER will submit what you currently have. If ever you want to clear all the text once you exit the cheat box, press CTRL+L, this will clear up the entire text. When you open the box again, however, the text will reappear. These cheat boxes work on every Character and some cheats require two steps (AKA two different inputs). More will be described when necessary

To Spawn In MobsEdit

Steps:

  • Press the ~ to open the window
  • Type in the code EXACTLY as you see it
  • Press the ENTER key
  • Press the ~ to open the window
  • Type in the code changing prefab to the mob and amount to how many you want
  • Press the ENTER key
Cheat... Spawn In Enemies 1

Info: This cheat spawns in the preferred amount of mobs you want, but some of them have a different name, such as the Treeguard being called the leif because in the coding of the game treeguard is mentioned as leif. If you want to know what all the names are for some mobs, you can check on the World editor screen where you can mouseover the few mobs listed. These mobs are the most common next to the birds. The other way is to visit this wiki and search up the specific types of animals or creatures from the mob page. To enter this code you need to type code one in first, then hit enter, and type in the second code, changing prefab to the mod and amount to how much you want.

Code 1: RunScript(“consolecommands”)

Code 2: c_spawn(“prefab”, amount)

Result: Spawns in the preferred mod and how many you wished to have

To Spawn In ItemsEdit

Steps:

  • Press the ~ to open the window
  • Type in the code EXACTLY as you see it
  • Press the ENTER key
  • Press the ~ to open the window
  • Type in the code changing prefab to the item and amount to how many you want.
  • Press the ENTER key
Cheat... Spawn In Items 2

Info: With this, you can have as much items as you want. All you really do is type in the spawn codes and have 10 fish to 100 000 000 000 lumber! you can even choose to have 47 of one and 1 of another. All up to you. All the codes for this is a bit different than the game namecodes. For you to want a woodwall, you type wall_wood_item and then as many of it as you wish. To enter this code you need to type code one in first, then hit enter, and type in the second code, changing prefab tot he mod and amount to how much you want.

Code 1: RunScript(“consolecommands”)

Code 2: c_give(“prefab”, amount)

Result: Gives you the preferred amount of items you put in.

To Make Character InvincibleEdit

Steps:

  • Press the ~ to open the window
  • Type in the code EXACTLY as you see it
  • Press the ENTER key
Cheat... Make Health, Hunger, And Sanity Drop Stop

Info: This is a very helpful code if you want to go into adventure mode and not really hack in any items or mods. all you do is type in the little code and your health never drops, your insanity stays the same (Now it won't deplete any if you eat a mushroom) and your hunger is set, even if you eat or don't eat! Do note that in Winter, you don't need any heatstones or hats and jackets! To enter this code you need to type code one in first, then hit enter.

Code: GetPlayer().components.health:SetInvincible(true) Result: Characters Sanity, Hunger and Health does not drop

To Get All The Building RecipesEdit

Steps:

  • Press the ~ to open the window
  • Type in the code EXACTLY as you see it
  • Press the ENTER key
Cheat... Unlock All Items

Info: As you might have guessed by the title, you will no longer have to run around finding lumber because you used up all your pine cones as fuel for those nights and then have a broked ax with no light while it gets dark. With this, you can make any craftable item any time, even if you have the supplies or not. Do note that if you have 2 lumber and you make a wooden plank, all lumber will be used, and if you have 10 lumber, only the required amount for the planks will be used. To enter this code you need to type code one in first, then hit enter.

Code: GetPlayer().components.builder:GiveAllRecipes()

Result: All craftable items are now unlocked and does not require anything to make it.

To Show The Entire MapEdit

Cheat... Reveal Map 1
Cheat... Reveal Map 2

Steps:

  • Press the ~ to open the window
  • Type in the code EXACTLY as you see it
  • Press the ENTER key

Info: As the title suggests, you can now see the entire map.  This is very useful for finding touchstones and areas where you for Maxwell's Door and Wooden Things, along for the surrounding biomes and pig kings, gravestones, sinkholes and many other, such es of pigs. To enter this code you need to type code one in first, then hit enter.

Code 1: minimap= TheSim:FindFirstEntityWithTag(“minimap”)

Code 2: minimap.MiniMap:ShowArea(0,0,0,10000)

Result: Reveals the entire map.
Game Guides
Basic Getting StartedAll About Night
Camping Base CampFrog Pond CampSelf-sustaining SettlementMarsh CampCamping Underground
Farming Gold Nugget FarmRenewable FarmingWoodie's CurseFarmingNightmare Fuel FarmingFarming the Caves
Survival Adventure ModeMob KillingHow To not starveHow to surviveHound Wave SurvivalMushroom GuideSpelunking GuideWinter GuideCrock Pot DishesTeleportato Rush GuidePanic Room GuideJust SpawnedAdvanced WorldWorld vs CavesThe Ultimate Guide to Infinite Survival
Technical Excrement Extraction GuidePhysical Damage AbsorbtionConsole Commands
Characters WendyWolfgangWickerbottom's Books

Around Wikia's network

Random Wiki