

GetPlayer().components.hunger:Pause(true) - Pauses hunger so you wont lose hunger GetPlayer().components.hunger:SetMax(value) - Sets hunger GetPlayer().components.sanity:SetMax(value) - Sets max sanity GetPlayer().components.health:SetMaxHealth(value) - Sets Maximum Health

GetPlayer().components.builder:GiveAllRecipes() - "Quote en quote Creative mode) GetPlayer().HUD:Hide() -Hide and show huds However, the player will still have to re-enter every command after re-entering a world."Ĭ_spawn("prefab", amount) - You're standard SpawnĬ_give("prefab", amount) - You're standard GiveĬ_doscenario(scenario) - "Apply a scenario script to the selection and run it."Ĭ_sethealth(percent) - Sets you're health fractions work too 0.90 is 90 Hp.Ĭ_setsanity(percent) - Sets you're sanity Same as health Fractions workĬ_sethunger(percent) - Sets you're hunger same as the rest fractions workĬ_godmode() - GodMode (Pops a invulnerability from DooM) "Note: Like many other command-line interfaced programs, the user can press the upper arrow key to get access to previously entered commands, with no need to re-type them manually again. RunScript("consolecommands") - Start this before trying to do commands it says. You will need to run this command once to enable console commands: Also you can hide the console menu again by pressing Ctrl + L. This can be changed at any time in the controls menu. Then to open the console while in game by pressing "~" by default on English keyboards. Once you’ve opened the console, you’ll notice two modes: Local and Remote. Locate the settings.ini and open it with Notepad and where it says ENABLECONSOLE = false and rewrite it as ENABLECONSOLE = true then save the document. In Don’t Starve Together, you can access console commands by pressing the tilde key, which is located to the left of the number one key on your keyboard. Windows, Mac: \Klei\DoNotstarve\settings.ini This can be found in the "donotstarve" folder, located in the following paths If for whatever reason it is not, you first need to do some tweaking in your settings.ini of your save. The Command Console is enabled by default. The Rest Items were useless Sw items and I was to lazy to add em, so eh. Suspicious- "sculpture_rooknose" "sculpture_knighthead" "sculpture_bishophead"

Marble Sculptures- "sculpture_rookbody" "sculpture_bishopbody" "sculpture_knightbody" Stalagmite Tall- "stalagmite_tall_full" "stalagmite_tall_med""stalagmite_tall_low" Stalagmite- "stalagmite_full" "stalagmite_med" "stalagmite_low" Relic- ""ruins_table", "ruins_chair", "ruins_vase", "ruins_plate", "ruins_bowl", "ruins_chipbowl" Pillars- "pillar_cave" "pillar_algae" "pillar_ruins" Ornate Chest- "pandoraschest" (Normal) "minotaurchest" (Large) Nightmare light- "nightmarelight" "fissure_lower" Maxwells light- "maxwelllight", "maxwelllight_area" Wormhole- "wormhole" "wormhole_limited_1"Īncient Pseudoscience Station- "ancient_altar" "ancient_altar_broken"Īncient statue- ""ruins_statue_mage" "ruins_statue_mage_nogem" "ruins_statue_head" "ruins_statue_head_nogem"īasalt- "sinkhole", "basalt", "basalt_pillar"īoulder- "rock1" "rock2" "rock_flintless" "rock_charcoal" "rock_obsidian" "rock_moon" "petrified_tree(_short/tall/old)" Spider den- ""spiderden" "spiderden_2" "spiderden_3" Regular Jungle tree- "livingjungletree" -SW Twiggy Tree- "twiggy_short/normal/tall/old" -DSTĮlephant Cactus- "elephantcactus_active" "elephantcactus_stump" -SW Mushtree- "mushtree_tall" "mushtree_medium" mushtree_small" mushtree_tall_webbed" Mushrooms- "red_mushroom" "green_mushroom" "blue_mushroom" Light Flower- "flower_cave" "flower_cave_double" "flower_cave_triple" Rocklobster- "rocky" MY MAN ROCKY -WaffleTimeThe1stĬharlie- "No Debug spawn but was listed anyway" Venemous Spider warrior- "No Debug Spawn" -SW I spent my time on the Wiki putting this stuff here so you're welcome (Even though you could easily search it)Ĭrawling horror- "crawlinghorror" -Standard VersionĬrawling horror- "crawlingnightmare" -Ruins Version I know this might be a bit confusing, so here's how it looks in my Notepad++ so you can use it as a reference.If you favorite its easier to find if you're gonna continue using it.Įxample- c_spawn('leif') - Would spawn a Treeguard GLOBAL.Recipe("name",, RECIPETABS.REFINE, TECH.SCIENCE_TWO, nil, nil, nil, nil, "tsusifec") Local Ingredient = GLOBAL.Ingredient - please dont change any of these, they're necessary But how would I in the middle of a function check how many of a prefab is in the world. In a, we go to the very bottom and copy paste this: ccountprefabs ('prefab') for server commands.
