TavernManager
A class in TavernLib, TavernLib.Backend.Api.
The server's config files, registered as a service: get it with TavernServices.GetService<TavernManager>(). Server only, also with /launcherauth.
- Listed in TavernLib.Backend.Api
- Inherits or implements
IService - Documented in TavernManager, Services
Constructors
| Member | What it is |
|---|---|
TavernManager() | Creates and reads the config files, then starts the listing controller and auth manager when they are on. |
Properties
| Member | What it is |
|---|---|
ServerSettingsConfig ServerConfig { get; private set; } | server_settings.json. |
TavernServerConfig TavernConfig { get; private set; } | tavern_server.json, the ports. |
UserConfigFile UserConfig { get; private set; } | users.json. Change it through Update on this object, which is the one TavernLib writes through. |
WhitelistRequestsConfigFile WhitelistRequests { get; private set; } | whitelist_requests.json. |
2 private and internal properties
| Member | What it is |
|---|---|
internal AuthManager AuthManager { get; private set; } | Internal: the login server on the auth port. null with /launcherauth. |
internal ServerListingController ListingController { get; private set; } | Internal: the Community Servers heartbeat. null unless community_listed was on at start. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a TavernManager: