public class AuthConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AuthConfig.ExperimentalConfig |
static class |
AuthConfig.LangConfig |
static class |
AuthConfig.MainConfig |
Modifier and Type | Field and Description |
---|---|
AuthConfig.ExperimentalConfig |
experimental |
AuthConfig.LangConfig |
lang |
AuthConfig.MainConfig |
main |
AuthConfig.MainConfig.MongoDBCredentials |
mongoDBCredentials |
AuthConfig.MainConfig.WorldSpawn |
worldSpawn |
Constructor and Description |
---|
AuthConfig() |
Modifier and Type | Method and Description |
---|---|
static AuthConfig |
load(java.io.File file)
Loads SimpleAuth's config file.
|
void |
save(java.io.File file)
Saves the config to the given file.
|
public AuthConfig.MainConfig main
public AuthConfig.MainConfig.WorldSpawn worldSpawn
public AuthConfig.MainConfig.MongoDBCredentials mongoDBCredentials
public AuthConfig.LangConfig lang
public AuthConfig.ExperimentalConfig experimental
public static AuthConfig load(java.io.File file)
file
- file to load config frompublic void save(java.io.File file)
file
- file to save config to