Class PlayerPreferencesConfiguration
java.lang.Object
com.gamersafer.minecraft.auth.common.configuration.PlayerPreferencesConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisAllowSendChat(AgeGroupLabel ageGroupLabel) booleanbooleanfinal 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
-
adultAllowSendChat
protected boolean adultAllowSendChat -
youthAllowSendChat
protected boolean youthAllowSendChat -
minorAllowSendChat
protected boolean minorAllowSendChat
-
-
Constructor Details
-
PlayerPreferencesConfiguration
-
-
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
-
isAllowSendChat
-
isAdultAllowSendChat
public boolean isAdultAllowSendChat() -
isYouthAllowSendChat
public boolean isYouthAllowSendChat() -
isMinorAllowSendChat
public boolean isMinorAllowSendChat()
-