Class MessageConfiguration
java.lang.Object
com.gamersafer.minecraft.bans.common.configuration.MessageConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidLoad the config from the file specified in the constructor.protected voidloadValues(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 theloadValuesmethod. -
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
-