Insanity Lib

Insanity Lib

Insanity Lib is a Vintage Story mod by TheInsanityGod. Insanity Lib is a developer library for Vintage Story mods, providing runtime and compile-time utilities for registration, patching, commands, configs, and paths.

Why this mod is worth installing

This mod is intended for mod developers whose projects use its helpers or require Insanity Lib at runtime. Regular players only need it when another installed mod lists it as a dependency.

What Insanity Lib adds

Insanity Lib combines runtime and compile-time tools that reduce repetitive code in Vintage Story mod development. It can help register classes automatically, simplify Harmony patch setup, and connect commands to attributes instead of requiring as much manual registration.

The library also provides enum extension support for systems such as custom transitions, path resolvers for accessing configuration data from JSON, and configuration attributes for loading and validating settings. ConfigLib integration is available when the related optional dependency is present.

Some utilities are only needed while building a mod, while others must remain available in the game. This distinction lets developers use compile-time conveniences without making every project depend on the library at runtime, while features marked as hard dependencies require it to be installed.

Where to download Insanity Lib

The official Vintage Story Mod DB page is the right place to get the current release through the in-game mod manager.

Download the Insanity Lib mod on mods.vintagestory.at