aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorErymanthus[#5074] | (u/)RayDeeUx <51521765+RayDeeUx@users.noreply.github.com>2023-11-02 18:29:05 -0400
committerGitHub <noreply@github.com>2023-11-02 23:29:05 +0100
commitd3e11684c9efb0635f5199183f9b97ff748c54be (patch)
tree587168e150cf98898cbf1e6f51cdd68cc75175eb /src/main/java/at/hannibal2/skyhanni/config
parent5052aca0aada1d964117542b00220c2f200c6d74 (diff)
downloadskyhanni-d3e11684c9efb0635f5199183f9b97ff748c54be.tar.gz
skyhanni-d3e11684c9efb0635f5199183f9b97ff748c54be.tar.bz2
skyhanni-d3e11684c9efb0635f5199183f9b97ff748c54be.zip
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
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/GUIConfig.java22
1 files changed, 20 insertions, 2 deletions
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
@@ -117,15 +117,33 @@ public class GUIConfig {
@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;
}