Skip to main content

TavernLib.Backend.Server.Configs

Every type in TavernLib.Backend.Server.Configs, from TavernLib's own assembly. See the overview for how these pages are made.

TypeKindPublic membersWhat it is
ModsListclass3A modlist file, as /modlist reads it: the mod ids, each optionally pinned to a version. Its repos and untracked keys are not read.
ModsListConfigclass1The ServerConfigFile for a modlist file, read by ModReconciler.ReconcileModList.
ServerConfigFile<T>abstract class6The base class for TavernLib's JSON files. Reads into a T, writes through a temp file with a .bak, and holds a per-object lock so changes don't interleave. Subclass it for your own mod's file.
ServerSettingsclass19The contents of server_settings.json. Unknown keys are kept. Read it through TavernManager.ServerConfig.
ServerSettingsConfigclass2The ServerConfigFile for server_settings.json. Hashes plain passwords and makes a listing token when there is none.
TavernServerclass14The contents of tavern_server.json: the game, auth, web and console ports. Use the checked properties (Game, Auth, Web, Console), which fall back to the defaults.
TavernServerConfigclass1The ServerConfigFile for tavern_server.json.
TrustedReposclass4The contents of mod_repos.json: the mod sources reconcile may pull from. Only modmanager addrepo adds one.
TrustedReposConfigclass1The ServerConfigFile for mod_repos.json.
UserConfigclass4The contents of users.json: registered players, and the whitelist and blacklist. Unknown keys are kept and written back.
UserConfig.ListConfigclass4A whitelist or blacklist in users.json. A player matches on any of their name, id or address.
UserConfig.Userclass9One registered player in users.json, made the first time they join through the auth port. On a client, EntranceMessageHandler.LocalUser uses it for the local player's roles.
UserConfigFileclass5The ServerConfigFile for users.json, with lookups on the last read. Use the one on TavernManager, not a new one.
WhitelistRequestListclass2The contents of whitelist_requests.json: players who asked to be whitelisted from the launcher.
WhitelistRequestList.WhitelistRequestclass4One whitelist application.
WhitelistRequestsConfigFileclass1The ServerConfigFile for whitelist_requests.json.