- Don't Starve Together Characters
- Is Hamlet Seriously Not Part Of Together? - [Don't Starve ..
- Don't Starve Together Gameplay
Crisis in the kremlin: homeland of the revolution. Don’t Starve Together – A Mini Guide to Summer Don’t Starve Together – Address Instruction of Walrus Camp Don’t Starve Together – A Mini’s Guide to Winter. See full list on dontstarve.gamepedia.com.
Please note: This page only contains console commands for Don't Starve Together. For a list of console commands for the base game (or its DLCs), refer to Console Commands. |
The Command Console is enabled by default. If for whatever reason it is not, you first need to do some tweaking in your settings.ini of your save. This can be found in the 'DoNotStarveTogether' folder, located in the following paths :
Locate the settings.ini and open it with Notepad or other text editors. Locate the [MISC]
section, and make sure you are having ENABLECONSOLE = true
under it. If it appears to be false
, change and save it.
Then to open the console while in game by pressing '~' by default on English keyboards. This can be changed at any time in the controls menu.
Notes:
- You have to re-enter almost every command after loading a world.
- 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')'.
- 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. Pressing ctrl with the console open switches to remote command mode. A few commands (such as revealing the map) are still done locally.
Many Don't Starve Commands are still available in DST, so you can also read it.
Simple commands
- Spawn prefab
Improved DebugSpawn('prefab'), spawns amount of selected 'prefab' under the mouse cursor.
- Give Item
Spawns amount of selected 'prefab' in your inventory. Only works with Backpacks and Items that can be stored in the inventory.
- Scenario
Apply a scenario script to the selection and run it.
- Health
Sets your health to selected percentage. Note: Use fractional numbers 0.90 = 90%.
- Sanity
Sets your sanity to selected percentage. Note: Use fractional numbers 0.90 = 90%.
- Hunger
Sets your hunger to selected percentage. Note: Use fractional numbers 0.90 = 90%.
- Moisture
Sets your wetness to selected percentage. Note: Use fractional numbers 0.90 = 90%.
- Temperature
Sets your temperature to selected percentage. Note: Use fractional numbers 0.90 = 90%.
- God Mode
It won't drain Sanity, Hunger or Health when attacked anymore. You cannot change your stats with commands while in godmode. If you are dead, revives you(Reviving via c_godmode() doesn't put you in godmode once revived). To deactivate God Mode use the command again.
- SuperGod Mode
Same as God Mode but also sets all your stats to full, even when turning it off. 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.
- Set bonus running speed
Standard bonus runspeed is 1. 2 makes you twice as fast and with 20 or more you can easily walk through walls and 'over' water.
There's many other commands, but they're hard to use and not particularly useful outside of select situations.
Player commands
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 ) .
- Action Prediction
Enabled by default, setting it to 'false' will exchange rubberbanding for choppiness, but is often helpful for combat. This only does anything if executed by a client, hosts do not have prediction.
- Creative mode
You can craft everything.
- Maximum health
Change the Maximum Health of your character
- Maximum sanity
Change the Maximum Sanity of your character
- Maximum hunger
Change the Maximum Hunger of your character
- Pause hunger
Your character won't starve anymore.
- Damage Multiplier
Changes the Damage Multiplier of your character.
- Werebeaver
Turn Woodie into the Werebeaver. Change the .01 to 1 if you want to get out of Werebeaver form.
Other Player Commands
Note: Many of the following commands that are normally applied to your player, such as c_godmode() or c_sethealth(1), can be applied to other players by using c_select(AllPlayers[number]) first. So you will have the need for a playerlist to get the player numbers:
- List all players with username and player number.
- Get a certain player
AllPlayers[1] will get ThePlayer if you are the host. Other players should have numbers as shown on the scoreboard (In certain situations, the number may be wrong. You can be more precise by using c_listallplayers() first to see the username and character for each player number. Most of ThePlayer commands can be used with AllPlayers[number] instead of ThePlayer.
- Apply a command to all players
Replace command with another command, using 'v' instead of AllPlayers[number]. For example, 'for k,v in pairs(AllPlayers) do c_move(v) end' will move all players to the mouse position.
- Move another player
Moves the player to the cursor position.
- Kill a player
Kills the player.
- Resurrect a player
Resurrects the player.
- Teleport to a player
Teleports you to to the player corresponding to the player number from c_listallplayers().
Don't Starve Together Characters
- Drop a player's inventory items
Drop everything from player's inventory corresponding to the player number from c_listallplayers()
- Despawn a player's character (returns to selection screen for repicking)
Is Hamlet Seriously Not Part Of Together? - [Don't Starve ..
This will delete their items, so it is recommended that you kill them first to drop their items, or let then DropEverthing() as shown above.
As of June 25, 2016, a new set of commands are introduced to call players. You can call a player by their player name instead of player number UserToPlayer('PlayerName'). For example, to kill a player called 'PlayerA' with player number 5, instead of doing:
This requires you to first run c_listallplayers() and figure out player number.
you can simply do this:
World commands
- Teleport to Prefab
After pressing enter, it teleports you to the first numerical instance of the named prefab. 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.
- Delete Item Under Mouse
After pressing enter, it deletes the item under your mouse. Use the second command on dedicated servers, the first command will not work.
- Reveal Map
This is a local-only command and will not work if you are a client.
- Skip day
- Skip time
Skips x days. Change x to skip more days or parts of days (e.g. 16*30*4.5 to skip 4.5 days)WARNING: Too big values may freeze the game. (Depending on computer speed)
- Skip time units and update
Skips X time units and performs the 'LongUpdate' function on world objects
Note: There are 30 time units per segment. To skip a whole day one can either use LongUpdate(480) or use multiplicative values such as LongUpdate(X*16*30) or LongUpdate(X*TUNING.TOTAL_DAY_TIME), with X=days to skip.
- Skip phase
Skips the current phase.
- Set segments
Sets amount of segments. Errors if x + y + z adds up to over 16. Note that this will get reset the next day.
Example:
Very long day, very short dusk and night (one segment for dusk and one for night)
- Set season segments
Sets amount of segments. Errors if x + y + z adds up to over 16. Unlike setclocksegs, this is permanent.
Example:
Very long day, very short dusk and night (one segment for dusk and one for night), with a slightly longer night in winter.
- Set season lengths
Sets the lengths of the seasons.
- Start Summer
Start summer
- Start Winter
Start winter
When the RoG DLC is added, the additional commands will likely be TheWorld:PushEvent('ms_setseason', 'spring') and TheWorld:PushEvent('ms_setseason', 'autumn')
- Start Rain
Start rain.
- Stop Rain
Stop rain. This also includes Frog Rain.
- Do Lightning Strike
Lightning strike on mouse cursor. Will hit lightning rod instead if there is one near
- Meteor Strike
Meteor strike on mouse cursor. Spawns different kind of rocks randomly.
- Activate all Events
Activates all Events on the same time.
- Measure Distance
Prints the distance between player and object under mouse to the console log (displayed with Ctrl + L by default).
Network/Server Commands
- Kick/Ban a player
Note that this can be accomplished more easily through the scoreboard. The userid can be obtained from the AllPlayers table. Once you've found the number of the player you want to kick (as shown above in the Other Player Commands section), you can use AllPlayers[#].userid.
Example:
c_listallplayers()
[1] (KU_aabbccdd) Player1 <wolfgang>
[2] (KU_AABBCCDD) Player2 <wolfgang>
if Player2 is going to be banned from the server, console command can be written as
TheNet:Ban(AllPlayers[2].userid)
or
TheNet:Ban('KU_AABBCCDD')
- Temporarily Ban a player
Player can be banned for a short period of time. userid stands for the KU id of the player to be banned. Once it is obtained it can be put in this format:
TheNet:BanForTime('KU_aabbccdd', 120).
This will ban the player with specified KU id for 120 seconds. This command should be entered to both servers if server has multi-level option (caves and overworld).
- Connect to a server
If connecting conventionally doesn't work, it is possible to connect directly to an IP address. By default, the port is 10999. If there is no password, you can leave that part out: c_connect('10.0.0.8', 10999)
- Reload the world
Reloads the world without saving. This command may crash your game if you are a client (unless you send it as a remote command).
- Regenerate the world
Regenerates specified items in a world.
- Regenerate a world shard
Regenerates specified items in a shard.
- Save the server
Forces the server to save immediately (servers normally autosave whenever night finishes).
- Shut down the server
true will save the game, false will exit without saving. c_shutdown() is the same as c_shutdown(true).
- Roll back the server
Rolls back a server by the given number of saves. c_rollback() will roll it back by one, while c_rollback(3) will roll it back three.
- Enable/Disable new player joining
Setting it to true is the default behavior (people can join). Setting it to false prevents anyone from joining.
- Make a server announcement (for dedicated server console)
This allows you to announce server shutdowns/restarts so players do not just get disconnected without warning.
Miscellaneous Commands
- Clear the morgue
Clears the morgue. Requires closing and reopening the game for changes to be seen.
- Count the number of something in the entire world, and return the value to your character
Send the command using remote. This returns the total number of something in the entire world, and returns the value as though your character is talking.
- Count the number of something in your world
When sending the command using local, it returns the number of prefabs in your active area only. When sending the command using remote, it returns the number of prefabs in the world; the result is printed on the server console for dedicated server.
- Spawn Wormhole
- Sadly no one line command, follow steps instead.
- Spawn wormhole 1 using this command: worm1 = c_spawn('wormhole')
- Spawn wormhole 2 using this command: worm2 = c_spawn('wormhole')
- Create connections forth: worm1.components.teleporter.targetTeleporter = worm2
- And back: worm2.components.teleporter.targetTeleporter = worm1
- DONE!
- Spawn a Domesticated Beefalo
Don't Starve Together Gameplay
To change tendency replace DEFAULT with one of the following. 'RIDER', 'ORNERY', 'PUDGY'