aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-01 16:28:42 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-01 16:28:42 +0200
commit1b7c19047c08659010cf97869b1e2109910f029c (patch)
tree72defaac0066b9e4508f280e0e377247bdd515e9 /src/main/java/at/hannibal2/skyhanni/config
parent6ff32f911279eea29fbbb69e031e027a2c1a5d9c (diff)
downloadskyhanni-1b7c19047c08659010cf97869b1e2109910f029c.tar.gz
skyhanni-1b7c19047c08659010cf97869b1e2109910f029c.tar.bz2
skyhanni-1b7c19047c08659010cf97869b1e2109910f029c.zip
Reordered Bingo category in config. Added option to show/hide the border messages in before and after level up message in bingo compact chat. Added option to use compact chat in non bingo profiles as well
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Bingo.java58
1 files changed, 42 insertions, 16 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Bingo.java b/src/main/java/at/hannibal2/skyhanni/config/features/Bingo.java
index 6f52bc890..2b04d895c 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Bingo.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Bingo.java
@@ -2,30 +2,56 @@ package at.hannibal2.skyhanni.config.features;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
+import io.github.moulberry.moulconfig.annotations.Accordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
public class Bingo {
@Expose
- @ConfigOption(name = "Compact Chat Messages", desc = "Shortens chat messages about skill level ups, collection gains, " +
- "new area discoveries, and bestiary upgrades while on bingo.")
- @ConfigEditorBoolean
- public boolean compactChatMessages = true;
-
- @Expose
- @ConfigOption(name = "Bingo Card View", desc = "Simply showing the bingo card. Toggle by sneaking with SkyBlock menu in hand.")
- @ConfigEditorBoolean
- public boolean cardDisplay = true;
-
- @Expose
- @ConfigOption(name = "Bingo Steps", desc = "Show help with the next step in bingo instead of the bingo card. " +
- "§cThis feature is in early development. Expect bugs and missing goals.")
- @ConfigEditorBoolean
- public boolean stepHelper = false;
+ @ConfigOption(name = "Bingo Card", desc = "")
+ @Accordion
+ public BingoCard bingoCard = new BingoCard();
+
+ public static class BingoCard {
+ @Expose
+ @ConfigOption(name = "Enable", desc = "Displays the bingo card. Toggle by sneaking with SkyBlock menu in hand.")
+ @ConfigEditorBoolean
+ public boolean enabled = true;
+
+ @Expose
+ @ConfigOption(name = "Bingo Steps", desc = "Show help with the next step in bingo instead of the bingo card. " +
+ "§cThis feature is in early development. Expect bugs and missing goals.")
+ @ConfigEditorBoolean
+ public boolean stepHelper = false;
+
+ @Expose
+ public Position bingoCardPos = new Position(10, 10, false, true);
+ }
@Expose
- public Position bingoCardPos = new Position(10, 10, false, true);
+ @ConfigOption(name = "Compact Chat Messages", desc = "")
+ @Accordion
+ public CompactChat compactChat = new CompactChat();
+
+ public static class CompactChat {
+
+ @Expose
+ @ConfigOption(name = "Enable", desc = "Shortens chat messages about skill level ups, collection gains, " +
+ "new area discoveries, bestiary upgrades and skyblock level up messages while on bingo.")
+ @ConfigEditorBoolean
+ public boolean enabled = true;
+
+ @Expose
+ @ConfigOption(name = "Hide Border", desc = "Hide the border messages before and after the compact level up messages.")
+ @ConfigEditorBoolean
+ public boolean hideBorder = true;
+
+ @Expose
+ @ConfigOption(name = "Outside Bingo", desc = "Compact the level up chat messages outside of an bingo profile as well.")
+ @ConfigEditorBoolean
+ public boolean outsideBingo = false;
+ }
@Expose
@ConfigOption(name = "Minion Craft Helper", desc = "Show how many more items you need to upgrade the minion in your inventory. Especially useful for bingo.")