Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Skip the night without everyone having to sleep, with a display showing who's sleeping
Features
Shows whos sleeping above the hotbar
A fixed number of players (default 1) or a percentage of players has to sleep
Night Skip (night ends instantly, like vanilla) and Time Warp (time visibly speeds up)
Optional tick accelerate during Night Warp (lets crops grow and furnaces smelt faster)
AFK Players can be ignored (with AFK Announcer)
Players not in the Overworld can be ignored
Config
Run:
/trigger sleep.config
| Setting | Options | Default |
|---|---|---|
| Skip condition | Amount of players / Percentage | Amount |
| Players required | 1–100 | 1 |
| Percentage required | 0–100 % | 50 % |
| Time control | Night Skip / Night Warp | Night Skip |
| Time until skip | 1–100 s | 5 s |
| Tick accelerate | On / Off | Off |
| AFK players don't need to sleep | On / Off | Off |
| Players in other dimensions don't need to sleep | On / Off | Off |
For the tick accelerate setting you have to set function-permission-level to 3
Showcase
Shows whos sleeping above the hotbar
Compatible Projects
Config for 1.21.1
Change a value with this command:
/data modify storage sleep:root data.<setting> set value <value>
whole numbers only
| Setting | Storage key | Values | Default |
|---|---|---|---|
| Skip condition | percentage_mode |
0 = Amount of players, 1 = Percentage of players |
0 |
| Players required | amount_to_sleep |
1–100 |
1 |
| Percentage required | percentage_to_sleep |
0–100 (%) |
50 |
| Time control | time_control |
0 = Night Skip, 1 = Night Warp |
0 |
| Time until skip | time_until_skip |
1–100 (seconds) |
5 |
| Tick accelerate | tick_accelerate |
0 = Off, 1 = On |
0 |
| AFK players don't need to sleep | afk_players_sleep |
0 = Off, 1 = On |
0 |
| Players in other dimensions don't need to sleep | dimension_sleep |
0 = Off, 1 = On |
0 |
For the tick accelerate setting you have to set function-permission-level to 3
Show the current config:
/data get storage sleep:root data
Reset all settings to their defaults:
/function sleep:config/reset_config
Config for 1.20.1
Night Warp and Tick accelerate are not available in 1.20.1, the night is always skipped instantly (Night Skip)
Change a value with this command:
/data modify storage sleep:root data.<setting> set value <value>
whole numbers only
| Setting | Storage key | Values | Default |
|---|---|---|---|
| Skip condition | percentage_mode |
0 = Amount of players, 1 = Percentage of players |
0 |
| Players required | amount_to_sleep |
1–100 |
1 |
| Percentage required | percentage_to_sleep |
0–100 (%) |
50 |
| Time until skip | time_until_skip |
1–100 (seconds) |
5 |
| AFK players don't need to sleep | afk_players_sleep |
0 = Off, 1 = On |
0 |
| Players in other dimensions don't need to sleep | dimension_sleep |
0 = Off, 1 = On |
0 |
Show the current config:
/data get storage sleep:root data
Reset all settings to their defaults:
/function sleep:config/reset_config














