Sleep Vote
Vote to skip the night.
Sleep Vote replaces the vanilla sleep mechanic with a community vote system. Instead of needing a majority of players to physically sleep in beds, anyone can trigger a vote and let the server decide democratically whether to skip the night.
How It Works
When a player right-clicks a bed during the night, a server-wide vote is automatically started. All players have 15 seconds (configurable) to cast their vote. If at least half of the server votes yes, the night is skipped instantly.
Commands
| Command | Description |
|---|---|
/sleep yes |
Vote to skip the night |
/sleep no |
Vote to keep the night |
/sleep reload |
Reload the config without restarting (operators only) |
Vote Rules
- A vote is triggered automatically when a player interacts with a bed at night
- Players can only vote once per vote
- The vote passes if there are more yes than no votes and at least half of all online players voted yes (configurable)
- If the vote fails, the night continues as normal
Config
The config file is created automatically the first time the server starts:
- Fabric:
config/sleep-vote.json - Paper / Purpur:
plugins/SleepVote/config.yml
| Setting | Default | Description |
|---|---|---|
passPercentage |
50 | Percentage (0–100) of online players that must vote yes |
minYesVotes |
1 | Minimum number of yes votes, regardless of player count |
voteDurationSeconds |
15 | How long a vote stays open, in seconds |
After editing, run /sleep reload or restart the server.
The config is not available in the Fabric 1.21.11 version.
Compatibility
- Fabric: 1.21.11 and 26.1 – 26.3
- Paper / Purpur: 1.21 – 26.3
- Required: Fabric API (Fabric version only). The Paper version needs nothing else.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
Sleep Vote 1.1.0 1.1.0 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
paper, purpur
|
Download |
|
Sleep Vote 1.1.0+26.1-26.3 1.1.0+26.1-26.3 |
26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
fabric
|
Download |
|
Sleep Voting 1.0.0 1.0.0 |
1.21.11
|
fabric
|
Download |