moved updateCheckInterval and Debug to top of config.yml
This commit is contained in:
@@ -72,7 +72,7 @@ public class ConfigManager {
|
||||
setWeatherEnabled(false);
|
||||
}
|
||||
|
||||
setUpdateCheckInterval(configFile.getLong("updateCheckInterval"));
|
||||
setUpdateCheckInterval(configFile.getLong("UpdateCheckInterval"));
|
||||
}
|
||||
|
||||
public boolean debugEnabled() {
|
||||
|
@@ -1,6 +1,21 @@
|
||||
# RealTimeWeather Configuration File (v1.4.0)
|
||||
# You can find detailed instructions at: https://github.com/Jack1424/RealTimeWeather/wiki#editing-the-configuration-file
|
||||
|
||||
######################################## Real Time Weather Settings ##################################################
|
||||
# By default, RealTimeWeather will check if an update is available every 24 hours (1734000 ticks) #
|
||||
# You can change the interval here (or set to 0 to disable update checks) #
|
||||
# If this is disabled, RealTimeWeather will still check for updates on startup #
|
||||
# You can find a handy tick calculator here: https://mapmaking.fr/tick/ #
|
||||
UpdateCheckInterval: 1734000
|
||||
#
|
||||
# Set to true for various console messages when time and weather sync are executed #
|
||||
# This is useful if the plugin is not working, and you want to find out what's wrong #
|
||||
# This will also provide error messages even when an error is caught and managed by RTM #
|
||||
# Note: There will be no messages during a time sync because they happen very frequently #
|
||||
# Note: Unhandled plugin errors will still be logged regardless of the debug value #
|
||||
Debug: false
|
||||
######################################################################################################################
|
||||
|
||||
################################# TIME SYNC SETTINGS #################################################################
|
||||
# Set to true to enable time syncing, or false to disable #
|
||||
# All time-related settings will be ignored if this is set to false #
|
||||
|
Reference in New Issue
Block a user