Back to mods
Auto Config Lib project artwork

Vintage Story Mod DB · Vintage Story mod

Auto Config Lib

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: • Automated ConfigLib implem

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Auto Config Lib release should I use?

Updated 3 months ago
Latest stable file 2.0.10
Game version 1.22.0-pre.1, 1.22.0-pre.2, 1.22.0-pre.3
Loader Built-in Vintage Story mod system

Auto Config Lib 2.0.10 targets 1.22.0-pre.1, 1.22.0-pre.2, 1.22.0-pre.3. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Auto Config Lib required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Auto Config Lib 2.0.10 need?

2.0.10. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Auto Config Lib without breaking your instance.

Built for Auto Config Lib 2.0.10. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.10. It targets 1.22.0-pre.1, 1.22.0-pre.2, 1.22.0-pre.3; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.10. It opens that exact file at the source.

About this project

What does Auto Config Lib add?

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:

  • Automated ConfigLib implementation for Typed Configs (meaning configs that have an actual code class associated with it)
  • World Config gets added to ConfigLib automatically as well
  • Shows description from code documentation*
  • Supports data annotation attributes


*This required the creator of the mod to enable the output of the documentation file

 

Suported data annotations:

  • DisplayName (sets the name in config)
  • Description (sets the description in config)
  • Category (sets the group to display this item under)
  • DefaultValue (sets the value to use for the reset button)
  • ReadOnly (sets whether this value should be editable or just displayed)
  • Browsable (sets whether this item should be visible, by default fields & properties are considered browseable(true) while methods are considered browseable(false) and yes changing this will make the method show up as  a button in the config)
  • Range (sets the minimum and maximum value for numbers, as long as the min or max is not infinite this will also turn it into a slider)
  • MaxLength (sets the maximum length of the string field, default MaxLength is 128)
  • DisplayFormat (sets the display format, currently only supports "P" for showing floats as percentages where 0 is considered 0% and 1 is considered 100%)

 

Note for modders: if you want a more complete code first config management (and not just configLib integration) then consider using InsanityLib instead

Project description from Vintage Story Mod DB.

Pick your setup

Auto Config Lib releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

54 available setups

Showing the newest 12 of 54 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Auto Config Lib versions and loaders

14 of 14 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.