diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
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 |