aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/ImprovedSBMenu.java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-07-08 21:33:52 +0200
committerDoKM <mcazzyman@gmail.com>2021-07-08 21:33:52 +0200
commit4013efcfc85e5ce4e16b2492d235373ed5caa958 (patch)
tree1a028bc373e4b2506cfc469e628055267eee30b9 /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/ImprovedSBMenu.java
parente5959b506165086e507b41a1fdfc4e3d96d1da43 (diff)
downloadnotenoughupdates-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/ImprovedSBMenu.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/ImprovedSBMenu.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/ImprovedSBMenu.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/ImprovedSBMenu.java
new file mode 100644
index 00000000..6a4cb65c
--- /dev/null
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/ImprovedSBMenu.java
@@ -0,0 +1,46 @@
+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.ConfigEditorDropdown;
+import io.github.moulberry.notenoughupdates.core.config.annotations.ConfigOption;
+
+public class ImprovedSBMenu {
+ @Expose
+ @ConfigOption(
+ name = "Enable Improved SB Menus",
+ desc = "Change the way that skyblock menus (eg. /sbmenu) look"
+ )
+ @ConfigEditorBoolean
+ public boolean enableSbMenus = true;
+
+ @Expose
+ @ConfigOption(
+ name = "Menu Background Style",
+ desc = "Change the style of the background of skyblock menus"
+ )
+ @ConfigEditorDropdown(
+ values = {"Dark 1", "Dark 2", "Transparent", "Light 1", "Light 2", "Light 3",
+ "Unused 1", "Unused 2", "Unused 3", "Unused 4"}
+ )
+ public int backgroundStyle = 0;
+
+ @Expose
+ @ConfigOption(
+ name = "Button Background Style",
+ desc = "Change the style of the foreground elements in skyblock menus"
+ )
+ @ConfigEditorDropdown(
+ values = {"Dark 1", "Dark 2", "Transparent", "Light 1", "Light 2", "Light 3",
+ "Unused 1", "Unused 2", "Unused 3", "Unused 4"}
+ )
+ public int buttonStyle = 0;
+
+ @Expose
+ @ConfigOption(
+ name = "Hide Empty Tooltips",
+ desc = "Hide the tooltips of glass panes with no text"
+ )
+ @ConfigEditorBoolean
+ public boolean hideEmptyPanes = true;
+}