

Features
1. Sleeping players are displayed over the hotbar
2. Change how many players have to sleep to skip the night in the config --> Default = 1
3. Configure a lot of sleep related things with the config
4. With my Sleep Anytime You Want datapack/mod, you can sleep during any time of the day
5. Compatible with my AFK Announcer datapack/mod so players that are afk do not need to sleep to skip the night (you can change that with the config)
Showcase


Config
Run:
/trigger sleep.config
For the tick accelerate setting you have to set function-permission-level to 3
Config for 1.20.1:
Sleep Notifications
Control when you receive notifications about sleep:
/trigger sleep_notification set <value>
Where <value> can be:
0= Disabled (default)1= Chat notification2= Sound notification3= Chat + sound notification
Required Players for Sleep
Set how many players need to sleep to activate the night skip:
/scoreboard players set &amount_to_sleep sleep.config <value>
Where <value> is the number of players required (default = 1)
Sleep Mode
Choose between night skip and time warp modes:
/scoreboard players set &time_control sleep.config <value>
Where <value> can be:
0= Night skip (default)1= Time warp
Night Duration
Control how long a night should take:
/scoreboard players set &time_until_skip sleep.config <value>
Where <value> can be:
1= 2 seconds2= 5 seconds (default)3= 10 seconds
Uninstallation
To remove the datapack completely:
/function sleep:uninstall
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
|
R
[1.21]
|
22h ago | 1 | |||
|
R
[1.21]
|
22h ago | 1 | |||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 |
- .toml fix
- .toml fix
- 26.3 Update
- 26.3 Update
- 26.2 Update
- Fixed time warp not working as expected
- 26.2 Update
- Fixed time warp not working as expected
- Fixed issue with afk announcer compatibility
- Fixed issue with afk announcer compatibility
- Updated to use new daytime query format (26.1)
- Updated to use new daytime query format (26.1)
- initial value set fix
- config fix
- initial value set fix
- config fix
- Full library support
- Translations
- Full library support
- Translations
- Readme & Version tag changed
- Readme & Version tag changed
- Fixed wake up time not being at 6AM (daytime 0)
- Fixed wake up time not being at 6AM (daytime 0)
- Fixed percentage setting not working as expected
- Added support for the Sleep Anytime You Want datapack
- Fixed percentage setting not working as expected
- Added support for the Sleep Anytime You Want datapack
- Hotfix for config not saveable
- Hotfix for config not saveable
- Hotfix for /trigger sleep.config not working
- Hotfix for /trigger sleep.config not working
- Made Notification and actionbar options global and not per player
- Made Notification and actionbar options global and not per player
- Fixed gamerule syntax in uninstall function
- Fixed gamerule syntax in uninstall function


