From 35b1a6a1b83a1504605bd5b5d3e4f6fd6e545c8e Mon Sep 17 00:00:00 2001 From: saga <45262877+saga-00@users.noreply.github.com> Date: Mon, 26 Aug 2024 06:08:12 -0300 Subject: Feature: "Not any pests" chat filter and "No pests!" title (#1957) Co-authored-by: Cal Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../hannibal2/skyhanni/config/features/chat/FilterTypesConfig.java | 6 ++++++ .../skyhanni/config/features/garden/pests/PestFinderConfig.java | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') 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 @@ -105,6 +105,12 @@ public class FilterTypesConfig { @FeatureToggle 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 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 @@ -78,6 +78,11 @@ public class PestFinderConfig { @ConfigLink(owner = PestFinderConfig.class, field = "showDisplay") 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) -- cgit