aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java9
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java14
2 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java
index 96386bf76..773fe7fcf 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java
@@ -130,6 +130,15 @@ public class ChocolateFactoryConfig {
public Position hoppityStatsPosition = new Position(163, 160, false, true);
@Expose
+ @ConfigOption(name = "Leaderboard Change",
+ desc = "Show the change of your chocolate leaderboard over time in chat. " +
+ "This updates every time you first open the /cf menu on a new server."
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean leaderboardChange = false;
+
+ @Expose
@ConfigOption(name = "Hoppity Menu Shortcut", desc = "Add a Chocolate Factory button in the SkyBlock Menu that runs /chocolatefactory on click.")
@ConfigEditorBoolean
@FeatureToggle
diff --git a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
index 472f1e8af..ba60712e9 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
@@ -94,6 +94,20 @@ public class ProfileSpecificStorage {
@Expose
public long lastDataSave = 0;
+
+ @Expose
+ public PositionChange positionChange = new PositionChange();
+
+ public static class PositionChange {
+ @Expose
+ public Long lastTime = null;
+
+ @Expose
+ public int lastPosition = -1;
+
+ @Expose
+ public String lastLeaderboard = null;
+ }
}
@Expose