# ================================================
# TIME RESTRICTIONS SETTINGS
# ================================================
# Whether the time restrictions system is enabled or not.
# Set this to "true" if you want redstone to be automatically disabled
# during certain hours to reduce server lag or manage server load.
# When this is set to "false," the feature will be turned off completely.
timeRestrictions:
enabled: false
# Start hour for the restriction period (24-hour format).
# For example:
# - If set to "22", restrictions will start at 22:00 (10:00 PM).
# - If set to "18", restrictions will start at 18:00 (6:00 PM).
# Make sure this is a whole number between 0 and 23.
startHour: 22
# End hour for the restriction period (24-hour format).
# For example:
# - If set to "6", restrictions will end at 06:00 (6:00 AM).
# - If set to "10", restrictions will end at 10:00 (10:00 AM).
# Make sure this is a whole number between 0 and 23.
# If the endHour is less than the startHour, the restriction will span
# across midnight (e.g., start at 22:00 and end at 06:00).
endHour: 6
# Notify players if redstone is blocked
notificationsEnabled: true
# Message sent to players who attempt to use redstone during restricted hours
notificationMessage: "&cRedstone is currently disabled during these hours. 22 PM to 6 AM redstone is disabled!"
# ================================================
# HOW IT WORKS
# ================================================
# When time restrictions are enabled, redstone activity will be blocked
# during the specified time period. Any redstone component (e.g., redstone
# wire, repeaters, pistons) will stop functioning until the restriction ends.
# This is useful for reducing server lag during peak hours or for enforcing
# downtime on automated contraptions that might cause performance issues.
#
# Note:
# - The time format is 24-hour. 0 = midnight, 12 = noon, 23 = 11:00 PM.
# - If enabled, this setting will affect all redstone components on the server.