
Sleep Polls
A modern sleep voting system for Paper servers that transforms night-time gameplay with democratic polling.
- Загрузки
- 73
- Подписчики
- 3
- Обновлён
- 30 мая 2026 г.
- Лицензия
- GPL-3.0-or-later
Опубликован 11 октября 2025 г.
🌙 SleepPolls
Modern sleep voting for Paper servers.
SleepPolls 2.0 is a modern, lightweight sleep voting plugin built specifically for Paper servers.
Instead of requiring every player to sleep, SleepPolls starts an interactive vote when someone enters a bed, allowing active players to decide whether the night should be skipped.
Built using modern Paper APIs, Adventure Components, HikariCP, SQLite, and MariaDB.
✨ Features
🗳️ Interactive Sleep Polls
When a player enters a bed:
- A vote automatically starts
- Players can vote YES or NO
- Clickable vote buttons appear in chat
- Vote requirements are calculated automatically
- Nights skip instantly once enough votes are reached
📊 Live Vote Tracking
- BossBar countdowns
- ActionBar updates
- Real-time vote counts
- Remaining time display
- Required vote display
😴 Smart Eligibility Detection
SleepPolls only counts active players.
Automatically excludes:
- AFK players (EssentialsX)
- Spectators
- Dead players
- Offline players
📈 Statistics System
Track:
- Total Votes
- Successful Votes
- Failed Votes
- Polls Started
- Nights Skipped
🏆 Leaderboards
Compete with other players using:
/sp top
💾 Database Support
Choose between:
- SQLite
- MariaDB
All statistics are stored persistently.
⚙️ Fully Configurable
Configure:
- Vote duration
- Required vote percentage
- BossBars
- Sounds
- Weather clearing
- World blacklist
- Database backend
🚀 Lightweight & Modern
Built with:
- Java 21+
- Paper API
- Adventure API
- HikariCP
- Async database operations
No ProtocolLib.
No NMS.
🎮 Commands
| Command | Description |
|---|---|
/sp help |
Display help menu |
/sp version |
Show plugin version |
/sp status |
View current poll |
/sp yes |
Vote YES |
/sp no |
Vote NO |
/sp stats |
View personal statistics |
/sp top |
View leaderboard |
/sp bossbar |
Toggle BossBar |
/sp reload |
Reload configuration |
Aliases:
/sp
/sleeppoll
🔐 Permissions
| Permission | Description |
|---|---|
sleeppolls.reload |
Reload configuration |
sleeppolls.bossbar |
Toggle BossBar |
⚙️ Example Configuration
poll-duration-seconds: 20
required-percentage: 50
bossbar:
enabled: true
sounds:
enabled: true
database:
type: SQLITE
📊 Statistics
View your statistics:
/sp stats
Track:
- Total votes cast
- Successful votes
- Failed votes
- Polls started
- Nights skipped
🏆 Leaderboards
See the most active sleepers:
/sp top
Perfect for SMP communities.
🌍 World Blacklist
Disable sleep voting in specific worlds:
worlds:
blacklist:
- lobby
- minigames
💾 Database Backends
SQLite
database:
type: SQLITE
MariaDB
database:
type: MARIADB
mariadb:
host: localhost
port: 3306
database: sleeppolls
username: root
password: password
pool-size: 5
🚀 Installation
Requirements
- Paper
- Java 21+
- Minecraft 1.21+
Optional:
- EssentialsX (AFK detection)
Setup
- Download SleepPolls 2.0
- Place the jar in your plugins folder
- Start the server
- Configure
config.yml - Run:
/sp reload
or restart the server.
🔥 Why SleepPolls?
Unlike many older sleep vote plugins:
✅ Interactive Adventure Components
✅ Live BossBar tracking
✅ ActionBar countdowns
✅ SQLite & MariaDB support
✅ Persistent statistics
✅ Leaderboards
✅ AFK detection
✅ World blacklist support
✅ Modern Paper API architecture
✅ Open Source
🗺️ Roadmap
- Velocity network-wide sleep voting
- PlaceholderAPI support
- Localization support
- Customizable messages
- GUI voting interface
- Web statistics dashboard
- Per-world vote settings
🎬 Showcase
❤️ Open Source
SleepPolls is fully open source.
Contributions, pull requests, suggestions, and bug reports are always welcome.
GitHub: https://github.com/Amethyst-Developers/Sleep-Polls
📜 License
Licensed under GNU GPL v3.
Copyright © 2026 Monk (Monish), Amethyst Developers and contributors.
Ченджлог
2.0.0Релиз26.1, 26.1.1, 26.1.2 · 30 мая 2026 г.
🌙 SleepPolls 2.0
The biggest update to SleepPolls so far!
This release introduces persistent player statistics, leaderboards, database support, major architecture improvements, and a significantly more polished sleep voting experience for Paper servers.
✨ New Features
📊 Persistent Statistics
Track:
- Total Votes
- Successful Votes
- Failed Votes
- Polls Started
- Nights Skipped
New command:
/sp stats
🏆 Leaderboards
See the most active sleepers on your server.
New command:
/sp top
💾 Database Support
SleepPolls now supports:
- SQLite
- MariaDB / MySQL
Includes:
- HikariCP connection pooling
- Async database operations
- Automatic table creation
🌙 Improved Sleep Voting
- Better vote handling
- Improved poll lifecycle management
- Live BossBar updates
- ActionBar countdowns
- Clickable YES / NO buttons
- Improved vote tracking
😴 Smart Eligibility Detection
SleepPolls automatically ignores:
- AFK players (EssentialsX)
- Spectators
- Dead players
- Offline players
Resulting in fairer vote requirements.
⚙️ Configuration Improvements
Added support for:
- Database configuration
- BossBar settings
- Sound settings
- Weather settings
- World blacklists
🛠 Commands
New
/sp stats
/sp top
Available
/sp help
/sp status
/sp yes
/sp no
/sp stats
/sp top
/sp bossbar
/sp version
/sp reload
🚀 Performance & Code Improvements
- Async database operations
- HikariCP connection pooling
- Improved architecture
- Better separation of responsibilities
- Reduced code duplication
- Improved maintainability
🔮 Coming Next
- Velocity network-wide sleep voting
- PlaceholderAPI support
- Localization support
- Customizable messages
Thank you for supporting SleepPolls! ❤️
1.0.0Релиз26.1, 26.1.1, 26.1.2 · 16 мая 2026 г.
SleepPolls 1.0.0
A complete rewrite and modernization of SleepPolls for modern Paper servers.
✨ Added
- Clickable YES/NO voting buttons
- Live ActionBar poll updates
- Dynamic BossBar countdowns
- AFK player support via EssentialsX
/sp statuscommand/sp bossbartoggle command- Configurable poll duration
- Configurable required vote percentage
- Configurable sounds
- Configurable weather clearing
- World blacklist support
- Modern Adventure API messaging
- Improved SMP-focused UX
🔊 Improved
- Cleaner vote messages
- Better poll feedback
- Modernized command system
- Better task handling
- Improved poll calculations
- Improved multiplayer compatibility
- Better readability and formatting
🛠 Technical Changes
- Updated to modern Paper API
- Migrated to Gradle 9
- Updated Java toolchain
- Reworked plugin architecture
- Improved maintainability
- Cleaner internal systems
📦 Supported Platforms
- Paper
- Folia-compatible architecture
Комментарии
Загружаем…