UserConfig
A class in TavernLib, TavernLib.Backend.Server.Configs.
The contents of users.json: registered players, and the whitelist and blacklist. Unknown keys are kept and written back.
- Listed in TavernLib.Backend.Server.Configs
- Derived types
UserConfigFile - Nested types
ListConfig,User - Documented in User config
Constructors
| Member | What it is |
|---|---|
UserConfig() | Created by TavernLib; mods don't make one. |
Properties
| Member | What it is |
|---|---|
UserConfig.ListConfig Blacklist { get; set; } | Names, ids and addresses that may never join. |
Dictionary<string, UserConfig.User> Users { get; set; } | Registered players by lower-case username. |
UserConfig.ListConfig Whitelist { get; set; } | Names, ids and addresses allowed in while the whitelist is on. |
1 private and internal property
Used in
Members of other types that take, return or hold a UserConfig: