Database Manager is a server-side mod for Vintage Story that provides a simplified API for other mods to create and manage their own databases. It handles database file locations, connection management, and basic maintenance tasks like integrity checks and automated best effort recovery.
This mod is designed to be used by other server-side mods. Please see the source code for the current API and usage documentation.
Mod page: DatabaseManager
Source: https://github.com/GarbageCanGames/VintageStory-DatabaseManager
Issue tracking: https://github.com/GarbageCanGames/VintageStory-DatabaseManager/issues
The Why?
I have a few simple mods, LastOnline and SnailMail, I manage for my server and got tired of reusing the SQLite code so I rolled it into it's own mod that I can leverage and figured someone might also find it useful.