Skip to main content

TavernLib.ModulePorts

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

TypeKindPublic membersWhat it is
ChunkCommandModulestatic class0TavernLib's chunks console module, a port of the game's chunk commands: receive and sync tuning, load distances, listing, wiping, merging and force-loading chunks. Its commands are private.
Lines<T>class2A list for console answers: one item per line in a text console, and a JSON array in TavernKeeper. Return it instead of a plain IEnumerable.
ModsCommandModulestatic class0TavernLib's modmanager console module, with list (every mod in Mods and its state) and addrepo (adds a trusted mod source after checking its index). Server.
PlayerCommandModulestatic class1TavernLib's player console module, a port of the game's player commands plus its own: kick, ban, list, teleport, stats, messages and the inventory and progression submodules.
PlayerCommandModule.InventoryModulestatic class0The player inventory submodule: view an online player's inventory, and save or load it. Server only; its commands are private.
PlayerCommandModule.ProgressionCommandModulestatic class0The player progression submodule: list paths, give and check experience, clear progress, and show and buy skills. Its commands are private.
PlayerCommandModule.ProgressionCommandModule.PathXpclass7One row of player progression checkallxp: a player's level and experience on one path. Has JSON names for TavernKeeper and a text form.
PlayerCommandModule.ProgressionCommandModule.SkillRowclass5One row of player progression showskills: a skill the player can buy now, numbered for buyskill.
PlayerCommandModule.StatApplicationTypeenum3Which part of a stat player set-stat changes: its base value, its minimum or its maximum.
PlayerCommandModule.StatDefinitionInfoclass7One row of player list-stats: a stat's name, limits and, for a player with a body, its current value.
PlayerCommandModule.StatValueclass5The answer to player check-stat: one stat's definition, current value and base value.
TokenCommandModulestatic class1TavernLib's token console module for named console tokens: whoami, list, create, edit, revoke, rotate, show and log. Server; only the owner token manages tokens.
TokenCommandModule.LogLinesclass3The answer to token log: the newest lines of console_token_log.jsonl.
TokenCommandModule.TokenInfoclass11A named token as token list and token whoami answer it, with JSON names for TavernKeeper and a one-line text form. Never holds the token's text.
TokenCommandModule.TokenListclass3The answer to token list: every named token.