BepInEx / BepInEx.ConfigurationManager

Plugin configuration manager for BepInEx
https://www.patreon.com/ManlyMarco
GNU Lesser General Public License v3.0
231 stars 53 forks source link

Request to add ConfigurationManager to Thunderstore #19

Closed GreyHak closed 3 years ago

GreyHak commented 3 years ago

Could you please add ConfigurationManager to https://dsp.thunderstore.io/? I'm a mod developer, and would like your great interface to be available to users. I can't add the ConfigurationManager dependency unless the library is available. Thank you.

ManlyMarco commented 3 years ago

You shouldn't need to add ConfigurationManager as a plugin dependency in most cases, it's only done when adding custom UI for a specific game (check the developers part of the readme). Why do you need it to be added to thunderstore?

GreyHak commented 3 years ago

@ManlyMarco It is my understanding that I need to add ConfigurationManager as a plugin dependency if (a) I need to get an event when ConfigurationManager changes my configuration, or (b) I need to specify a range of acceptable values. Can these be done without a dependency?

Windows10CE commented 3 years ago

a. https://bepinex.github.io/bepinex_docs/master/api/BepInEx.Configuration.ConfigEntry-1.html#BepInEx_Configuration_ConfigEntry_1_SettingChanged b. https://bepinex.github.io/bepinex_docs/master/api/BepInEx.Configuration.html#acceptablevaluerange-t

GreyHak commented 3 years ago

@Windows10CE Thank you for teaching me again.