One PlayerSleep

One PlayerSleep

The One Player Sleep mod enhances sleep management on multiplayer servers by allowing players to easily change the percentage of players required to sleep simultaneously to skip the night.

by
30.6K Downloads
fabricgame-mechanicsoptimizationutility
Rent Server with this Mod

About this Mod

One PlayerSleep

The One PlayerSleep mod enhances sleep management on multiplayer servers by allowing players to easily change the percentage of players required to sleep simultaneously to skip the night. This mod is especially useful for servers with many players, where it can be challenging for everyone to sleep at the same time. With this mod, just one player or a configurable percentage of players can sleep to transition from night to day.

Basic Setup

  1. Install the mod on your server
  2. Use /sleep percentage 25 to require only 25% of players to sleep
  3. Players can now sleep to skip the night with fewer participants

Advanced Configuration

/sleep percentage 10    # Only 10% of players need to sleep
/sleep nether on        # Allow sleep in Nether
/sleep messages off     # Disable sleep messages
/sleep reload           # Reload configuration from file
/sleep cooldown clear   # Clear all sleep cooldowns

How It Works

  1. Night Detection: The mod monitors when it's night time in the world
  2. Player Counting: Counts the total number of players and sleeping players
  3. Percentage Calculation: Calculates required sleepers based on configuration
  4. Cooldown Check: Prevents rapid sleep/wake cycles with configurable cooldowns
  5. Sleep Trigger: When enough players sleep, the night is skipped to day
  6. Auto Wake-up: All sleeping players are automatically woken up
  7. Performance Optimized: Only checks every 20 ticks (1 second) for better performance

This mod provides a simple but powerful way to improve the quality of life on multiplayer servers by reducing the hassle of coordinating sleep.

Available Versions

One PlayerSleep 1.0.0release
MC 1.21, 1.21.1fabric
September 24, 2024

How to Install One PlayerSleep on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).

3

Install Mod

Open the mod browser in the dashboard and search for "One PlayerSleep". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.8, 1.21.7, 1.21.6 (+6 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

One PlayerSleep server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.

Is One PlayerSleep compatible with fabric?

One PlayerSleep officially supports fabric for Minecraft 1.21.8, 1.21.7, 1.21.6. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with One PlayerSleep – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if One PlayerSleep consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install One PlayerSleep with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.81.21.71.21.61.21.51.21.41.21.31.21.21.21.11.21