SleepVoter

Skip the night together, server-wide vote — no more one player forcing the sunrise,

102 downloads 0 followers

💤 SleepVoter

Skip the night together. SleepVote turns sleeping into a fair, server-wide vote — no more one player forcing the sunrise, and no more endless nights when half the server is AFK. When someone hops into bed, a vote begins, and once enough players agree, the night is skipped for everyone.

Lightweight, fully configurable, and compatible with Spigot & Paper 1.18 – 26.x.x +.


✨ Features

  • 🛏️ Sleep Voting — When a player gets into bed, a server-wide vote starts automatically.
  • 📊 Live Progress Broadcasts — Everyone sees the current count, e.g. 2/5 players are sleeping! Need 50% to skip the night.
  • 🌅 Automatic Night Skip — Once the threshold is reached, time jumps to morning and (optionally) the weather clears.
  • 🔄 Real-Time Updates — Leaving a bed instantly updates the count. If everyone gets out, the vote is cancelled cleanly.
  • 🙅 Optional "No" Voting — Players can vote against skipping with /sleepvote no. Enough no-votes and the vote fails.
  • ⏱️ Vote Timeout — If the threshold isn't met in time, the vote expires gracefully (default: 60s).
  • 🎨 Fully Configurable Messages — Every message supports color codes and a custom prefix.
  • 🔁 Live Reload — Change the config and apply it instantly with /sleepvote reload.

📋 Commands

Command Description Permission
/sleepvote no / /sv no Cast a vote against skipping the night sleepvote.novote
/sleepvote reload / /sv reload Reload the configuration sleepvote.reload

🔑 Permissions

Permission Description Default
sleepvote.novote Allows casting a "no" vote true (all players)
sleepvote.reload Allows reloading the config op

⚙️ Configuration

# Percentage of online players that must sleep to skip the night
sleep-percentage: 50

# Percentage of "no" votes needed to cancel the skip
no-vote-percentage: 50

# Seconds before an unmet vote expires
vote-timeout-seconds: 60

# Allow players to vote against skipping
enable-no-voting: true

# Clear storms/thunder when the night is skipped
clear-weather: true

messages:
  prefix: "&e[SleepVote] &r"
  # ... all messages fully customizable with & color codes

Placeholders available in messages: %sleeping%, %needed%, %percentage%, %novotes%, %player%


📦 Installation

  1. Download SleepVote.jar.
  2. Drop it into your server's plugins/ folder.
  3. Restart the server.
  4. Edit plugins/SleepVote/config.yml to taste, then run /sleepvote reload.

No gallery available for this project.

Version Minecraft Loader Download

SleepVoter 1.0.0

1.0.0

1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 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, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 26.1, 26.1.1, 26.1.2, 26.2
bukkit, paper, purpur, spigot
Download