From d3e11684c9efb0635f5199183f9b97ff748c54be Mon Sep 17 00:00:00 2001 From: "Erymanthus[#5074] | (u/)RayDeeUx" <51521765+RayDeeUx@users.noreply.github.com> Date: Thu, 2 Nov 2023 18:29:05 -0400 Subject: Feature(s): Add scoreboard as data source + sunmoon (#576) In-Game Date: Adds support for reading the in-game scoreboard, and also allow sun/moon symbol customization. #576 --- .../skyhanni/config/features/GUIConfig.java | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/GUIConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/GUIConfig.java index d7fd4625d..177c0b3ce 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/GUIConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/GUIConfig.java @@ -115,17 +115,35 @@ public class GUIConfig { @Expose public Position position = new Position(10, 10, false, true); + @Expose + @ConfigOption( + name = "Use Scoreboard for Date", + desc = "Uses the scoreboard instead to find the current month, date, and time. Greater \"accuracy\", depending on who's asking." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean useScoreboard = true; + + @Expose + @ConfigOption( + name = "Show Sun/Moon", + desc = "Show the sun or moon symbol seen on the scoreboard." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean includeSunMoon = true; + @Expose @ConfigOption( name = "Refresh Rate", - desc = "Change the time in seconds you would like to refresh the In-Game Date Display." + desc = "Change the time in seconds you would like to refresh the In-Game Date Display.\n§eNOTE: If \"Use Scoreboard for Date\" is enabled, this setting is ignored." ) @ConfigEditorSlider( minValue = 1, maxValue = 60, minStep = 1 ) - public int RefreshSeconds = 10; + public int refreshSeconds = 30; } -- cgit