Console/commands

 - 
Don’t Starve Together is a fun but often-punishing survival game. You might need these console commands to help you out.


Bạn đang xem: Console/commands


Don’t Starve Together is a fun but often-punishing survival game where you work with your friends khổng lồ forage, craft, and fight off the shadows. As you attempt khổng lồ survive each day, you could probably use an occasional pick-me-up. That might mean shuffling players around, making sure your stats are up, or messing with the flow of time itself.

That’s where console commands come in handy! This introductory danh mục of commands will help you—và your friends—survive sầu everything from an empty inventory khổng lồ harsh winters.

The Command Console is usually enabled by mặc định, so simply press the tilde “~” key khổng lồ get started!


advertising

10 10. Keep Up Your Stats



A great place to lớn start is making sure all of your stats—including health, sanity, và hunger—are in top condition. To phối each individual stat to maximum, you can use this line of code:

GetPlayer().components.health:SetMax(value)

If you’d lượt thích to mix a different stat, simply replace “health” above with “sanity” or “hunger.” Some folks would prefer lớn use a specific percentage, so in that case, this line’s your go-to:

c_sethealth(percent)

Just like the first line, replace “health” with “sanity” or “hunger” to mix those separately, too. Make sure khổng lồ write the “percent” here as a decimal, lượt thích 0.90 for 90%, as well.


advertising

9 9. Fill Your Pockets With Items



You can never have too many items, right? Or creatures, either—living among the Beefalos sounds pretty great! These lines of code will get you the items, props, or creatures you crave sầu. That even means Tallbirds or Spider Queens, too!

RELATED: Don"t Starve: 10 Best Recipes For The Croông xã Pot

To spawn a specific nhà cửa, write up this line:

c_spawn("item", amount)

“Item” can be replaced with any animal, quái vật, character, vật phẩm, or environment object in the game. “Amount” is simply how much of it you want. Just be careful not lớn spawn too many Terrorbeaks! You can also replace “spawn” with “give” if you’d like the items to lớn show up in your inventory.


advertising

8 8. Turn On God Mode(s)



A true classic for any good console commvà system. Turning on God Mode will ensure your stats stay right where they are & you get reincarnated if you happen khổng lồ die. Pretty neat!

Don’t Starve sầu Together even comes with a Super God Mode that’ll bring your stats up khổng lồ max, no matter what.

Each of these modes can be turned on separately using the lines below:

c_godmode()

c_supergodmode()

ThePlayer.components.builder:GiveAllRecipes()

That last line’s a little more complex-looking, but never fear—that’s Creative sầu Mode! Just lượt thích any good crafting game, Creative sầu Mode can come in handy when you want to lớn craft just about anything.


7 7. Fellow Players



Sometimes, you need to hop across the maps to lớn your friends—or you just want khổng lồ teleport them khổng lồ you. To get started, you can grab a reference menu of player’s numbers by typing in:

c_listallplayers()

RELATED: Ranked: Don"t Starve sầu Characters From Best To Worst

To move someone, make sure lớn replace “number” with the specific player’s number in the following line:

c_move(AllPlayers)

Or, if you’d prefer to lớn teleport to lớn them:

c_goto(AllPlayers)

Killing or resurrecting a player is also possible—just be wary of that kind of power! You never know when your friends could turn against you. To kill them:

AllPlayers:PushEvent("death")

Or to lớn bring them bachồng and make amends:

AllPlayers:PushEvent("respawnfromghost")


advertising

6 6. Time & Seasons


Didn’t we mention messing with the flow of time earlier? That’s why these commands exist!

Want to skip a whole day? Simply type:

TheWorld:PushEvent("ms_nextcycle")

Or maybe you’d prefer to start summer right away. That"s possible with:

TheWorld:PushEvent("ms_setseason", "summer")

You can start winter, too, if that’s more your cup of tea. Simply replace “summer” with “winter” in the line above!

Or, if you’re looser with how far you’d lượt thích to lớn skip, you can plug in:

TheWorld.net.components.clock:OnUpdate(16*30*days)

“Days” can be replaced with the number of days you’d lượt thích khổng lồ skip. Be extra careful, though: too many skipped days can slow your game down.


5 5. What’s The Weather?


If you can change the fabric of time itself, then of course you can alter the weather, too. No more rain to lớn worry about! Or lots of rain to lớn deal with, if that’s more your tốc độ.

Let’s set the temperature first:

c_settemperature(degrees)

“Degrees” works the same as the lines for stats, where you need khổng lồ use a decimal lượt thích 0.90 for 90%.

You can start up some rain with this:

TheWorld:PushEvent("ms_forceprecipitation")

Or stop it immediately with this:

TheWorld:PushEvent("ms_forceprecipitation", false)

You could also cause a lightning strike!

TheWorld:PushEvent("ms_sendlightningstrike", ConsoleWorldPosition())

