Skip the night with just one player sleeping — or configure it your way.
Onlysleep
One player sleeps. Everyone wakes up.
A lightweight sleep plugin that does its job and gets out of the way. No complicated setup, no wall of config you'll never touch. Drop the JAR in, restart, and your players can actually skip the night.
Features
- 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)
- Full Folia support with regionized scheduler
Commands
/onlysleep- Show help/onlysleep help- Show help page/onlysleep reload- Reload configuration/onlysleep info- Show plugin information/onlysleep status- Show detailed plugin status
Aliases: /os, /sleep
Permissions
| 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 |
Installation
- Download the JAR.
- Drop it into your
plugins/folder. - Restart your server.
- Edit
plugins/Onlysleep/config.ymlif you want to tweak anything. - Apply changes with
/onlysleep reload.
Requirements: Minecraft 1.20.4–26.2 and Java 21+. Paper 26.1+ requires Java 25. Works standalone. PlaceholderAPI is optional.
Configuration
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.
bStats
Anonymous stats only. No personal data. Opt out in plugins/bStats/config.yml.
Links
Modrinth | GitHub | Issues | Discord | Website | Twitter / X | YouTube | Instagram | Reddit | [email protected]
Sponsors
Information
Pinned Versions
- R1.16–26.1.2
Pages
Members
1Owner