Class SharedConfiguration
java.lang.Object
com.gamersafer.minecraft.bans.common.configuration.SharedConfiguration
- Direct Known Subclasses:
ProxyConfiguration
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 -
registerAliases
protected boolean registerAliases -
dbType
-
dbConnectionString
-
dbUser
-
dbPassword
-
language
-
-
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() -
isRegisterAliases
public boolean isRegisterAliases() -
getDbType
-
getDbConnectionString
-
getDbUser
-
getDbPassword
-
getLanguage
-