Sleep Vote

Quick rating

Community listing page, reviews may not be monitored by the author.

Sleep Vote

No reviews yet

Skip the night democratically: Sleep Vote replaces the vanilla sleep mechanic with a server-wide voting system. Right click a bed at night to start a vote, and if the majority agrees, the night is skipped for everyone.

Mod Loaders
Minecraft
26.3 26.2

About

Description

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 to cast their vote. If more than 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 percentage <percentage> set percentage of players (voting yes) needed to sleep*

*(only available on the Bukkit/Paper/Spigot version)

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 at least half of all online players voted yes
  • If the vote fails, the night continues as normal

Compatibility

  • Minecraft: 1.21.11
  • Mod/Plugin Loader: Fabric or Paper/Spigot/Bukkit
  • Required (if using fabric mod): Fabric API

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.