aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-11-18 10:38:42 +1100
committerGitHub <noreply@github.com>2023-11-18 00:38:42 +0100
commitade5b675c2c4bb703a0698c016a1f833d20247d9 (patch)
tree66f7861e158c80b48ea823e597e6fb6716f44d31 /src/main/java/at/hannibal2/skyhanni/config/features
parent0dbe01932333c89ed1e6ae19f0cb950e09315a63 (diff)
downloadskyhanni-ade5b675c2c4bb703a0698c016a1f833d20247d9.tar.gz
skyhanni-ade5b675c2c4bb703a0698c016a1f833d20247d9.tar.bz2
skyhanni-ade5b675c2c4bb703a0698c016a1f833d20247d9.zip
add log clearing (#698)
Add log clearing. #698
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/dev/DevConfig.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dev/DevConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dev/DevConfig.java
index 7c5282cf4..0c1fc01ed 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/dev/DevConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/dev/DevConfig.java
@@ -7,6 +7,7 @@ import io.github.moulberry.moulconfig.annotations.Accordion;
import io.github.moulberry.moulconfig.annotations.Category;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;
@@ -19,6 +20,11 @@ public class DevConfig {
public boolean repoAutoUpdate = true;
@Expose
+ @ConfigOption(name = "Log Expiry Time", desc = "Deletes your SkyHanni logs after this time period in days.")
+ @ConfigEditorSlider(minValue = 1, maxValue = 30, minStep = 1)
+ public int logExpiryTime = 14;
+
+ @Expose
@ConfigOption(name = "Debug", desc = "")
@Accordion
public DebugConfig debug = new DebugConfig();