aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java48
1 files changed, 38 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
index ee46054f6..97d933ad6 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni.config.features;
+import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.*;
import org.lwjgl.input.Keyboard;
@@ -21,61 +22,78 @@ public class ChatConfig {
@ConfigOption(name = "Hypixel Hub", desc = "Block messages outside SkyBlock in the Hypixel lobby: player joins, loot boxes, prototype lobby messages, radiating generosity and Hypixel tournaments.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean hypixelHub = true;
@Expose
@ConfigOption(name = "Empty", desc = "Hide all the empty messages from the chat.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean empty = true;
@Expose
- @ConfigOption(name = "Warping", desc = "Block 'sending request to join...' and 'warping...' messages.")
+ @ConfigOption(name = "Warping", desc = "Block 'Sending request to join...' and 'Warping...' messages.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean warping = true;
@Expose
- @ConfigOption(name = "Welcome", desc = "Hide the 'welcome to SkyBlock' message.")
+ @ConfigOption(name = "Welcome", desc = "Hide the 'Welcome to SkyBlock' message.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean welcome = true;
@Expose
- @ConfigOption(name = "Guild Exp", desc = "Hide guild exp messages.")
+ @ConfigOption(name = "Guild Exp", desc = "Hide Guild EXP messages.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean guildExp = true;
@Expose
- @ConfigOption(name = "Winter Gifts", desc = "Hide useless winter gift messages.")
+ @ConfigOption(name = "Friend Join Left", desc = "Hide friend join/left messages.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
+ public boolean friendJoinLeft = false;
+
+ @Expose
+ @ConfigOption(name = "Winter Gifts", desc = "Hide useless Winter Gift messages.")
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean winterGift = false;
@Expose
- @ConfigOption(name = "Powder Mining", desc = "Hide messages while opening chests in crystal hollows. " +
+ @ConfigOption(name = "Powder Mining", desc = "Hide messages while opening chests in Crystal Hollows. " +
"(Except powder numbers over 1k, Prehistoric Egg and Automaton Parts)")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean powderMining = true;
@Expose
- @ConfigOption(name = "Kill Combo", desc = "Hide messages about the current kill combo from the Grandma Wolf Pet.")
+ @ConfigOption(name = "Kill Combo", desc = "Hide messages about the current Kill Combo from the Grandma Wolf Pet.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean killCombo = false;
@Expose
@ConfigOption(name = "Watchdog", desc = "Hide the message where Hypixel is flexing how many players they have banned over the last week.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean watchDog = true;
@Expose
@ConfigOption(name = "Profile Join", desc = "Hide 'You are playing on profile' and 'Profile ID' chat messages")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean profileJoin = true;
//TODO remove
@@ -83,6 +101,7 @@ public class ChatConfig {
@ConfigOption(name = "Others", desc = "Hide other annoying messages.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 0)
+ @FeatureToggle
public boolean others = false;
@Expose
@@ -94,48 +113,57 @@ public class ChatConfig {
@ConfigOption(name = "Player Rank Hider", desc = "Hide player ranks in all chat messages.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 1)
+ @FeatureToggle
public boolean playerRankHider = false;
@Expose
@ConfigOption(name = "Chat Filter", desc = "Scan messages sent by players for blacklisted words and grey out the message if any are found.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 1)
+ @FeatureToggle
public boolean chatFilter = false;
@Expose
- @ConfigOption(name = "Dungeon Filter", desc = "Hide annoying messages in dungeons.")
+ @ConfigOption(name = "Dungeon Filter", desc = "Hide annoying messages in Dungeons.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean dungeonMessages = true;
@Expose
- @ConfigOption(name = "Dungeon Boss Messages", desc = "Hide messages from the watcher and bosses in the dungeon.")
+ @ConfigOption(name = "Dungeon Boss Messages", desc = "Hide messages from the Watcher and bosses in the dungeon.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean dungeonBossMessages = false;
@Expose
@ConfigOption(name = "Hide Far Deaths", desc = "Hide other players' death messages, " +
- "except for players who are nearby or during dungeons/a Kuudra fight.")
+ "except for players who are nearby or during Dungeons/a Kuudra fight.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean hideFarDeathMessages = false;
//TODO jawbus + thunder
@Expose
@ConfigOption(name = "Compact Potion Message", desc = "Shorten chat messages about player potion effects.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean compactPotionMessage = true;
@Expose
- @ConfigOption(name = "Compact Bestiary Message", desc = "Shorten the bestiary level up message, showing additional information when hovering.")
+ @ConfigOption(name = "Compact Bestiary Message", desc = "Shorten the Bestiary level up message, showing additional information when hovering.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean compactBestiaryMessage = true;
@Expose
@ConfigOption(name = "Arachne Hider", desc = "Hide chat messages about the Arachne Fight while outside of §eArachne's Sanctuary§7.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean hideArachneMessages = false;
@Expose
@ConfigOption(name = "Translator", desc = "Click on a message to translate it into English. Use /shcopytranslation to get the translation from English. Translation is not guaranteed to be 100% accurate.")
@ConfigEditorBoolean
+ @FeatureToggle
public boolean translator = false;
}