Class MessageConfiguration
java.lang.Object
com.gamersafer.minecraft.bans.common.configuration.MessageConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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
-
messageOnWarning
-
messageOnMute
-
messageOnUnmute
-
permanentBanScreen
-
temporaryBanScreen
-
kickScreen
-
-
Constructor Details
-
MessageConfiguration
-
-
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
-
getMessageOnWarning
-
getMessageOnMute
-
getMessageOnUnmute
-
getPermanentBanScreen
-
getTemporaryBanScreen
-
getKickScreen
-