Class SharedConfiguration

java.lang.Object
com.gamersafer.minecraft.bans.common.configuration.SharedConfiguration
Direct Known Subclasses:
ProxyConfiguration

public class SharedConfiguration extends Object
  • Field Details

    • verboseLog

      protected boolean verboseLog
    • verboseLogHideReminders

      protected boolean verboseLogHideReminders
    • registerAliases

      protected boolean registerAliases
    • dbType

      protected DBType dbType
    • dbConnectionString

      protected String dbConnectionString
    • dbUser

      protected String dbUser
    • dbPassword

      protected String dbPassword
    • language

      protected String language
  • Constructor Details

    • SharedConfiguration

      public SharedConfiguration(File file, ILogger ilogger)
  • Method Details

    • loadConfig

      public final void loadConfig()
      Load the config from the file specified in the constructor. To load additional value override the loadValues 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

      public DBType getDbType()
    • getDbConnectionString

      public String getDbConnectionString()
    • getDbUser

      public String getDbUser()
    • getDbPassword

      public String getDbPassword()
    • getLanguage

      public String getLanguage()