Skip to main content

ModManagerConstants

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

Fixed names for the mod manager: the default source, target names and record file names.

Fields​

MemberWhat it is
const string DefaultRepoThe raw-content URL of ModdingTavern's TavernMods source, always trusted and tried first.
const string DisabledDllSuffix.disabled, added to a loose DLL's name to stop MelonLoader loading it.
const string DisabledRecordNamemanifest.disabled.json, a disabled mod's record.
static readonly string[] KnownTargetsThe three targets this build knows. Other target names in a manifest are ignored.
const string RecordNamemanifest.json, an enabled mod's record. Also what makes MelonLoader load the folder.
const string TargetClientAndroidclient_android, the Quest app.
const string TargetClientWindowsclient_windows, the PC game.
const string TargetServerserver, a dedicated server.

Methods​

MemberWhat it is
static bool IsDefaultRepo(string url)True if a URL is the default source, ignoring a trailing slash.
static string NormalizeUrl(string url)The URL without a trailing slash. null becomes empty.