
Vote2Sleep
A modern, feature-rich sleep voting plugin for Minecraft servers that allows players to collectively vote to skip night and storms.
- Загрузки
- 1K
- Подписчики
- 5
- Обновлён
- 23 мая 2026 г.
- Лицензия
- GPL-3.0-only
Опубликован 31 июля 2025 г.
🌙 Vote2Sleep: The Ultimate Sleep Voting Plugin for Minecraft
Tired of waiting for everyone to sleep?
With Vote2Sleep, your players can vote to skip the night or clear storms using beds or simple commands, with smooth feedback through BossBars, action bars, sounds, particles, and optional dawn animations.
Perfect for survival and multiplayer servers that want fair sleep voting without breaking immersion.
✨ Main Features
🛏️ Smart Voting System
Players can start or join a vote by entering a bed or using /sleep.
You control vote percentage, minimum players, maximum players, timeout, skip delay, and per-world settings.
🌤️ Skip Nights and Storms
Let players vote to skip long nights or clear bad weather.
Night skipping and storm skipping can be enabled or disabled independently.
😴 AFK Detection
AFK players can be excluded from vote requirements, preventing inactive players from blocking votes.
Vote2Sleep supports:
- EssentialsX AFK detection
- CMI AFK detection
- PlaceholderAPI-based AFK checks
- Generic AFK plugin hooks
- Player metadata checks
- Bukkit sleeping ignored state
- Internal fallback AFK detector
🎨 Beautiful Visuals
- Real-time BossBar progress
- Action bar vote updates
- Title messages
- Configurable sounds and particles
- Optional dawn animation that smoothly transitions into daylight
- Custom BossBar colors and styles
⚙️ Complete Customization
Tune almost every behavior from the config file: vote rules, timeouts, effects, sounds, animations, AFK handling, and per-world settings.
💾 SQLite Statistics
Optionally track vote and skip data using SQLite.
🧭 Advanced Options
- Exempt specific gamemodes like creative or spectator
- Use permission-based exemptions with
vote2sleep.exempt - Enable or disable bed interaction
- Automatically update config and message files
- Built-in update checker
- Modern Minecraft sound key support
🌍 Multi-Platform Compatibility
✅ Supports:
- Bukkit
- Spigot
- Paper
- Purpur
- Folia
It’s designed to be lightweight, lag-free, and 100% compatible across major platforms.
🧩 Commands Overview
| Command | Description |
|---|---|
/sleep |
Start or join a vote to skip night or storm |
/sleep status |
View current vote progress |
/sleep enable / /sleep disable |
Enable or disable Vote2Sleep in the current world |
/sleep reload |
Reload configuration and messages |
/sleep stats |
Show voting statistics |
/sleep cancel |
Cancel the active vote |
/sleep force |
Instantly skip night or storm |
/sleep language |
Change the active message language |
Aliases: /v2s, /vote2sleep, /sleepvote, /nightskip
💡 Configuration Highlights
settings:
vote-percentage: 0.5
minimum-players: 1
maximum-players: -1
skip-delay-seconds: 3
vote-timeout-seconds: 60
allow-night-skip: true
allow-storm-skip: true
bed-interaction: true
afk-detection:
enabled: true
prevent-afk-voting: true
hooks:
enabled: true
essentials: true
cmi: true
internal:
enabled: true
timeout-seconds: 300
See the full config.yml.
🚀 Quick Setup
- Download
Vote2Sleep.jar - Drop it into your
/plugins/folder - Start the server
- Run
/sleep enable - Let your players vote
That’s it. No mandatory dependencies required.
📦 Requirements:
- Vote2Sleep 1.21.x: Minecraft 1.21.x with Java 21+
- Vote2Sleep 26.1.x: Minecraft 26.1+ with Java 25+
🔗 Source & Docs: GitHub - Vote2Sleep
⭐ Make the night disappear together.
Ченджлог
1.3.0Релиз26.1.1, 26.1.2, 26.2 · 23 мая 2026 г.
✨ Features & Improvements
- Added AFK detection support to exclude AFK players from sleep vote requirements.
- Added AFK hooks for:
- Essentials
- CMI
- PlaceholderAPI-based AFK states
- Player metadata
- Bukkit sleeping-ignore state
- Generic AFK plugin APIs
- Added internal AFK detection fallback with configurable inactivity timeout.
- Added new AFK placeholders for PlaceholderAPI.
- Added Modrinth link to the update notification.
🐛 Bug Fixes
- Fixed
AutoConfigUpdatercreating excessive backups by limiting retained backups. - Fixed vote requirement edge cases when there are zero eligible players or zero valid votes.
- Fixed vote counts so players who become ineligible or AFK after voting no longer count toward the skip.
- Improved reload handling so hooks are reinitialized correctly.
- Removed unused MySQL dependency from the final jar.
1.3.0Релиз1.21.9, 1.21.10, 1.21.11 · 23 мая 2026 г.
✨ Features & Improvements
- Added AFK detection support to exclude AFK players from sleep vote requirements.
- Added AFK hooks for:
- Essentials
- CMI
- PlaceholderAPI-based AFK states
- Player metadata
- Bukkit sleeping-ignore state
- Generic AFK plugin APIs
- Added internal AFK detection fallback with configurable inactivity timeout.
- Added new AFK placeholders for PlaceholderAPI.
- Added Modrinth link to the update notification.
🐛 Bug Fixes
- Fixed
AutoConfigUpdatercreating excessive backups by limiting retained backups. - Fixed vote requirement edge cases when there are zero eligible players or zero valid votes.
- Fixed vote counts so players who become ineligible or AFK after voting no longer count toward the skip.
- Improved reload handling so hooks are reinitialized correctly.
- Removed unused MySQL dependency from the final jar.
1.2.2Релиз1.21.9, 1.21.10, 1.21.11 · 22 октября 2025 г.
✨ Features & Improvements:
- Added "Bed interaction is disabled!" message to clarify when bed voting is disabled.
🐛 Bug Fixes:
- Fixed BossBar getting stuck when night ends naturally during an incomplete vote.
- Improved vote timeout handling and task cleanup.
1.2.1Релиз1.21.9, 1.21.10, 1.21.11 · 27 сентября 2025 г.
✨ Features & Improvements:
- Added configuration option to disable automatic sleep vote when a player lies in a bed.
🐛 Bug Fixes:
- Prevented new sleep votes from being started while the dawn animation is in progress.
- Fixed BossBar disappearing in specific scenarios.
1.2.0Релиз1.21.9, 1.21.10, 1.21.11 · 24 сентября 2025 г.
✨ Features & Improvements:
- Added Dawn Animation for night skipping (visual effect).
- Implemented a version management system for messages and config files.
- Improved chat messages for night and storm skipping.
🐛 Bug Fixes:
- Fixed BossBar disappearing issue in certain cases.
- Resolved the "Surge Protector" achievement bug when skipping night with the lightning effect.
1.1.0Релиз1.21.7, 1.21.8, 1.21.9 · 16 августа 2025 г.
✨ New Features
Purpur Support: Added native Purpur optimizations for enhanced performance
- Optimized world time setting
- Enhanced weather clearing
- Improved player operations
🐛 Bug Fixes
Folia Threading: Fixed threading errors introduced with new platform detection.
1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 31 июля 2025 г.
🆕 v1.0.0 – Initial Release
✨ Added
- Sleep voting system via beds or commands
- Storm skipping support during daytime
- Configurable vote percentage, min/max players, and timeouts
- Boss bar, action bar, and title animations to display vote progress
- Sound and particle effects for votes and skips
- Per-world configuration support
- SQLite and MySQL database integration
- PlaceholderAPI integration (
%vote2sleep_*%) - Command system with permission nodes
- Developer API and custom events (
SleepVoteEvent,NightSkipEvent, etc.) - Multi-platform support: Bukkit, Spigot, Paper, and Folia
- Minecraft 1.21.4+ compatibility
Комментарии
Загружаем…