diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-08 12:13:43 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-08 12:13:43 +0200 |
commit | 1ba5d8b7369387f1fbd3949ada31cb005ce90967 (patch) | |
tree | 2081f131c10df6b6c121a1352074e41ee61e5aa9 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 93a56487f0bb2b7d5dcfc816808386ef34a8986e (diff) | |
download | skyhanni-1ba5d8b7369387f1fbd3949ada31cb005ce90967.tar.gz skyhanni-1ba5d8b7369387f1fbd3949ada31cb005ce90967.tar.bz2 skyhanni-1ba5d8b7369387f1fbd3949ada31cb005ce90967.zip |
added minecraft console filter logic into config
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/DevData.java | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java index 5e66e9e8f..126f67d18 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java @@ -27,4 +27,64 @@ public class DevData { @ConfigEditorButton(runnableId = "debugPos", buttonText = "Edit") @ConfigAccordionId(id = 0) public Position debugPos = new Position(10, 10, false, true); + + @Expose + @ConfigOption(name = "Minecraft Console", desc = "") + @ConfigEditorAccordion(id = 1) + public boolean minecraftConsole = false; + + @Expose + @ConfigOption(name = "Unfiltered Debug", desc = "Print the debug information for unfiltered console messages") + @ConfigEditorBoolean + @ConfigAccordionId(id = 1) + public boolean printUnfilteredDebugs = true; + + @Expose + @ConfigOption( + name = "Outside SkyBlock", + desc = "Print the debug information for unfiltered console messages outside SkyBlock too" + ) + @ConfigEditorBoolean + @ConfigAccordionId(id = 1) + public boolean printUnfilteredDebugsOutsideSkyBlock = true; + + @Expose + @ConfigOption( + name = "Log Filtered", + desc = "Log the filtered messages into the console" + ) + @ConfigEditorBoolean + @ConfigAccordionId(id = 1) + public boolean printFilteredReason = true; + + @Expose + @ConfigOption(name = "Console Filters", desc = "") + @ConfigAccordionId(id = 1) + @ConfigEditorAccordion(id = 2) + public boolean consoleFilters = false; + + @Expose + @ConfigOption(name = "Filter Chat", desc = "Filter chat messages") + @ConfigEditorBoolean + @ConfigAccordionId(id = 2) + public boolean filterChat = true; + + @Expose + @ConfigOption(name = "Filter Grow Buffer", desc = "Filter 'Needed to grow BufferBuilder buffer:'") + @ConfigEditorBoolean + @ConfigAccordionId(id = 2) + public boolean filterGrowBuffer = true; + + @Expose + @ConfigOption(name = "Filter Chat", desc = "Filter 'Unable to play unknown soundEvent'") + @ConfigEditorBoolean + @ConfigAccordionId(id = 2) + public boolean filterUnknownSound = true; + + @Expose + @ConfigOption(name = "Filter Scoreboard Errors", desc = "Filter error messages with Scoreboard: removeTeam, createTeam, " + + "removeObjective and 'scoreboard team already exists'") + @ConfigEditorBoolean + @ConfigAccordionId(id = 2) + public boolean filterScoreboardErrors = true; } |