
TheInput:GetWorldEntityUnderMouse():Remove() Īfter pressing enter, it deletes the item under your mouse If multiple iterations of the prefab exist, a list of the entity numbers will be displayed in the console log, and each subsequent execution of the same command will transport the player from entity to entity in the order they were generated in the world. World commandsĪfter pressing enter, it teleports you to the first numerical instance of the named prefab. GetPlayer().components.beaverness:SetPercent(1)

GetPlayer().components.hunger:Pause(true) GetPlayer().components.hunger:SetMax( value) Ĭhange the Maximum Hunger of your Characters GetPlayer().components.sanity:SetMax( value) Ĭhange the Maximum Sanity of your Characters GetPlayer().components.health:SetMaxHealth( value) Ĭhange the Maximum Health of your Characters This includes items you never crafted before. GetPlayer().components.builder:GiveAllRecipes()
#DONT STARVE TOGETHER COMMAND FULL#
Hide or show (after hiding) the full HUD of the game. There's some other commands, but they're hard to use and not very useful. 10 makes you a bit faster and with 40 you can walk through walls and "over" water. Note that you will need to turn it off and on again after passing through a Worm Hole, sleeping, Telepoofing, entering or exiting a cave system, eating mandrakes, or using complicated commands too many times. It won't drain Sanity, Hunger or Health when attacked anymore. Only works with Backpacks and Items that can be stored in the inventory.Īpply a scenario script to the selection and run it. Spawns amount of selected "prefab" in your inventory. Improved DebugSpawn("prefab"), spawns amount of selected "prefab" under the mouse cursor. However, the player will still have to re-enter every command after re-entering a world. 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.

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. 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. 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. If you are trying to use console commands for Don't Starve Together then please use this Page. Attention: This page is for console commands from the Base Game (along with its dlcs).
