Skip the night with just one player sleeping or configure it your way.
Onlysleep
One player sleeps. Everyone wakes up.
Onlysleep keeps night skipping simple. One player can skip the night by default, or you can choose the percentage that fits your server. Sleep is counted per world, so activity in one world does not affect another.
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
playersSleepingPercentagegamerule - PlaceholderAPI support for sleep, world, and status data
- Native Folia scheduling support
- Optional update checks and anonymous bStats metrics
Commands
/onlysleep- Show help/onlysleep help- Show help page/onlysleep reload- Reload configuration/onlysleep info- Show plugin information/onlysleep status- Show detailed plugin status/onlysleep update- Check for updates/onlysleep set|get|toggle- Manage configuration in game/onlysleep world|gamemode- Manage excluded worlds and game modes/onlysleep dump [paste]- Create a diagnostic dump
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 26.3 and Java 25 or newer. Onlysleep works on its own; PlaceholderAPI is optional.
Configuration
You can use the defaults as-is. The main setting 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
Onlysleep uses bStats for anonymous usage metrics. You can opt out in plugins/bStats/config.yml.
Links
Modrinth | GitHub | Issues | Discord | Website | Twitter / X | YouTube | Instagram | Reddit | [email protected]
Sponsors
Information
Pinned Versions
- R26.1–26.3
Pages
Members
1Owner