Server Sleep Plugin
1.0.1Skip the night when a custom % of players sleep and includes several extra, configurable options.
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 (setFullTime) 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= Vanilla behavior (all players must sleep)50= Half the players needed0= A single player can skip the night
- Does NOT reset the day count — preserves world statistics and phantom spawning timers.
- Automatically resets phantom timers for players who sleep.
- Clears weather (storm/thunder) after skipping night.
- Fully respects the gamerules
doDaylightCycleanddoWeatherCycle. - Supports Overworld only (Nether/End unaffected).
Commands (OP / serversleep.command permission)
/serversleep— Show current sleep percentage./serversleep percent <0-100>— Change the required sleep percentage and save to config./serversleep reload— Reload the configuration file.
Configuration
The plugin uses plugins/ServerSleep/config.yml
# Percentage of non-spectator players required to be sleeping to skip the night.
# Range: 0-100 (0 = one player, 100 = all players)
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
Similar projects
Config →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
WorldEdit
A Minecraft Map Editor... that runs in-game! With selections, schematics, copy and paste, brushes, and scripting. Use it in creative, or use it temporarily in survival.
11.6MSueta