diff options
| author | DoKM <mcazzyman@gmail.com> | 2021-07-08 21:33:52 +0200 |
|---|---|---|
| committer | DoKM <mcazzyman@gmail.com> | 2021-07-08 21:33:52 +0200 |
| commit | 4013efcfc85e5ce4e16b2492d235373ed5caa958 (patch) | |
| tree | 1a028bc373e4b2506cfc469e628055267eee30b9 /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Calendar.java | |
| parent | e5959b506165086e507b41a1fdfc4e3d96d1da43 (diff) | |
| download | notenoughupdates-4013efcfc85e5ce4e16b2492d235373ed5caa958.tar.gz notenoughupdates-4013efcfc85e5ce4e16b2492d235373ed5caa958.tar.bz2 notenoughupdates-4013efcfc85e5ce4e16b2492d235373ed5caa958.zip | |
Redo config so its less cluttered
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Calendar.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Calendar.java | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Calendar.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Calendar.java new file mode 100644 index 00000000..fea9853a --- /dev/null +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Calendar.java @@ -0,0 +1,53 @@ +package io.github.moulberry.notenoughupdates.options.seperateSections;
+
+import com.google.gson.annotations.Expose;
+import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorBoolean;
+import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigEditorSlider;
+import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigOption;
+
+public class Calendar {
+ @Expose
+ @ConfigOption(
+ name = "Event Notifications",
+ desc = "Display notifications for skyblock calendar events"
+ )
+ @ConfigEditorBoolean
+ public boolean eventNotifications = true;
+
+ @Expose
+ @ConfigOption(
+ name = "Starting Soon Time",
+ desc = "Display a notification before events start, time in seconds.\n" +
+ "0 = No prior notification"
+ )
+ @ConfigEditorSlider(
+ minValue = 0f,
+ maxValue = 600f,
+ minStep = 30f
+ )
+ public int startingSoonTime = 300;
+
+ @Expose
+ @ConfigOption(
+ name = "Timer In Inventory",
+ desc = "Displays the time until the next event at the top of your screen when in inventories"
+ )
+ @ConfigEditorBoolean
+ public boolean showEventTimerInInventory = true;
+
+ @Expose
+ @ConfigOption(
+ name = "Notification Sounds",
+ desc = "Play a sound whenever events start"
+ )
+ @ConfigEditorBoolean
+ public boolean eventNotificationSounds = true;
+
+ @Expose
+ @ConfigOption(
+ name = "Spooky Night Notification",
+ desc = "Send a notification during spooky event when the time reaches 7pm"
+ )
+ @ConfigEditorBoolean
+ public boolean spookyNightNotification = true;
+}
|
