Sleep Schedule
This mod adds five new gamerules to allow servers to dynamically change player sleep restrictions at a moments notice.
- allowSleeping — Determines whether players are allowed to sleep regardless of time of day (default: true)
- minSleepTime — Earliest point at which players may sleep. (range: 0 – 24000 ,default: 12523)
- maxSleepTime — Latest point at which player may sleep. (range 0 – 24000, default: 23477)
- Note: if maxSleepTime is less than minSleepTime, maxSleepTime will refer to the next day.
- sleepDuringThunderstorm — Determines whether players are allowed to sleep during thunderstorms regardless of time of day. (default: true)
- wakeUpTime — Time that is skipped to once a player finishes sleeping. (range: 0 – 24000, default: 0)
Unlike most mods, Sleep Schedule stores its data in gamerules instead of configs. This means that users and developers can use basic commands to alter gameplay experience and don't have to reload the game afterwards.

