Skip to main content

ModReconciler

A static class in TavernLib, TavernLib.Backend.Mods.

Brings Mods in line with a modlist before mods load on a headless server: installs or updates listed mods and their dependencies, and disables unlisted server mods (never deletes). Server.

Fields​

2 private and internal fields
MemberWhat it is
private const int MaxSecondsTime budget, in seconds, for one reconcile pass.
private const string TargetThe target this pass works on, server.

Methods​

MemberWhat it is
static void Reconcile(string gameDir, ModsList modsList, List<string> repos, string scene)Runs one pass for a scene against the given sources, with a 300 second budget.
static void ReconcileModList(string modsListPathArg)What /modlist runs. Reads the modlist and mod_repos.json, then reconciles. Never throws; a failure leaves Mods as it was.