summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-07-04 20:17:58 +1000
committerGitHub <noreply@github.com>2023-07-04 12:17:58 +0200
commit1a38f3d79d6cdbe90455191712fa71f0ac1aa7e6 (patch)
tree5bbfc980878605a322965e84e4e17f1ce511059c /src/main/java/at/hannibal2/skyhanni/config
parenta8b5f0c4aaa918e4264beaa2c3295d25ef3b71ec (diff)
downloadskyhanni-1a38f3d79d6cdbe90455191712fa71f0ac1aa7e6.tar.gz
skyhanni-1a38f3d79d6cdbe90455191712fa71f0ac1aa7e6.tar.bz2
skyhanni-1a38f3d79d6cdbe90455191712fa71f0ac1aa7e6.zip
Merge pull request #284
* custom text box * grammar * renamed thing * may as well fix this here as well
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Misc.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
index 497190529..4e69a2c92 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java
@@ -553,6 +553,29 @@ public class Misc {
}
@Expose
+ @ConfigOption(name = "Custom Text box", desc = "")
+ @Accordion
+ public TextBox textBox = new TextBox();
+
+ public static class TextBox {
+
+ @Expose
+ @ConfigOption(name = "Enabled", desc = "Enables showing the textbox while in SkyBlock.")
+ @ConfigEditorBoolean
+ public boolean enabled = false;
+
+ @Expose
+ @ConfigOption(name = "Text", desc = "Enter text you want to display here.\n" +
+ "§eUse '&' as the colour code character.\n" +
+ "§eUse '\\n' as the line break character.")
+ @ConfigEditorText
+ public Property<String> text = Property.of("&aYour Text Here\n&bYour new line here");
+
+ @Expose
+ public Position position = new Position(10, 80, false, true);
+ }
+
+ @Expose
@ConfigOption(name = "Exp Bottles", desc = "Hides all the experience orbs lying on the ground.")
@ConfigEditorBoolean
public boolean hideExpBottles = false;