
Modrinth · Minecraft mod
OnlySleep
Skip the night with just one player sleeping — or configure it your way.
Quick answer
Which OnlySleep release should I use?
OnlySleep 1.4.1 targets 26.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is OnlySleep required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does OnlySleep 1.4.1 need?
1.4.1. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add OnlySleep without breaking your instance.
Built for OnlySleep 1.4.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.4.1. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.4.1. It opens that exact file at the source.
About this project
What does OnlySleep add?

Onlysleep
One player sleeps. Everyone wakes up.
No complicated setup. No wall of config. Drop the JAR in, restart, and players can actually skip the night for once.

- One-player sleep by default, or any percentage you want
- Per-world sleep (each world tracks separately)
- Weather skip: clear rain and thunder independently
- Boss bar, action bar, progress bar, and title support
- Sounds when someone starts sleeping and when night is skipped
- AFK detection (built-in, plus EssentialsX and CMI)
- Filters out spectators, creative, flying, and exempt players
- Automatic gamerule management for
playersSleepingPercentage - PlaceholderAPI: 12+ placeholders
- Update checker and bStats (opt-out available)


Requirements: Minecraft 1.16–26.2 and Java 21+. Paper 26.1+ requires Java 25. Works on its own. PlaceholderAPI is optional.


Aliases: /os, /sleep

| Permission | Default | Description |
|---|---|---|
onlysleep.* |
OP | All permissions |
onlysleep.command |
Everyone | Use commands |
onlysleep.info |
OP | View plugin info |
onlysleep.reload |
OP | Reload config |
onlysleep.status |
OP | View status |
onlysleep.exempt |
None | Excluded from sleep (operators sleep by default) |
onlysleep.update |
OP | Update alerts |

Defaults work fine. The main knob is sleep-percentage in config.yml:
0= one player sleeps, everyone wakes up50= half the server needs to be in bed100= 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.


If you have PlaceholderAPI installed, these placeholders are available:
| Placeholder | Description |
|---|---|
%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_<world>% |
Sleeping count in a specific world |
%onlysleep_world_required_<world>% |
Required count in a specific world |
%onlysleep_world_total_<world>% |
Total eligible in a specific world |
bStats
Anonymous stats only. No personal data. Opt out in plugins/bStats/config.yml.
Links
Sponsored By
Looking for high-performance, budget-friendly game server hosting? Check out Nexeu Hosting!
Project description from Modrinth.
Pick your setup
OnlySleep by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
2 loader builds26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader buildShowing the newest 12 of 39 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
OnlySleep versions and loaders
1.4.1
Onlysleep-Fabric-1.4.1.jar
4 Sept 2026
1.4.1
Onlysleep-1.4.1.jar
30 Aug 2026
1.4.0
Onlysleep-1.4.0.jar
30 Aug 2026
1.3.0
Onlysleep-1.3.0.jar
12 Jul 2026
1.2.0
Onlysleep-1.2.0.jar
21 May 2026
1.1.0
Onlysleep-1.1.0.jar
21 May 2026
1.0.0
Onlysleep-1.0.0.jar
18 May 2026
Looking for an older file? The official Modrinth project page is in Resources.