summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-11-02 22:20:32 +0100
committerGitHub <noreply@github.com>2023-11-02 22:20:32 +0100
commit7df75c9469bedda34ffce42273abc96f952f613a (patch)
treee8916f3a0964e65d28197ee1247916eec2b97a83 /src/main/java/at/hannibal2/skyhanni/config/features
parent2ce84766100584a5aaf516a2cbf0907585aaa07e (diff)
downloadskyhanni-7df75c9469bedda34ffce42273abc96f952f613a.tar.gz
skyhanni-7df75c9469bedda34ffce42273abc96f952f613a.tar.bz2
skyhanni-7df75c9469bedda34ffce42273abc96f952f613a.zip
Add visitor highlighter/blocker (#653)
Added Highlight Visitors in SkyBlock. Block Interacting with Visitors. #653
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
index d550d3f72..a5d9847ca 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
@@ -331,6 +331,41 @@ public class GardenConfig {
defaultKey = Keyboard.KEY_NONE
)
public int acceptHotkey = Keyboard.KEY_NONE;
+
+
+ @Expose
+ @ConfigOption(
+ name = "Highlight Visitors in SkyBlock",
+ desc = "Highlights Visitors outside of the Garden"
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean highlightVisitors = false;
+
+
+ @Expose
+ @ConfigOption(
+ name = "Block Interacting with Visitors",
+ desc = "Blocks you from interacting with / unlocking Visitors to allow for Dedication Cycling"
+ )
+ @ConfigEditorDropdown
+ public VisitorBlockBehaviour blockInteracting = VisitorBlockBehaviour.ONLY_ON_BINGO;
+
+ public enum VisitorBlockBehaviour {
+ DONT("Don't"), ALWAYS("Always"), ONLY_ON_BINGO("Only on Bingo");
+
+ final String str;
+
+ VisitorBlockBehaviour(String str) {
+ this.str = str;
+ }
+
+ @Override
+ public String toString() {
+ return str;
+ }
+ }
+
}
@Expose