Class MessageConfiguration

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

public class MessageConfiguration extends Object
  • Field Details

    • messageOnWarning

      protected String messageOnWarning
    • messageOnMute

      protected String messageOnMute
    • messageOnUnmute

      protected String messageOnUnmute
    • permanentBanScreen

      protected String permanentBanScreen
    • temporaryBanScreen

      protected String temporaryBanScreen
    • kickScreen

      protected String kickScreen
  • 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
    • getMessageOnWarning

      public String getMessageOnWarning()
    • getMessageOnMute

      public String getMessageOnMute()
    • getMessageOnUnmute

      public String getMessageOnUnmute()
    • getPermanentBanScreen

      public String getPermanentBanScreen()
    • getTemporaryBanScreen

      public String getTemporaryBanScreen()
    • getKickScreen

      public String getKickScreen()