

GetPlayer().components.hunger:Pause(true) :SetMax( value)Ĭhange the Maximum Hunger of your character GetPlayer().components.sanity:SetMax( value)Ĭhange the Maximum Sanity of your character GetPlayer().components.health:SetMaxHealth( value)Ĭhange the Maximum Health of your character This only does anything if executed by a client, hosts do not have prediction. GetPlayer():EnableMovementPrediction(enable)Įnabled by default, setting it to "false" will exchange rubberbanding for choppiness, but is often helpful for combat. Note: Most of them will not work if you are a client and not an admin sending a remote control ( switching to remote mode with Ctrl ). There's many other commands, but they're hard to use and not particularly useful outside of select situations. 2 makes you twice as fast and with 20 or more you can easily walk through walls and "over" water. Similar to c_godmode(), it revives you as well(Reviving via c_supergodmode() doesn't put you in godmode once revived).To deactivate God Mode use the command again. Same as God Mode but also sets all your stats to full, even when turning it off. To deactivate God Mode use the command again. If you are dead, revives you(Reviving via c_godmode() doesn't put you in godmode once revived). You cannot change your stats with commands while in godmode. It won't drain Sanity, Hunger or Health when attacked anymore. Sets your temperature to selected percentage. Sets your wetness to selected percentage. 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. Many Don't Starve Commands are still available in DST, so you can also read it. A few commands (such as revealing the map) are still done locally. Pressing ctrl with the console open switches to remote command mode. If you are not the host (or it's a dedicated server that you're an admin for), most commands need to be run remotely.Lua supports variable numbers of arguments to functions, so if, for example, you only want to spawn one of a prefab, you can leave out the "amount": "c_spawn('beefalo')".You have to re-enter almost every command after loading a world.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. If it appears to be false, change and save it. Locate the section, and make sure you are having ENABLECONSOLE = true under it. Locate the settings.ini and open it with Notepad or other text editors. Windows, Mac: \Klei\DoNotStarveTogether\client.ini This can be found in the "DoNotStarveTogether" 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. For a list of console commands for the base game (or its DLCs), refer to Console Commands. Please note: This page only contains console commands for Don't Starve Together.
