Don't Starve Together

Don't Starve Together

56 ratings
Dev Tools
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
509.572 KB
5 Sep, 2020 @ 12:01pm
20 Apr, 2023 @ 7:56am
10 Change Notes ( view )

Subscribe to download
Dev Tools

Description
NB! This mod is still in active development so bugs are expected. Thank you for your patience!

An extendable mod, that simplifies the most common tasks for both developers and testers as an alternative to debugkeys.

It was inspired by the abandoned DebugMenuScreen in the game engine, and it has originated from the private mod that I've created to assist myself and some of my friends in development.

"It's dangerous to go alone! Take this."

Made by developer for developers with love and attention to details as getting into the mods' development without a proper set of tools may become challenging. I hope this will help you in your journey.

Configuration

Don't like the default behaviour? Choose your own configuration to match your needs:

Configuration
Default
Description
Toggle menu key
Right Bracket
Key used for toggling the in-game menu
Switch data key
X
Key used for switching data sidebar
Select key
Tab
Key used for selecting between menu and data sidebar
Movement prediction key
Disabled
Key used for toggling the movement prediction
Pause key
P
Key used for pausing the game
God mode key
G
Key used for toggling god mode
Teleport key
T
Key used for (fake) teleporting on mouse position
Select entity key
Z
Key used for selecting an entity under mouse
Increase time scale key
Page Up
Key used to speed up the time scale
Decrease time scale key
Page Down
Key used to slow down the time scale
Default time scale key
Home
Key used to restore the default time scale
Reset combination
Ctrl + R
Key combination used for reloading all mods
Default god mode
Enabled
When enabled, enables god mode by default
Default free crafting mode
Enabled
When enabled, enables crafting mode by default
Default labels font
Stint Ultra...
Which labels font should be used by default?
Default labels font size
18
Which labels font size should be used by default?
Default selected labels
Enabled
When enabled, show selected labels by default
Default username labels
Enabled
When enabled, shows username labels by default
Default username labels mode
Default
Which username labels mode should be used by default?
Default forced HUD visibility
Enabled
When enabled, forces HUD visibility
Default forced unfading
Enabled
When enabled, forces unfading
Disable mod warning
Enabled
When enabled, disables the mod warning
Hide changelog
Enabled
When enabled, hides the changelog in the mod description
Debug
Disabled
When enabled, displays debug data in the console

API

API allows you to add your own submenu on the fly without bothering much with dependencies as long as the global DevToolsAPI is available. For example, you can create your mod-specific submenu from your mod with all the options you may need throughout the development/testing, and it will be displayed along with other Dev Tools submenus.

if getmetatable(_G).__declared.DevToolsAPI then local API = _G.DevToolsAPI if API and API:GetAPIVersion() <= 1 then API:AddSubmenu({ label = "Your Submenu", name = "YourSubmenu", options = { { type = MOD_DEV_TOOLS.OPTION.ACTION, options = { label = "Your Option", on_accept_fn = function() print("Hello World!") end, }, }, }, }) end end

To learn more about API:
https://github.victorpopkov.com/dst-mod-dev-tools/topics/03-api.md.html

To see a real API usage example in different mod, check out my "Auto-Join" mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1903101575

Extendable

This mod has been designed to be extendable in mind allowing any developer to override pretty much any crucial part of it. You can completely override the menu or data without bothering implementing your own user interface (UI).

To learn more on how you can extend this mod:
https://github.victorpopkov.com/dst-mod-dev-tools/topics/04-extending.md.html

Contributions & Development

Any contribution to the project is highly appreciated no matter if this is a new feature addition or just a small typo fix.

Source code is available on GitHub:
https://github.com/victorpopkov/dst-mod-dev-tools/

Documentation for developers can be found here:
http://github.victorpopkov.com/dst-mod-dev-tools/

Roadmap and the current progress can be tracked on Trello:
https://trello.com/b/3JtDZFJG/

Special thanks to @Boas for a couple of contributions in my private mod, based on which this one was made, and @Viktor for continuously providing feedback.
Popular Discussions View All (2)
9
25 Jan, 2023 @ 11:12am
PINNED: Issue Reports
Demonblink
2
10 Sep, 2020 @ 3:18am
PINNED: Feature Requests
Demonblink
16 Comments
Nezzim 14 Oct, 2024 @ 7:42am 
good mod, but the fact that it's a client mod is annoying, cause you have to remember to toggle it on and off and on and off every time you want to play a normal server instead of being able to turn it on a per server basis
Demonblink  [author] 25 Jan, 2023 @ 11:10am 
󰀏Niko, Thank you! The fix has been shipped with v0.7.1.
󰀏Niko 23 Jan, 2023 @ 12:10pm 
I found a easy fix for the Wonkey/playerswap crash, more info in the Issue Reports discussion.
不要看上我的菊 13 Aug, 2021 @ 1:32am 
can you make a mod only pause @Demonblink
Shynaid 27 May, 2021 @ 6:23am 
@Demonblink Got it buddy, I already found one already that disables the console and the mod (too many items)
Thanks for the reply, your mods are very good
Demonblink  [author] 27 May, 2021 @ 2:44am 
@Scriturs, Currently I don't have time for modding, otherwise I would be happy to investigate this. First, I need to find time to update existing mods before creating a new one. But yeah, that kind of mod should be possible. I'll definitely look into this.
Shynaid 25 May, 2021 @ 7:08am 
@Demonblink
Could you create a all clients mod(server-side) that disables the console and all administrator commands and privileges? I don't know if it's possible, is it possible?
For everyone to see and prove that it is not used, in addition to resisting temptation.
The point is: to prevent the Host, Admin, Owner of the server from being able to use console commands, (Block in some way) this would make it easier for him to prove that he did not use anything. And everyone would play smoothly.
3271874204 10 Sep, 2020 @ 4:27am 
咦,俺看不懂!
Demonblink  [author] 9 Sep, 2020 @ 3:03am 
@Furry Eskimo, Yes, this is possible. There are some functionality already integrated into this mod to get all tags (Utils.Entity.GetTags). The d_gettags console command will be fixed in the v0.3.0, and I will add more features regarding tags in that release as well.
Demonblink  [author] 9 Sep, 2020 @ 2:55am 
@theironbubble, If a mod owner is an admin on the server, there should be an option for both free crafting and god mode on his/her side. Those options are still buggy though (at least for now) when it comes to other players as it's a client only mod and retrieving the remote player god mode state was an issue at some point.