Don't Starve Together

Don't Starve Together

[API] Mods In Menu
156 Comments
Nate 16 Jun @ 6:45am 
Tried it to play with Zer0 borderlands 2 character mod and joined an official Klei server. Was able to chose the char and entered the world, but stuck at eternal white-yellow screen... :(
I though it sound too good to be true. Or does this mod really works and I am the only one unlucky?
videogamegirl155 14 May @ 4:10pm 
This closes the game when I attempt to activate it.
Furry Eskimo 24 Dec, 2024 @ 6:28pm 
Wirra the Wild Child is now officially compatible with Mods in Menu.
Thanks for making such a cool mod. ^-^
RICK 9 Oct, 2024 @ 3:22am 
Bug Report:
When adding dishes, the game will crash from starting because the file is not resolved.
This is because cookpot.lua will load asset of my mod, via overridebuild.
This will result in mod asset loading before official asset.
I tried in modmain TheSim:OnAssetPathResolve(asset.file, resolvedpath) but without avail.
ClumsyPenny 6 May, 2024 @ 5:49am 
Does this work to add modded dishes to the Cookbook in the Compendium?
󰀕ClockCycas󰀕 1 Aug, 2023 @ 7:22pm 
In the discussions, I machine translation and made this description available to people in Chinese Mainland, Japanese and Russians:8bitheart:
我在讨论机器翻译了这段描述以供使用中国大陆人,日本人和俄罗斯人阅读:8bitheart:
私はこの記述を機械翻訳して中国大陸人、日本人、ロシア人を使って読むことについて議論しています:8bitheart:
Я говорю о машинном переводе этого описания для чтения китайцами, японцами и русскими.:8bitheart:
brother 22 May, 2023 @ 5:57pm 
@Hornet
Is there any possible way to have the characters added into the top and middle rows? That would at least expand the amount of characters shown by 5-6.

Other than that, I second a scroll bar as it sounds like it'd be more professional. I'm partial to shrinking the characters a bit though just so I can see them all.
Fidooop  [author] 16 May, 2023 @ 1:05pm 
I like the idea of the scroll bar
Hornet  [author] 15 May, 2023 @ 4:23pm 
@brother
No, as extra characters will show up off-screen and not look proper. I have been wanting to make it so the entire view scales to fit every character, or a horizontal scroll bar is implemented to be able to view all characters. Still in the design process for this so if you have suggestions on how to design this I'm happy to take!
brother 14 May, 2023 @ 5:59pm 
Any possible way to change the amount of characters showing up in the menu?
󰀏Niko 17 Apr, 2023 @ 9:58pm 
Seems that the way this mod adds it's own functionality of the mod menu's status filter makes it impossible for any mod that loads before it to do their own thing with it, and on top of that the priority of it is so low that there is no possible lower priority.

Could you please slightly increase the mod's priority to give a little wiggle room for mods that want to load after it or change the "modfilterbar" postconstruct to allow other mods to have some control over the status filter?
虚刃28 <3 billy (Xren) 老唐 14 Apr, 2023 @ 7:50am 
@Hornet ok thx
Hornet  [author] 13 Apr, 2023 @ 8:49am 
@7/24 Milk Delivery (虚の刃28)
A mod you are enabling with Mods In Menu is likely doing something wrong and executing things that should not be executed (e.g. networking, recipe creation, etc)

Please disable each MiM mod one by one to decipher the issue then report to the mod author of the troublesome mod to fix their MiM compatibility.
虚刃28 <3 billy (Xren) 老唐 12 Apr, 2023 @ 9:35pm 
this mod seems to cause various issues such as a light purple filter when died, hunger sanity and health all lock at 150, and i can't learn recipe near alchemy engine...idk why
meboosta 4 Apr, 2023 @ 4:12pm 
Bless you Hornet <3
Hornet  [author] 4 Apr, 2023 @ 2:52pm 
MiM will now fully clear any enabled mods upon crashing.
Masterblaster38 4 Apr, 2023 @ 9:44am 
@Hornet I know this really isn't a bug or anything, but It may be good to put in the mod description that if the game crashes at the start to unsub of the mod and suscribe again.
When my game crashed and you helped solve It, unsuscribing of the mod (or mods who cause the problems) fixes the instant crash issue (I think It also puts the settings back to deafult, so maybe thats also why It doesn't instantly crash as It doesn't try loading the mods again.)
It really doesn't solve a lot, but It may be a good temporarly solution so people can at least open the game.
meboosta 4 Apr, 2023 @ 6:02am 
Hornet, thank you so much for explaining the fix! I had tried looking into the mod files but wasn't able to figure out which files/code handled the server mods (guess I was in over my head haha).

And no need to apologize at all, I'm glad if I was able to help you find something that may otherwise have been left unfixed :)
Sweetbale 3 Apr, 2023 @ 3:51pm 
Yay! Deleting the 'modsinmenu' file is what stopped the crashing for me. I suppose it wasn't resetting properly so it would insta-crash as soon as I tried to re-enable the MiM mod. Thanks Hornet! :Lunar_Tear:
Hornet  [author] 3 Apr, 2023 @ 1:18pm 
@Maxputin

Oh no! Is MiM not automatically disabling crashed mods? That's terrible, sorry for practically softlocking you!

Here's a temporary fix, if you locate your client save data folder (For me this is at 'Documents\Klei\DoNotStarveTogether\#######\client_save', the number id will be a unique number to you or something similar).

There'll be a file named 'modsinmenu'. Delete this file, and load MiM, your selected MiM mods should reset leaving you blank.

I'll look into automatically disabling crashed mods, sorry about that!
meboosta 3 Apr, 2023 @ 1:07pm 
Okay, I tried unsubbing from both the Heap of Foods and Accomplishments mods, and after that it worked fine. However, I have some solo worlds that use Heap of Foods, so I tried resubbing to just the Heap of Foods mod; as soon as I did that, DST started crashing again.

My hope was that I'd be able to reach the MiM tab in the mod manager in order to make sure Heap of Foods was not selected under MiM, but I never got that far; I'm wondering if there's some sort of setting within the MiM code that's saving my preference from the first time I used MiM and tried to select Heap of Foods?
meboosta 3 Apr, 2023 @ 12:45pm 
Hey Hornet, I tried subbing to Kyno's Accomplishments mod and enabling MiM, but it still crashed. Here's the client log following the crash: https://pastebin.com/Ne90MbRr

Kyno said in his server (after I asked him about a possible bug related to the Accomplishments mod or a buggy interaction with Heap of Foods):
"I might have forgot to disable the trophy thing
its not complete yet that's the problem, I was testing but released it in the last update"

If the mod is incomplete, is there a way for me to keep MiM from trying to read/interface with it? I remember the very first time I used MiM it gave me the option of which mods to enable via MiM (the only 3 mods shown were Heap of Foods, Gearless's Steamed Collection - Skins, and [API] Modded Skins -- I selected all three, and it's been crashing ever since then)
meboosta 3 Apr, 2023 @ 9:21am 
I'm not subscribed to Kyno's achievements mod, but maybe there's some kind of interaction with Heap of Foods that I'm not aware of?

Ah, seeing your second paragraph, maybe I'll have to try subbing to it and seeing if that fixes things. Thanks so much for the help, that was crazy fast. Fingers crossed this works, I'll get back to you in a bit.
Hornet  [author] 3 Apr, 2023 @ 7:38am 
@Maxputin
One of your mods I believe Kyno's is trying to use a variable that doesnt exist named 'TheKaAchievementLoader'.

If i remember correctly Kyno had an achievement mod, is this a mod you have enabled too? If so it's likely the issue. Or perhaps the issue is that you dont have it enabled. If i had to guess, Kynoox added compatibility between their Achievements mod and Heap of Foods mod, but didnt account for the former not existing on the client.
meboosta 3 Apr, 2023 @ 7:09am 
Hornet, thanks for the prompt response! My apologies for not providing the client log, I'm not very familiar with digging around in DST's code.
The following is the client log from right after a crash when I started up the game with all my usual client mods enabled, and then tried to enable the MiM mod and apply: https://pastebin.com/49iCPS1v
The following is the client log from a crash occurring after restarting my game (with the game defaulting to all client mods disabled due to the crash), and then trying to enable ONLY the MiM mod: https://pastebin.com/3wy2Hd3t
Hornet  [author] 3 Apr, 2023 @ 5:35am 
@Maxputin @Sweetbale

Hiya, would you be able to post your game client logs right after you crash? Itll help me to decipher the issue.
Sweetbale 3 Apr, 2023 @ 3:43am 
Yeah definitely crashing on my end as well. Even with no other mods. As soon as I try to enable it, game just crashes. Bit of a shame. :stress:
meboosta 3 Apr, 2023 @ 12:38am 
The mod is crashing for me; first time I tried it, it gave me the option to enable MiM for Kyno's Heap of Foods, Gearless's Steamed Collection - Skins, and [API] Modded Skins -- I tried enabling all three and the game crashed after I tried to apply the changes. Even after turning off all my other client mods and attempting to apply changes with only MiM enabled, DST would still crash.
Hornet  [author] 13 Feb, 2023 @ 2:48pm 
@NerdCuddles
What issues does it currently have with Insight?
NerdCuddles 13 Feb, 2023 @ 2:47pm 
would you be able to make this work with quality of life mods like Insight?
Reecitz 6 Dec, 2022 @ 1:13pm 
I added a modclientmain.lua file to make a character mod compatible, and it works for the most part, but the character's portrait png isn't showing up in the main menu properly. Does anyone possibly know the issue?
Hornet  [author] 14 Nov, 2022 @ 8:58am 
Yay! Enjoy.
Masterblaster38 14 Nov, 2022 @ 8:55am 
@Hornet

Yeah, now It is truly fixed! Now the game doesn't crash.
Hornet  [author] 13 Nov, 2022 @ 8:17am 
@Masterblaster38

I made a silly mistake, can you try again now? It should truly be fixed.
Masterblaster38 13 Nov, 2022 @ 4:59am 
@Hornet

Welp I have put UM again and the game crashes again for some reason https://pastebin.com/R6uQZNff here is the new log that I think you need It
Hornet  [author] 12 Nov, 2022 @ 10:38am 
@Masterblaster38

I've updated the mod so the issue should be fixed. Can you attempt to re-enable Uncompromising Mode in the MiM menu and let me know if it works? Thanks!
Hornet  [author] 7 Nov, 2022 @ 3:10pm 
@Masterblaster38

Thanks, I see the issue. As a temporary solution you can disable Uncompromising Mode on MiM. I will let you know when the issue is fixed and you can re-enable the mod on MiM.
Masterblaster38 7 Nov, 2022 @ 12:26pm 
@Hornet
https://pastebin.com/gN0CkYjb here is the log, hope It will help.
Hornet  [author] 7 Nov, 2022 @ 12:22pm 
@MasterBlaster38

You can use pastebin.com and then send the link here.
Masterblaster38 7 Nov, 2022 @ 10:30am 
@hornet
Welp yes I have a log, a new one as today the game crashed again at the start and I am sure I didn't suscribe to any mods today.
How do I send the log? Is there any page? Or do I just copypaste the entire log here?
Hornet  [author] 6 Nov, 2022 @ 12:29pm 
@Masterblaster38
Do you have any logs for when the game crashed?
Masterblaster38 6 Nov, 2022 @ 11:45am 
For some reason after downloading some mods (which some where compatible with this one) the game crashed after a few seconds of opening It, unsuscribing of this mod and opening It withaut the mod suscribed fixes It, and after that you can suscribe to this mod again and It will not crash again.
JAMES Gaming LV2 26 Oct, 2022 @ 4:30am 
@MavisQuinn
It maxes at 18 due to overflow images, there should be an image link somewhere in the comments
SvveetMavis 25 Oct, 2022 @ 5:40pm 
hi! is there a way to make the mod display all the character in the item collection page? i have 25 from the shipwrecked and hamlet mods but it only seems to display 18
Fidooop  [author] 5 Oct, 2022 @ 8:12am 
Also, we're absolutely not worried about the amount of people using the API. I built it to be there for those who would enjoy it. No matter how many users that may be. And now, Hornet is taking on the torch from here as I've got my focus set to other non-DST projects now. So be nice to him. :)

