SleepRatio icon

SleepRatio -----

The customizable, multi-world sleep percentage plugin for modern Minecraft servers!



Tired of vanilla Minecraft’s “everyone must sleep” rule?
Want more control over how many players must sleep to skip the night—even per world?
SleepRatio is the lightweight, easy-to-use plugin that lets you set the sleep threshold in percentages for every world on your server!

✨ Features
  • Set required sleep percent per world:
    Want 50% of overworld players to sleep, but only 20% in the nether? No problem!

  • Command-based configuration:
    /setSleep <percent> [world] — set the threshold in a snap, with optional world support.

  • Permissions:
    Only authorized users can change the settings.

  • Persistent config:
    All values are stored in config.yml and survive server restarts.

  • Zero lag:
    No scheduled repeating tasks, only reacts when someone gets in or out of bed.

  • Full 1.17–1.20+ support!
Commands & Permissions

/setSleep <percent> [world] - sleepratio.set
  • If [world] is omitted, the command targets your current world (if run as a player).

  • Console must specify the world name.
⚙️ Configuration

A typical config.yml looks like:

Code (Text):
percentages:
  world: 50.0
  world_nether: 20.0
default-percent: 100.0
 
  • percentages: Maps world names to their required sleep percent.

  • default-percent: Used for worlds not listed.
️ How Does It Work?
  • When players enter beds, the plugin counts the number of sleeping and online players in their world.

  • If enough players (by percentage) are sleeping, the night is skipped, the storm is cleared, and everyone is notified with a message.
Why SleepRatio?
  • Modern, lightweight, and actively maintained

  • Multi-world support out of the box

  • No unnecessary bloat or dependencies
Resource Information
Author:
----------
Total Downloads: 28
First Release: Jul 20, 2025
Last Update: Jul 20, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings