1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
package at.hannibal2.skyhanni.config.features.chat;
import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.Accordion;
import io.github.notenoughupdates.moulconfig.annotations.Category;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDraggableList;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;
import java.util.ArrayList;
import java.util.List;
public class ChatConfig {
@Expose
@ConfigOption(name = "Peek Chat", desc = "Hold this key to keep the chat open.")
@ConfigEditorKeybind(defaultKey = Keyboard.KEY_Z)
public int peekChat = Keyboard.KEY_NONE;
@Expose
@ConfigOption(name = "Chat Filter Types", desc = "")
@Accordion
// TODO move into own sub category
public FilterTypesConfig filterType = new FilterTypesConfig();
@Expose
@ConfigOption(name = "Player Messages", desc = "")
@Accordion
// TODO move into own sub category
public PlayerMessagesConfig playerMessage = new PlayerMessagesConfig();
@Expose
@ConfigOption(name = "Dungeon Filters", desc = "Hide specific message types in Dungeons.")
@ConfigEditorDraggableList
public List<DungeonMessageTypes> dungeonFilteredMessageTypes = new ArrayList<>();
public enum DungeonMessageTypes {
PREPARE("§bPreparation"),
START("§aClass Buffs §r/ §cMort Dialogue"),
AMBIENCE("§bAmbience"),
PICKUP("§ePickup"),
REMINDER("§cReminder"),
BUFF("§dBlessings"),
NOT_POSSIBLE("§cNot possible"),
DAMAGE("§cDamage"),
ABILITY("§dAbilities"),
PUZZLE("§dPuzzle §r/ §cQuiz"),
END("§cEnd §a(End of run spam)"),
;
private final String name;
DungeonMessageTypes(String name) {
this.name = name;
}
@Override
public String toString() {
return name;
}
}
@Expose
@ConfigOption(name = "Dungeon Boss Messages", desc = "Hide messages from the Watcher and bosses in Dungeons.")
@ConfigEditorBoolean
@FeatureToggle
public boolean dungeonBossMessages = false;
@Expose
@ConfigOption(name = "Hide Far Deaths", desc = "Hide other players' death messages when they're not nearby (except during Dungeons/Kuudra fights)")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideFarDeathMessages = false;
//TODO jawbus + thunder
@Expose
@ConfigOption(name = "Compact Potion Messages", desc = "")
@Accordion
public CompactPotionConfig compactPotionMessages = new CompactPotionConfig();
@Expose
@ConfigOption(name = "Compact Bestiary Messages", desc = "Compact the Bestiary level up message, only showing additional information when hovering.")
@ConfigEditorBoolean
@FeatureToggle
public boolean compactBestiaryMessage = true;
@Expose
@ConfigOption(name = "Compact Enchanting Rewards", desc = "Compact the rewards gained from Add-ons and Experiments in Experimentation Table, only showing additional information when hovering.")
@ConfigEditorBoolean
@FeatureToggle
public boolean compactExperimentationTable = false;
@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 = "Sack Change Hider",
desc = "Hide the sack change message while allowing mods to continue accessing sack data.\n" +
"§eUse this instead of the toggle in Hypixel Settings."
)
@ConfigEditorBoolean
@FeatureToggle
public boolean hideSacksChange = false;
@Category(name = "Translator", desc = "Chat translator settings.")
@Expose
public TranslatorConfig translator = new TranslatorConfig();
@Expose
@ConfigOption(name = "SkyBlock XP in Chat", desc = "Send the SkyBlock XP messages into the chat.")
@ConfigEditorBoolean
@FeatureToggle
public boolean skyBlockXPInChat = true;
@Expose
@ConfigOption(name = "Anita's Accessories", desc = "Hide Anita's Accessories' fortune bonus messages outside the Garden.")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideJacob = true;
@Expose
@ConfigOption(name = "Sky Mall Messages", desc = "Hide the Sky Mall messages outside of Mining Islands.")
@ConfigEditorBoolean
@FeatureToggle
public boolean hideSkyMall = true;
@Expose
@ConfigOption(
name = "Pet Drop Rarity",
desc = "Show the rarity of the Pet Drop in the message.\n" +
"§6§lPET DROP! §5§lEPIC §5Slug §6(§6+1300☘)"
)
@ConfigEditorBoolean
@FeatureToggle
public boolean petRarityDropMessage = true;
}
|