diff options
| author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-07-04 20:17:58 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-04 12:17:58 +0200 |
| commit | 1a38f3d79d6cdbe90455191712fa71f0ac1aa7e6 (patch) | |
| tree | 5bbfc980878605a322965e84e4e17f1ce511059c /src/main/java/at/hannibal2/skyhanni/config | |
| parent | a8b5f0c4aaa918e4264beaa2c3295d25ef3b71ec (diff) | |
| download | skyhanni-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.java | 23 |
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; |
