Skip to main content

TavernArgs

A static class in TavernLib, TavernLib.

The names of TavernLib's own command-line arguments, as constants, so a mod can check for them with the game's CommandLineArguments. Both sides.

Fields​

MemberWhat it is
const string DevServerIp/dev_server_ip: the address /join_local_server joins. Defaults to 127.0.0.1.
const string DevServerPort/dev_server_port: the game port for /join_local_server and local server joins. Defaults to 1757.
const string DevServerWebPort/dev_server_web_port: the server's web port, which the launcher gets from the server's auth reply. Without it the game uses 1761.
const string DontManageAuth/launcherauth: the launcher runs this server. TavernLib then skips its mod reconcile, log archiving and backups.
const string JoinLocalServer/join_local_server: Client: skips the game's startup actions and joins a server straight away.
const string ListingApi/listing_api: where the Community Servers listing is sent, for testing against a local stub.
const string ModsListFile/modlist: Server: a modlist file to reconcile Mods with before mods load. Ignored with /launcherauth.
const string QuestScene/questScene: forces the Quest scene (index 4) when joining, and for the reconcile and listing.
const string Rejoin/tavern_rejoin: the launcher is rejoining after installing a server's mods, so a refusal doesn't hand over to it again.
const string TutorialScene/tutorialScene: forces the tutorial scene (index 1). Checked before /questScene, so it wins.