summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-20 11:48:35 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-20 11:48:35 +0100
commit1279308d07da76fba65a2a0508bcc9b115a0ee81 (patch)
tree9e2f58606a515997a18c5f2e997c6e3b2b4552a1 /src/main/java/at/hannibal2/skyhanni/config
parent060d521dfc1358ce36179a1df9b4397d04fe4f3a (diff)
downloadskyhanni-1279308d07da76fba65a2a0508bcc9b115a0ee81.tar.gz
skyhanni-1279308d07da76fba65a2a0508bcc9b115a0ee81.tar.bz2
skyhanni-1279308d07da76fba65a2a0508bcc9b115a0ee81.zip
Added option to Hide Cheap Items in Slayer, Fishing and Diana Item Profit Trackers.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java
index 307395a7a..643ce637b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java
@@ -96,4 +96,28 @@ public class TrackerConfig {
@ConfigEditorSlider(minValue = 1, maxValue = 50_000_000, minStep = 1)
public int minimumTitle = 5_000_000;
}
+
+ @Expose
+ @ConfigOption(name = "Hide Cheap Items", desc = "Hide cheap items.")
+ @Accordion
+ public HideCheapItemsConfig hideCheapItems = new HideCheapItemsConfig();
+
+ public static class HideCheapItemsConfig {
+
+ @Expose
+ @ConfigOption(name = "Enabled", desc = "Limit how many items should be shown.")
+ @ConfigEditorBoolean
+ public Property<Boolean> enabled = Property.of(true);
+
+ @Expose
+ @ConfigOption(name = "Show Expensive #", desc = "Always show the # most expensive items.")
+ @ConfigEditorSlider(minValue = 1, maxValue = 40, minStep = 1)
+ public Property<Integer> alwaysShowBest = Property.of(8);
+
+ @Expose
+ @ConfigOption(name = "Still Show Above", desc = "Always show items above this §6price in 1k §7even when not in the top # of items.")
+ @ConfigEditorSlider(minValue = 5, maxValue = 500, minStep = 5)
+ public Property<Integer> minPrice = Property.of(100);
+
+ }
}