Or a meteor strike, for those who prefer crazy weather:

c_spawn("shadowmeteor", 1)


advertising

4 4. Networking, Networking, Networking


Then there’s the more tech side of things that’ll allow you to remove sầu objects from the world or change VPS properties.

RELATED: 10 Best Don"t Starve sầu Mods For Better game Play

These two lines will let you delete the thành quả positioned under your mouse:

ConsoleWorldEntityUnderMouse():Remove()

c_select():Remove()

If you come to lớn the unfortunate situation where you need to kiông chồng or ban a player from your VPS, these lines will help you out:

TheNet:Kick(userid)

TheNet:Ban(userid)

And if you"d like to lớn cchiến bại your hệ thống và ensure more players don"t arrive sầu during a game, this line will serve you well:

TheNet:SetAllowIncomingConnections(false)

Changing “false” to “true” will allow you lớn open your VPS up again.


3 3. Navigating the World


Every once in a while, you’ll need to make sure your server is running in tip-top shape. That’s where reloading comes in handy!

Regenerate the world with this:

c_regenerateworld()

Saving the server manually is pretty easy:

c_save()

But if you need to shut down the hệ thống, that’s simple, too:

c_shutdown(true)

Using “true” above allows you khổng lồ save sầu and exit. Setting it to lớn “false” will make you exit without saving. Keep a cchiến bại eye on which one you use!

If you want khổng lồ jump back a few saves, that’s possible as well:

c_rollback(number)

“Number” can be replaced with the number of saves.


advertising

2 2. Even MORE Stats!


You thought we were all mix with stats? Not quite—these lines are fun add-ons that you can use lớn move around quickly and fearlessly through the world of Don"t Starve Together.

Pausing hunger is possible with this:

GetPlayer().components.hunger:Pause(true)

You can also make yourself a powerful opponent by upping your Damage Multiplier:

GetPlayer().components.combat.damagemultiplier = number

“Number” can be replaced with the amount of damage per hit.

What about changing your running speed so that you can quite literally walk on water? But of course!

c_speedmult(multiplier)

Normally, your character’s speed is 1, so have fun setting that up way higher than usual!


1 1. Miscellaneous Shenanigans


Xem thêm: Bandai Namco Entertainment America, Dragon Ball Fighterz On Steam

Finally, there are the commands that don’t quite fit under any other umbrella. These two commands are pretty useful when it comes to the more specific situations you could run into.

If you’d lượt thích to clear the Morgue, or the menu of characters that have sầu died, this line will help:

ErasePersistentString(“morgue”)

You’ll have to lớn re-open the game afterward khổng lồ see the changes to the Morgue.

And if you’re playing as Woodie & you want to immediately turn inkhổng lồ the Werebeaver? Entirely possible with:

GetPlayer().components.beaverness:SetPercent(.01)

Simply change the “0.1” khổng lồ “1” if you’d like to go back to your usual Woodie self!

NEXT: 10 Games To Play After Don"t Starve sầu


ShareShareTweetE-Mail
Pathfinder: Wrath of the Righteous - Best Lann Builds You have sầu options when it comes lớn picking a build for Lann in Pathfinder: Wrath of the Righteous — here are the best ones.


Read Next
Related Topics
About The Author
TG Staff
advertising

Popular Now


Please Stop Hiring Hollywood Stars Instead Of Voice Actors


Slowbro Can Trap Blastoise's In Their Shell In Poketháng Unite


Japan's Next Poketháng TCG Expansion Brings Back Character Rares And Chonky Pikachu


advertising

Marvel Ends 27-Year Relationship With Immortal Hulk Artist After "Reprehensible" Artwork Resurfaces


Squid Game's Red Light, Green Light Has Been Recreated In Fortnite


This Week In Pokemon Go: Secrets Of The Jungle, Duskull Community Day, Niantic's Birthday, And More


advertising

trending now


xQc Banned From Twitch (Again)


If You're Mad About God Of War Ragnarok's Thor, You Know Nothing About Mythology


Paradox Cancels Multiple Unannounced Projects To Focus On "Proven trò chơi Niches"


Read Next in gaming


Gamers Are Mad At Aloy's Cheeks In Horizon Forbidden West Because Of Course They Are


New World Won't Allow You To Create New Characters In Full Servers


PS5 Owners Can Try Out Games For Free Via Game Trials


Sakurai Encourages You To Watch Smash Bros. Ultimate Final Character Reveal Regardless Of Whether You Play It


Assassin's Creed Odyssey: How To Solve sầu The Killer View Riddle


Valheim: How To Craft The Cartography Table


New World: The Best Build To Level Up Fast


Toph Officially Added To Nickelodeon All-Star Brawl


JETT: The Far Shore Launches Its Symphonic Sci-Fi OST Next Week