Skip to content

OnlySleep

Skip the night with just one player sleeping or configure it your way.

FabricPaperPurpurSpigot
Loaders
FabricPaperPurpurSpigot
Downloads on Modrinth
3.8K
Followers on Modrinth
8
versions
13
Updated
October 18, 2026Oct 18
Published
in 2026

At a glance

Runs on Fabric, Paper, Purpur and Spigot
For Minecraft 1.16–26.3
Latest version — 1.4.4 from October 18, 2026
Requires Fabric API
License MIT — free
Where it's needed
In gameunknownOn serverunknown

The author didn't say where the mod is needed

Game versions1.16–26.3

Onlysleep

Onlysleep

One player sleeps. Everyone wakes up.

Onlysleep lets your server skip the night without waiting for every player to find a bed. One sleeper is enough by default, but you can require any percentage from 0 to 100. Install the JAR, restart the server, and the default configuration is ready to use.


Features

  • One-player sleep by default, with configurable percentage thresholds
  • Separate sleep counts for each world
  • Independent controls for clearing rain and thunder
  • Boss bar, action bar, title, and progress-bar feedback
  • Configurable sounds for bed entry and successful night skips
  • Built-in AFK tracking, plus EssentialsX and CMI support
  • Filters for spectators, creative players, flying players, game modes, and exempt permissions
  • Automatic handling of the playersSleepingPercentage gamerule
  • PlaceholderAPI support for sleep, world, and status data
  • Optional update checks and anonymous bStats metrics

Installation

Installation Steps

Requirements: Minecraft 26.3 and Java 25 or newer. Onlysleep works on its own; PlaceholderAPI is optional.


Commands

Commands Preview

Aliases: /os, /sleep


Permissions

PermissionDefaultDescription
onlysleep.*OPAll permissions
onlysleep.commandEveryoneUse commands
onlysleep.infoOPView plugin info
onlysleep.reloadOPReload config
onlysleep.statusOPView status
onlysleep.exemptNoneExcluded from sleep (operators sleep by default)
onlysleep.updateOPUpdate alerts

Configuration

You can use the defaults as-is. The main setting is sleep-percentage in config.yml:

  • 0 = one player sleeps, everyone wakes up
  • 50 = half the server needs to be in bed
  • 100 = everyone has to sleep

Set per-world-sleep: false if you want global counting across all worlds.

See config.yml for every option and messages.yml for message customization.


PlaceholderAPI

PlaceholderAPI Preview

If you have PlaceholderAPI installed, these placeholders are available:

PlaceholderDescription
%onlysleep_sleeping%Sleeping players in the player's world
%onlysleep_required%Players needed to skip the night
%onlysleep_percentage%Configured sleep percentage
%onlysleep_total%Total eligible players in the world
%onlysleep_progress%% of required sleepers achieved (0-100)
%onlysleep_progress_bar%Visual progress bar
%onlysleep_sleeping_names%Names of sleeping players
%onlysleep_status%"Sleeping" or "Awake"
%onlysleep_is_sleeping%true/false
%onlysleep_is_night%true/false if it's night
%onlysleep_is_sleepable%true/false if night/storm
%onlysleep_skipping%true/false if a skip is scheduled
%onlysleep_enabled%true/false if sleeping is enabled in the world
%onlysleep_afk%true/false if the player is AFK
%onlysleep_version%Plugin version
%onlysleep_platform%Server platform (Folia/Paper/Spigot/Bukkit)
`%onlysleep_world_sleeping_%`Sleeping count in a specific world
`%onlysleep_world_required_%`Required count in a specific world
`%onlysleep_world_total_%`Total eligible in a specific world

Building

git clone https://github.com/DemonZ-Development/Onlysleep.git
cd Onlysleep
./gradlew clean build

The compiled JAR is in build/libs/.

bStats

bStats

Onlysleep uses bStats for anonymous usage metrics. You can opt out in plugins/bStats/config.yml.

Links


Sponsored By


Server hosting for this project is sponsored by Nexeu Hosting.

FAQ

How to install OnlySleep?

Install Fabric for your Minecraft version, download OnlySleep for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does OnlySleep support?

OnlySleep has builds for Minecraft 1.16–26.3.

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More