SleepVote21 is a lightweight sleep-voting plugin for Spigot 1.21.x. It skips the night (and optionally clears rain/thunder) once a configurable percentage of
eligible players in a world are sleeping, so your server can progress smoothly without forcing everyone into bed.
Features
- Configurable requirement: required-percent (e.g., 50 = half the eligible players).
- Per-world calculation (players are counted per world, not globally).
- BossBar progress display: shows {sleeping}/{needed} ({percent}%).
- Optional weather handling: clear rain/thunder on success.
- Optional daytime thunderstorm handling: allow clearing storms even if it’s not night.
- Spectator handling: optionally exclude spectators from the “eligible” count.
- Commands: /sleepvote status, /sleepvote reload (permission sleepvote.admin).
Commands & Permissions
- /sleepvote status – Shows current sleeping/eligible/needed numbers for your world.
- /sleepvote reload – Reloads config.
- Permission: sleepvote.admin (default: OP)
Configuration
All settings are in config.yml and include:
- required-percent, min-eligible-players
- clear-weather, allow-skip-during-thunderstorm-daytime
- ignore-spectators
- Customizable messages (BossBar title + chat messages)
Installation
- Download the jar and place it into /plugins.
- Restart the server.
- Edit plugins/SleepVote21/config.yml to your liking.
- Use /sleepvote reload to apply changes without restarting.