Modern sleep voting for Paper servers.
Most sleep voting plugins stop at basic vote counting.
SleepPolls provides a modern, production-ready sleep voting experience with interactive chat components, live vote tracking, persistent statistics, leaderboards, database support, and AFK-aware voting.
- ๐ Interactive sleep voting
- ๐ Live BossBar progress tracking
- ๐ฌ ActionBar countdown updates
- ๐ฑ๏ธ Clickable YES / NO vote buttons
- ๐ด EssentialsX AFK detection
- ๐ Statistics & leaderboards
- ๐พ SQLite & MariaDB support
- ๐ World blacklist support
- ๐ Optional sound effects
- โก Async database operations
- ๐ HikariCP connection pooling
- ๐ Open source
When a player enters a bed during the night, SleepPolls automatically creates a vote.
Eligible players can vote using clickable chat buttons or commands.
If enough YES votes are received before the timer expires, the night is skipped.
Unlike traditional sleep plugins, SleepPolls only counts active eligible players, creating a much fairer experience for SMPs and community servers.
- Automatic sleep vote creation
- Configurable vote duration
- Configurable vote requirements
- One active poll per world
- Real-time vote tracking
Players receive clickable buttons directly in chat:
โ YES โ NO
No GUI required.
Optional BossBar showing:
- Remaining time
- Current YES votes
- Required votes
Players can disable it individually:
/sp bossbar
Live updates every second:
๐ Sleep Poll โข YES 2/3 โข 12s
If EssentialsX is installed:
- AFK players are excluded
- Only active players count toward vote requirements
This prevents inactive players from blocking night skips.
SleepPolls tracks:
- Total Votes
- Successful Votes
- Failed Votes
- Polls Started
- Nights Skipped
View your statistics:
/sp stats
View the most active sleepers:
/sp top
Perfect for competitive SMP communities.
After a successful vote:
- Rain can be cleared
- Thunder can be cleared
Fully configurable.
Disable sleep voting in specific worlds.
Example:
worlds:
blacklist:
- lobby
- minigames- Paper
- Java 25+
- Minecraft 26.1+
Optional:
- EssentialsX (AFK detection)
- Download the latest release.
- Place the jar in your plugins folder.
- Start the server.
- Configure
config.yml. - Run:
/sp reload
or restart the server.
| 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
| Permission | Description |
|---|---|
sleeppolls.reload |
Allows configuration reload |
sleeppolls.bossbar |
Allows BossBar toggling |
All voting commands are available to regular players.
poll-duration-seconds: 20
required-percentage: 50Example:
- 2 eligible players โ 1 YES required
- 3 eligible players โ 2 YES required
- 5 eligible players โ 3 YES required
bossbar:
enabled: truesounds:
enabled: trueweather:
clear-rain: true
clear-thunder: truedatabase:
type: SQLITEdatabase:
type: MARIADB
mariadb:
host: localhost
port: 3306
database: sleeppolls
username: root
password: password
pool-size: 5- Player enters a bed.
- SleepPolls calculates eligible voters.
- Vote starts.
- Players vote YES or NO.
- Live BossBar and ActionBar updates are shown.
- Poll succeeds or fails.
- Statistics are updated and stored.
Built using:
- Java 25+
- Paper API
- Adventure API
- Lamp Command Framework
- HikariCP
- SQLite
- MariaDB
- Lightweight
- Async-first
- Modern Paper APIs
- No ProtocolLib dependency
- No NMS
- Production ready
- Velocity network-wide sleep voting
- PlaceholderAPI support
- Localization support
- Customizable messages
- GUI voting interface
- Web statistics dashboard
- Per-world vote settings
Contributions are welcome.
- Fork the repository
- Create a branch
- Commit your changes
- Open a Pull Request
SleepPolls is licensed under the GNU General Public License v3.0.
See the LICENSE file for details.
Developed and maintained by Amethyst Developers.
Built using:
- Paper
- Adventure
- Lamp
- HikariCP
Made for modern Minecraft servers.
