Class MessageConfiguration

java.lang.Object
com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration

public class MessageConfiguration extends Object
  • Field Details

  • Constructor Details

    • MessageConfiguration

      public MessageConfiguration(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
    • getFirstJoinMessageCompound

      public MessageConfiguration.MessageCompound getFirstJoinMessageCompound()
    • getRejoinMessageCompound

      public MessageConfiguration.MessageCompound getRejoinMessageCompound()
    • getRejoinMessageGuildCompound

      public MessageConfiguration.MessageCompound getRejoinMessageGuildCompound()
    • getReminderMessageCompound

      public MessageConfiguration.MessageCompound getReminderMessageCompound()
    • getReminderMessageGuildCompound

      public MessageConfiguration.MessageCompound getReminderMessageGuildCompound()
    • getSuccessMessageCompound

      public MessageConfiguration.MessageCompound getSuccessMessageCompound()
    • getSuccessMessageGuildCompound

      public MessageConfiguration.MessageCompound getSuccessMessageGuildCompound()
    • getMessageOnWarning

      public String getMessageOnWarning()
    • getMessageOnMute

      public String getMessageOnMute()
    • getMessageOnUnmute

      public String getMessageOnUnmute()
    • getReminderMessageTimerDelay

      public int getReminderMessageTimerDelay()
    • getReminderMessageTimerDelayGuild

      public int getReminderMessageTimerDelayGuild()
    • getPermanentBanScreen

      public String getPermanentBanScreen()
    • getTemporaryBanScreen

      public String getTemporaryBanScreen()
    • getKickScreen

      public String getKickScreen()
    • getKickUnlinkedScreen

      public String getKickUnlinkedScreen()
    • getKick1191PlusChatScreen

      public String getKick1191PlusChatScreen()
    • tryGet

      protected <T> T tryGet(org.spongepowered.configurate.CommentedConfigurationNode root, Class<T> clazz, T def, String friendlyOptionName, Object... path)
    • tryGetList

      protected <T> List<T> tryGetList(org.spongepowered.configurate.CommentedConfigurationNode root, Class<T> clazz, List<T> def, String friendlyOptionName, Object... path)