Mods / Auto Config Lib
Category:
#Utility
Author: TheInsanityGod
Side: Both
Created: 1 day ago
Last modified: 12 hours ago
Downloads: 160
Follow Unfollow 20
Author: TheInsanityGod
Side: Both
Created: 1 day ago
Last modified: 12 hours ago
Downloads: 160
Follow Unfollow 20
Latest file for v1.20.0-rc.8:
autoconfiglib_1.2.1.zip
1-click install
Requires: Config Lib
Ever wanted to edit some setting through ConfigLib's mod setting menu, only to realize the other mod doesn't have a ConfigLib implementation? Well I haven't but I'm here to try and fix this anyway.
Features:
- Automatically adds typed configs to ConfigLib if no ConfigLib implementation was detected
- World Config gets added to ConfigLib automatically as well
Conditions (for config to be auto generated):
This mod currently only adds an AutoConfig if the mod has an actual code type associated with it.
(if it actually calls api.LoadModConfig<CustomModConfigType>(ConfigFileName))
Meaning no configs for Content Mods or mods that retrieve their config as pure json.
(I'm still looking into seeing if there is anything I can do for the latter scenario)
(I only tested this on 1.20-rc.8 but it will probably work on older versions as well)
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.2.1 | 59 | 12 hours ago | Show | autoconfiglib_1.2.1.zip | Install now | |
v1.1.0 | 38 | 18 hours ago | Show | autoconfiglib_1.1.0.zip | Install now | |
v1.0.0 | 63 | 1 day ago | Show | autoconfiglib_1.0.0.zip | Install now |
TheInsanityGod
It is a slightly long list of mods, but I will hyperlink all the related items!
I did see that a few of these were able to auto create config files in your example photos, so I'm not sure what's up with my game! 😅
Xerog, thank you for reporting this issue, it should be fixed by the new release.
Kwehlani, the only condition is that the config needs to have an actual code type associated to it.
(as in the mod needs to call api.LoadModConfig<CustomModConfigType>(ConfigFileName))
If you want me to check why some mod isn't getting an AutoConfig please mention the actual mod name
It crashed my game when I was trying to get into https://mods.vintagestory.at/show/mod/367 Xandus inventory tweaks.
Hey!
Are there any specific conditions or buttons that need to be pressed to enable the auto creation of the config files? I was unable to get this to work and still only have my default configlib compatible mods available to edit.
Thanks!