add options to disable beds during night/thunder

This commit is contained in:
Jack
2024-06-23 17:58:02 -04:00
parent b5a212d4ef
commit e623611301
3 changed files with 75 additions and 2 deletions

View File

@@ -8,6 +8,12 @@ SyncTime: false
# Set to false to enable the /time set command (not recommended) #
BlockTimeSetCommand: true
# #
# Prevent players from sleeping in beds at night (they will still be able to set their spawn point) #
# If you disable this, strange things could happen #
DisableBedsAtNight: true
# The message sent to players when they try to sleep at night when beds are disabled #
DisableBedsAtNightMessage: ''
# #
# You can change the time between time syncs from the default (5 seconds) below #
TimeSyncInterval: 100
# #
@@ -25,6 +31,12 @@ SyncWeather: false
# Set to false to enable the /weather command (not recommended) #
BlockWeatherCommand: true
# #
# Prevent players from sleeping in beds during a thunderstorm (they will still be able to set their spawn point) #
# If you disable this, it could break weather syncing #
DisableBedsDuringThunder: true
# The message sent to players when they try to sleep during a thunderstorm when beds are disabled #
DisableBedsDuringThunderMessage: ''
# #
# You can change the time between weather syncs from the default (5 minutes) below #
# Due to OpenWeather's restrictions, setting this value below 2400 (2 minutes) will cause problems #
# You can find a handy tick calculator here: https://mapmaking.fr/tick/ #