Source-checkedGameplay & overhauls

Sleep

by Jodek · for Minecraft

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

269KDownloads
36d agoLast updated
MITLicense
Data pack · Fabric +3Loaders

About Sleep

From Modrinth

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

minecraft datapack title...

jodeks discord - discord badge - pixel badge - pixel discord badge - 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

Guides

<picture> <source media="(prefers-color-scheme: light)" srcset="https://raw.codebergusercontent.com/Mqxx/codeberg-Markdown/main/blockquotes/badge/light-theme/tip.svg"> Tip </picture>

If something doesn't work, feel free to join the discord server

How to Install a Datapack in Singleplayer
At the Creation of a World

How to install a datapack in singleplayer

  1. Open Minecraft

Launch the game.

  1. Create a New World

Navigate to "More" and click on "Data Packs".

Minecraft Settings Image
  1. Add the Datapack

Drag the datapack (a .zip file or directory) into the Minecraft window.

  • A confirmation screen will appear. Click "Yes".
  1. Activate the Datapack

Move the datapack to the right-hand side of the screen by clicking the triangle on its icon (visible when hovering over it).

Minecraft Settings Image
  1. Complete World Creation
  • Click "Done" at the bottom of the screen.
  • Continue creating your world and click "Create New World".

⚠️ IMPORTANT ⚠️

The datapack only works if cheats are enabled.

You can verify the datapack is active by typing: /datapack list enabled

This command should list an entry named [file/<your datapack file/directory name>].

In an Existing World

How to Install a Datapack in an Existing Singleplayer World

  1. Open Minecraft

Launch the game.

  1. Select Your World
  • Choose the world you want to install the datapack for.
  • Click "Edit", then "Open World Folder".
  1. Add the Datapack
  • Open the folder named datapacks.
  • Place the datapack into this folder. It should be a .zip file or a directory.
  1. Reload the World
  • If you are in the world during installation, type /reload in the chat or press F3 + T to reload resources.

_(Make sure cheats are enabled.)_


⚠️ IMPORTANT ⚠️

The datapack only works if cheats are enabled.

You can verify the datapack is active by typing: /datapack list enabled

How to Enable Cheats Permanently After World Creation

If you encounter this issue, here is a step by step guide on how to enable Cheats/Admincommands permanently after you have already created a Minecraft world.

Read the full description on Modrinth →

Highlights

From source data

Game versions

Supports 26 Minecraft versions, the newest being 26.3.

Loaders

Runs on Data pack, Fabric, Forge, NeoForge and Quilt.

Footprint

Rated a light load on a server.

Sleep on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Data pack, Fabric, Forge, NeoForge, Quilt
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
v4.4.0.0+mod, released 2026-09-28

Game versions by loader

LoaderGame versionsNewest
Fabric1.21.6 to 26.3 (11 versions)26.3
Forge1.21.6 to 26.3 (11 versions)26.3
NeoForge1.21.6 to 26.3 (11 versions)26.3
Quilt1.21.6 to 26.3 (11 versions)26.3
Data pack26.326.3

From 5 recorded builds of Sleep.

Recent builds

BuildReleasedGame versionsLoaders
v4.4.0.0+mod2026-09-2826.3Fabric, Forge, NeoForge, Quilt
v4.4.0.02026-09-2826.3Data pack
v4.4.0+mod2026-09-2326.3Fabric, Forge, NeoForge, Quilt
v4.4.02026-09-2326.3Data pack
v4.3.18+mod2026-07-061.21.6 to 26.2 (10 versions)Fabric, Forge, NeoForge, Quilt

Run Sleep on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Runs on your server

From source side support

Modrinth lists Sleep as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Data packFabricForgeNeoForgeQuilt
Runs on
Serverrequired on the server
Game versions
26.3 and 25 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorJodek, as published on Modrinth
  • ✓LicenseMITFree

Sleep, answered

Generated from the mod’s own source data.

Do my players need to install Sleep?

Modrinth lists Sleep as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Data pack, Fabric, Forge, NeoForge and Quilt.

Is it free?

Yes. Sleep is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Sleep on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Sleep in one click.