LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.25k stars 461 forks source link

[Enhancement]: Add a config file to disable specific mods #369

Open sebastientromp opened 1 year ago

sebastientromp commented 1 year ago

Describe the new feature or enhancement

I am integrating MelonLoader inside my app (a companion app for Hearthstone).

At the moment, if a user wants to disable a mod, they need to delete it from the Mods folder, which can be a bit cumbersome (especially if it's a mod that they want to reactivate later on).
Ideally, I would be able to write to a config file somewhere that this mod should be deactivated, so that it's not loaded the next time MelonLoader starts up.

It's not a critical feature, but would help making the MelonLoader integration as seamless as possible.

Thanks for considering it!

AndreLouisIssa commented 1 year ago

a hack you can try is renaming the file to end in .dev.dll so the default loading mode won't load it