Class SharedConfiguration
java.lang.Object
com.gamersafer.minecraft.auth.common.configuration.SharedConfiguration
- Direct Known Subclasses:
ProxyConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected Stringprotected Stringprotected Stringprotected DBTypeprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfinal voidLoad the config from the file specified in the constructor.protected voidloadValues(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 theloadValuesmethod. -
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()
-