At the very least, it looks like he's trying to migrate the MiM menu to be accessible upon enabling the mod rather than waiting for the game to re-load in order to see it. That at least cuts off one of the steps.
Fidooop  [author] 5 Oct, 2022 @ 8:12am 
Lastly, having all mods auto-enable, (under the assumptive pretense that all mods are working as intended) there gets to be a major processing/RAM demand as more mods become compatible and more are subscribed to by the user. Which is not something every machine can handle. This results in massive load times for some users, possibly even causing the game to not even function properly anymore.

All in all, every sign points towards having all mods disabled by default. I am sorry that we cannot provide the convenience factor of the opposite for you, it's just that the current system is more convenient for more people.
Fidooop  [author] 5 Oct, 2022 @ 8:12am 
@loopuleasa, you're missing the point of Hornet's argument.
If a mod has issues that cause networking problems, auto-enable is a very bad idea simply because everyone who has that mod would then have to disable MiM or unsubscribe from the mod until the problem is fixed. And modders aren't always on top of things to fix them right away.

Furthermore, you are very incorrect. Not all API needs to be virtually non-existent to the user. Many APIs for many games add complex and comprehensive GUI elements. This API aims to replicate the same style of Klei's mod selection menu. And as a result, everything will be disabled by default. Both because of the probability that a faulty mod coming through and also because some users want to be selective on which mods get loaded in the curio. Not everyone wants every mod enabled.
loopuleasa 5 Oct, 2022 @ 3:25am 
And regarding your main argument, Hornet, if the mod creators have bugs with mods in menu, that is their mod's fault and it is on them to handle it
loopuleasa 5 Oct, 2022 @ 3:24am 
Like literally, if the mod was auto-enabled, auto-downloaded, everything, zero actions, it would have 10x-100x more users

The difference in practice is of orders of magnitude in adoption
loopuleasa 5 Oct, 2022 @ 3:23am 
Yeah, sadly the user experience is not great

Proper modding API should work in a way that a user doesnt even need to know it exists

In this case it has two extra steps, and will fail to be used in practice because of that