summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-08 14:58:29 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-08 14:58:29 +0200
commit79ca9b0494f88fed8030911fe994165a1c072f2f (patch)
tree6bc00efd9dfb24aa0d7205199802dce6c5d9820e /src/main/java/at/hannibal2/skyhanni/config
parent261e4012d6f7e129f7311f270147caddcc20a22a (diff)
downloadskyhanni-79ca9b0494f88fed8030911fe994165a1c072f2f.tar.gz
skyhanni-79ca9b0494f88fed8030911fe994165a1c072f2f.tar.bz2
skyhanni-79ca9b0494f88fed8030911fe994165a1c072f2f.zip
Added Kick Duration and Time In Limbo
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
index 9eaa1ec7c..afa2ea873 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
@@ -615,6 +615,37 @@ public class MiscConfig {
}
@Expose
+ @ConfigOption(name = "Kick Duration", desc = "")
+ @Accordion
+ public KickDurationConfig kickDuration = new KickDurationConfig();
+
+ public static class KickDurationConfig {
+
+ @Expose
+ @ConfigOption(
+ name = "Enabled",
+ desc = "Show in the Hypixel lobby since when you were last kicked from SkyBlock (" +
+ "useful if you get blocked because of '§cYou were kicked while joining that server!§7')."
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enabled = true;
+
+ @Expose
+ @ConfigOption(name = "Warn Time", desc = "Send warning and sound this seconds after a SkyBlock kick.")
+ @ConfigEditorSlider(
+ minValue = 5,
+ maxValue = 300,
+ minStep = 1
+ )
+ @ConfigAccordionId(id = 11)
+ public Property<Integer> warnTime = Property.of(60);
+
+ @Expose
+ public Position position = new Position(400, 200, 1.3f);
+ }
+
+ @Expose
@ConfigOption(name = "Exp Bottles", desc = "Hides all the experience orbs lying on the ground.")
@ConfigEditorBoolean
@FeatureToggle
@@ -718,5 +749,16 @@ public class MiscConfig {
public boolean fixNeuHeavyPearls = true;
@Expose
+ @ConfigOption(
+ name = "Time In Limbo",
+ desc = "Show the time since you entered the limbo.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean showTimeInLimbo = true;
+
+ @Expose
+ public Position showTimeInLimboPosition = new Position(400, 200, 1.3f);
+
+ @Expose
public Position inventoryLoadPos = new Position(394, 124, false, true);
}