|
@@ -6,16 +6,33 @@ import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
|
|
@ConfigSerializable
|
|
|
public class ConfigNotifications {
|
|
|
|
|
|
- public static final boolean SUPER_ABILITY_TOOL_NOTIFICATION_DEFAULT = true;
|
|
|
+ private static final boolean SUPER_ABILITY_TOOL_NOTIFICATION_DEFAULT = true;
|
|
|
+
|
|
|
@Setting(value = "Action-Bar-Notifications", comment = "Settings related to action bar messages." +
|
|
|
"\nThe action bar is the area above your health and armor.")
|
|
|
- public ConfigActionBarNotifications actionBarNotifications = new ConfigActionBarNotifications();
|
|
|
+ private ConfigActionBarNotifications actionBarNotifications = new ConfigActionBarNotifications();
|
|
|
+
|
|
|
+
|
|
|
@Setting(value = "General", comment = "General settings for Notifications")
|
|
|
- public ConfigNotificationGeneral configNotificationGeneral = new ConfigNotificationGeneral();
|
|
|
+ private ConfigNotificationGeneral configNotificationGeneral = new ConfigNotificationGeneral();
|
|
|
+
|
|
|
@Setting(value = "Super-Ability-Tool-Raising-Lowering-Notification",
|
|
|
comment = "Notifies the player when they go into the tool readying state for super abilities.")
|
|
|
private boolean superAbilityToolMessage = SUPER_ABILITY_TOOL_NOTIFICATION_DEFAULT;
|
|
|
|
|
|
+
|
|
|
+ public boolean isShowProfileLoadedMessage() {
|
|
|
+ return configNotificationGeneral.isShowProfileLoadedMessage();
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean isPlayerTips() {
|
|
|
+ return configNotificationGeneral.isPlayerTips();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static boolean isSuperAbilityToolNotificationDefault() {
|
|
|
+ return SUPER_ABILITY_TOOL_NOTIFICATION_DEFAULT;
|
|
|
+ }
|
|
|
+
|
|
|
public boolean isSuperAbilityToolMessage() {
|
|
|
return superAbilityToolMessage;
|
|
|
}
|