Class SharedConfiguration

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

public class SharedConfiguration extends Object
  • Field Details

    • verboseLog

      protected boolean verboseLog
    • verboseLogHideReminders

      protected boolean verboseLogHideReminders
    • gsRequiredAllowChat

      protected boolean gsRequiredAllowChat
    • gsRequiredAllowCommands

      protected boolean gsRequiredAllowCommands
    • notAuthenticatedBlockingGroup

      protected String notAuthenticatedBlockingGroup
    • authenticationSaveTimer

      protected int authenticationSaveTimer
    • webHookUrl

      protected String webHookUrl
    • webHookCert

      protected String webHookCert
    • webHookKey

      protected String webHookKey
    • registerAliases

      protected boolean registerAliases
    • dbType

      protected DBType dbType
    • dbAddress

      protected String dbAddress
    • dbDatabase

      protected String dbDatabase
    • dbUser

      protected String dbUser
    • dbPassword

      protected String dbPassword
    • onboardingRoom

      protected boolean onboardingRoom
    • onboardAllPlayers

      protected boolean onboardAllPlayers
    • forcePlayerLookUp

      protected boolean forcePlayerLookUp
    • language

      protected String language
    • ipBasedPunishments

      protected boolean ipBasedPunishments
  • 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()
    • getAuthenticationSaveTimer

      public int getAuthenticationSaveTimer()
    • isGsRequiredAllowChat

      public boolean isGsRequiredAllowChat()
    • isGsRequiredAllowCommands

      public boolean isGsRequiredAllowCommands()
    • getNotAuthenticatedBlockingGroup

      public String getNotAuthenticatedBlockingGroup()
    • getWebHookUrl

      public String getWebHookUrl()
    • getWebHookCert

      public String getWebHookCert()
    • getWebHookKey

      public String getWebHookKey()
    • isRegisterAliases

      public boolean isRegisterAliases()
    • getDbType

      public DBType getDbType()
    • getDbAddress

      public String getDbAddress()
    • getDbDatabase

      public String getDbDatabase()
    • getDbUser

      public String getDbUser()
    • getDbPassword

      public String getDbPassword()
    • getLanguage

      public String getLanguage()
    • isIpBasedPunishments

      public boolean isIpBasedPunishments()
    • isOnboardingRoomEnabled

      public boolean isOnboardingRoomEnabled()
    • forceOnboardAllPlayers

      public boolean forceOnboardAllPlayers()
    • isForcePlayerLookUp

      public boolean isForcePlayerLookUp()