diff --git a/src/main/java/eu/m724/realweather/time/TimeConfig.java b/src/main/java/eu/m724/realweather/time/TimeConfig.java index f9b9980..af8eaaa 100644 --- a/src/main/java/eu/m724/realweather/time/TimeConfig.java +++ b/src/main/java/eu/m724/realweather/time/TimeConfig.java @@ -7,6 +7,7 @@ public class TimeConfig { // state is per player public boolean dynamic; + public boolean twilight; // x day cycles in 1 irl day public double scale; @@ -16,6 +17,7 @@ public class TimeConfig { timeConfig.enabled = configuration.getBoolean("enabled"); timeConfig.dynamic = configuration.getBoolean("dynamic"); + timeConfig.twilight = configuration.getBoolean("twilight"); timeConfig.scale = configuration.getDouble("scale"); return timeConfig; diff --git a/src/main/resources/modules/time.yml b/src/main/resources/modules/time.yml index a6493f9..8840092 100644 --- a/src/main/resources/modules/time.yml +++ b/src/main/resources/modules/time.yml @@ -14,6 +14,12 @@ enabled: false # Settings for both are in map.yml dynamic: true +# Synchronize sunrise and sunset, make day and night slower or faster accordingly +# Accuracy is up to a few minutes +# ...unless you live on one of the Poles, in which case it will be up to a few hours or just broken +# Developers wanted for that: https://git.m724.eu/Minecon724/wtapi/issues/2 +twilight: true + # x in game day cycles in 1 irl day cycle # Time will no longer be in sync # Can be decimal