Modrinth · Fabric, Forge, NeoForge, Quilt

Sleep on your Minecraft server

Sleep runs on Minecraft servers with Fabric or Forge or NeoForge or Quilt. Order your server, set the loader in the panel and install the mod with one click in the mod browser.

One player sleep by default, or set how many players must sleep to skip the night. Shows who is sleeping above the hotbar

Downloads
288.5K
Author
Jodek
Loader
Fabric, Forge, NeoForge, Quilt
Minecraft
1.19 – 26.3
Updated
–

Screenshots

What Sleep looks like

All 4 images on Modrinth

Images: Sleep on Modrinth, published by the project team.

Setup

Install Sleep on your server

The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.

  1. 01

    Configure

    4 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.

  2. 02

    Set the loader

    In the panel, set the server software to Fabric or Forge or NeoForge or Quilt and choose the matching Minecraft version, for example 26.3.

  3. 03

    Install the mod

    Search the mod browser for “Sleep” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.

  4. 04

    Connect

    Sleep is optional on the client. Players connect using the server address from the panel.

On the server
Required
On the client
Optional
Loader
Fabric, Forge, NeoForge, Quilt
Minecraft
26.3, 26.2, 26.1.2 +23 more
License
MIT License

The panel

Install mods, find errors.

Real screenshots from the Mado panel. Both come with every Minecraft server.

Mod browser

Modrinth and CurseForge, right in the panel.

The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

Browser in the Mado panel with search, a CurseForge or Modrinth source switch and install buttons.

AI crash analysis

When a mod crashes, the analyzer reads the log.

Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Optimization page in the Mado panel with the AI Log Analyzer enabled and a “Server Crashed” notice with an “Analyze Now” button.

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

Sleep · Modrinth
Original description by the project author

Sleep

Join Jodek's Datapacks on Discord    Jodek on YouTube    Report a bug or issue on Codeberg    Support Jodek on Ko-fi

Time warps while player is 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](https://modrinth.com/datapack/sleep-anytime-you-want) datapack/mod, you can sleep during any time of the day

5. Compatible with my [AFK Announcer](https://modrinth.com/datapack/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

"(Player name) is sleeping" above hotbar when a player is sleeping

"(Player name) and (Player name) is sleeping" above hotbar when a player is 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

 

Suggest a new datapack idea

 

FAQ

Sleep questions

Question not listed? Ask our team.

Sleep server crashes on startup – what to do?

Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.

Which loader does Sleep run on?

According to Modrinth, Sleep supports Fabric, Forge, NeoForge, Quilt for Minecraft 26.3, 26.2, 26.1.2. Forge and Fabric files are not interchangeable: pick one loader for the server and clients.

How much RAM does a server with Sleep need?

As guidance, 3–4 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.

Ready for your server with Sleep?

4 GB of RAM from €8.00 per month. 35% off your first month with MADO35.

Order server