Server Sleep Plugin
SpigotMCModrinthSkip the night when a custom % of players sleep and includes several extra, configurable options.
39 Downloads
neueste v2026-04-01 SpigotMC
ServerSleep
A lightweight, highly compatible Bukkit/Spigot/Paper plugin that lets you control how many players must sleep to skip the night — without breaking the day counter or phantom timers.
Unlike many night-skip plugins that use
setTime(0) and reset the world day count (affecting statistics, phantoms, and more), ServerSleep uses the correct absolute time method to advance properly to the next morning, just like vanilla sleeping.
Perfect for servers running older versions (pre-1.17) where the built-in
playersSleepingPercentage gamerule doesn't exist or behaves inconsistently.
Features
- Configurable sleep percentage — 100 = all players, 1 = anyone can skip
- Does not reset the day count — preserves world statistics and phantom timers
- Automatically resets phantom timers for sleeping players (1.13+)
- Clears storm/thunder after skipping night
- Fully respects doDaylightCycle and doWeatherCycle gamerules
- Overworld only — Nether/End unaffected
Commands
Requires OP or serversleep.command permission
- /serversleep — Show current sleep percentage
- /serversleep percent <0-100> — Change the required sleep percentage
- /serversleep reload — Reload the config
Configuration
Located at plugins/ServerSleep/config.yml
Code (Text):
# Percentage of non-spectator players required to be sleeping to skip the night.
# Range: 0-100 (100 = all players, 1 = one player)
sleep-percentage: 100
# Message broadcast to the world when night is skipped. Supports & color codes.
# Leave empty ("") to send no message.
skip-message: "&6Night has been skipped! Good morning."
# Clear rain/thunder when night is skipped (only fires if doWeatherCycle is on).
clear-weather: true
# Reset each sleeping player's phantom timer when night is skipped (1.13+).
reset-phantoms: true
Kommentare 0
Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.