diff options
author | saga <45262877+saga-00@users.noreply.github.com> | 2024-08-26 06:08:12 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 11:08:12 +0200 |
commit | 35b1a6a1b83a1504605bd5b5d3e4f6fd6e545c8e (patch) | |
tree | 911b1da92dfdd7831b616c9b8fa8e9d8710b8fad /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | d13954de4de5d9a04380bb4105c13d7ae564255e (diff) | |
download | skyhanni-35b1a6a1b83a1504605bd5b5d3e4f6fd6e545c8e.tar.gz skyhanni-35b1a6a1b83a1504605bd5b5d3e4f6fd6e545c8e.tar.bz2 skyhanni-35b1a6a1b83a1504605bd5b5d3e4f6fd6e545c8e.zip |
Feature: "Not any pests" chat filter and "No pests!" title (#1957)
Co-authored-by: Cal <cwolfson58@gmail.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/chat/FilterTypesConfig.java | 6 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/chat/FilterTypesConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/chat/FilterTypesConfig.java index 0187af82e..8898ab68a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/chat/FilterTypesConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/chat/FilterTypesConfig.java @@ -106,6 +106,12 @@ public class FilterTypesConfig { public boolean sacrifice = false; @Expose + @ConfigOption(name = "Garden Pest", desc = "Hide the message of no pests on garden.") + @ConfigEditorBoolean + @FeatureToggle + public boolean gardenNoPest = false; + + @Expose @ConfigOption(name = "Block Alpha Achievements", desc = "Hide achievement messages while on the Alpha network.") @ConfigEditorBoolean @FeatureToggle diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java index 20f840084..587bfa73f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java @@ -79,6 +79,11 @@ public class PestFinderConfig { public Position position = new Position(-350, 200, 1.3f); @Expose + @ConfigOption(name = "No Pests Title", desc = "Show a Title in case of No pests. Useful if you are using the §eGarden Pest Chat Filter") + @ConfigEditorBoolean + public boolean noPestTitle = false; + + @Expose @ConfigOption(name = "Teleport Hotkey", desc = "Press this key to warp to the nearest plot with pests on it.") @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE) public int teleportHotkey = Keyboard.KEY_NONE; |