Mods / Auto Config Lib

Category: #Utility
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 19 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

6 Comments (oldest first | newest first)

💬 Kwehlani, 1 hour ago
💬 TheInsanityGodAuthor, 19 hours ago

Xerog, thank you for reporting this issue, it should be fixed by the new release.

💬 TheInsanityGodAuthor, 21 hours ago

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

💬 Xerog, 21 hours ago

It crashed my game when I was trying to get into https://mods.vintagestory.at/show/mod/367 Xandus inventory tweaks.

💬 Xerog, 21 hours ago
💬 Kwehlani, 23 hours ago

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!

(edit comment delete)