Class SharedConfiguration
java.lang.Object
com.gamersafer.minecraft.auth.common.configuration.SharedConfiguration
- Direct Known Subclasses:
ProxyConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected String
protected String
protected String
protected DBType
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected String
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
final void
Load the config from the file specified in the constructor.protected void
loadValues
(org.spongepowered.configurate.CommentedConfigurationNode root) Load values from a Configration load.
-
Field Details
-
verboseLog
protected boolean verboseLog -
verboseLogHideReminders
protected boolean verboseLogHideReminders -
gsRequiredAllowChat
protected boolean gsRequiredAllowChat -
gsRequiredAllowCommands
protected boolean gsRequiredAllowCommands -
notAuthenticatedBlockingGroup
-
authenticationSaveTimer
protected int authenticationSaveTimer -
webHookUrl
-
webHookCert
-
webHookKey
-
registerAliases
protected boolean registerAliases -
dbType
-
dbAddress
-
dbDatabase
-
dbUser
-
dbPassword
-
onboardingRoom
protected boolean onboardingRoom -
onboardAllPlayers
protected boolean onboardAllPlayers -
forcePlayerLookUp
protected boolean forcePlayerLookUp -
language
-
ipBasedPunishments
protected boolean ipBasedPunishments
-
-
Constructor Details
-
SharedConfiguration
-
-
Method Details
-
loadConfig
public final void loadConfig()Load the config from the file specified in the constructor. To load additional value override theloadValues
method. -
loadValues
protected void loadValues(org.spongepowered.configurate.CommentedConfigurationNode root) Load values from a Configration load. Override this method to read extra values.- Parameters:
root
- the root level node of the configuration
-
getVerboseLogging
public boolean getVerboseLogging() -
getVerboseLoggingHideReminders
public boolean getVerboseLoggingHideReminders() -
getAuthenticationSaveTimer
public int getAuthenticationSaveTimer() -
isGsRequiredAllowChat
public boolean isGsRequiredAllowChat() -
isGsRequiredAllowCommands
public boolean isGsRequiredAllowCommands() -
getNotAuthenticatedBlockingGroup
-
getWebHookUrl
-
getWebHookCert
-
getWebHookKey
-
isRegisterAliases
public boolean isRegisterAliases() -
getDbType
-
getDbAddress
-
getDbDatabase
-
getDbUser
-
getDbPassword
-
getLanguage
-
isIpBasedPunishments
public boolean isIpBasedPunishments() -
isOnboardingRoomEnabled
public boolean isOnboardingRoomEnabled() -
forceOnboardAllPlayers
public boolean forceOnboardAllPlayers() -
isForcePlayerLookUp
public boolean isForcePlayerLookUp()
-