Sleep icon

Sleep

Change the amount of players to skip the night - Simple way to customize sleep! [sleep warp, displays sleeping players & more]

Minecraft datapack by Jodek

Downloads
281,284
Minecraft
Java 1.19 - 26.3
Updated
November 4, 2026
License
MIT License

Available as: Datapack, Fabric mod, Forge mod, NeoForge mod, Quilt mod, Paper plugin, Purpur plugin

minecraft sleep datapack

jodeks datapacks - datapacks discord   datapacks jodek youtube   armor stand arms minecraft datapack codeberg issues   jodeks datapacks kofi - jodek kofi - minecraft datapack kofi donation

sleep skip night change amount of players to skip night minecraft sleeping

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

One player is sleeping

2 players are sleeping

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 notification
  • 2 = Sound notification
  • 3 = 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 seconds
  • 2 = 5 seconds (default)
  • 3 = 10 seconds

Uninstallation

To remove the datapack completely:

/function sleep:uninstall

 

jodek datapack suggestions

 

General questions

Which Minecraft versions does Sleep support?
Sleep supports Minecraft Java Edition 1.19 - 26.3. It does not work on Bedrock Edition.
Do I need Fabric or Forge for Sleep?
No. Sleep is a datapack, so it works in vanilla Minecraft without any mod loader. If you prefer, it is also available as a mod for Fabric, Forge, NeoForge and Quilt and a plugin for Paper and Purpur.
Does Sleep work on servers and in multiplayer?
Yes. Datapacks run on the server, so it works in singleplayer, on multiplayer servers and in LAN worlds. Players do not need to install anything.
How do I install the Sleep datapack?
Download the datapack zip from Modrinth or CurseForge, put it into the datapacks folder of your world (saves/<world>/datapacks), then run /reload or restart the world. For a new world, you can also add it on the Data Packs screen while creating the world.
Is Sleep free?
Yes. Sleep is free and open source under the MIT License. The source code is on Codeberg.

More datapacks by Jodek

Pick & download datapacks →

Have an idea for another datapack? Suggest a datapack