Skip to main content

TavernDirectories

A static class in TavernLib, TavernLib.

The folder and file paths TavernLib uses, worked out each time you read them. None of them creates the folder or file. Both sides.

Properties​

MemberWhat it is
static string AppData { get; }The current user's roaming application data folder (%APPDATA%).
static string ATTSave { get; }%APPDATA%\A Township Tale, the game's own folder with worlds, logs and cosmetic presets.
static string Blacklist { get; }TheModdingTavern\blacklist.json. TavernLib doesn't use it any more; the blacklist is in users.json.
static string LastRejection { get; }TheModdingTavern\last_rejection.json. Client: written when a server refuses you for missing mods, for the launcher to read.
static string LauncherPath { get; }TheModdingTavern\launcher_path.txt, where the launcher wrote its own exe path. Client: used to start it after a mod refusal.
static string ModdingTavern { get; }%APPDATA%\TheModdingTavern, the folder for TavernLib's and the launcher's config files.
static string ModRepos { get; }TheModdingTavern\mod_repos.json, the mod sources added with modmanager addrepo.
static string QuickJoin { get; }TheModdingTavern\quick_join. Quick join is on while this file exists.
static string ServerSettings { get; }TheModdingTavern\server_settings.json, the server's name, password, limits and backup settings.
static string TavernServer { get; }TheModdingTavern\tavern_server.json, the server's ports.
static string Users { get; }TheModdingTavern\users.json: registered players, roles, whitelist and blacklist.
static string Whitelist { get; }TheModdingTavern\whitelist.json. TavernLib doesn't use it any more; the whitelist is in users.json.
static string WhitelistRequests { get; }TheModdingTavern\whitelist_requests.json, players who asked to be whitelisted.