Skip to content

SleepPolls 2.0.0 (MC 26.1.X+)

Latest

Choose a tag to compare

@MonishKrishna2009 MonishKrishna2009 released this 30 May 11:12
2d16d6e

SleepPolls Logo

SleepPolls 2.0 is the largest update in the project's history.

This release introduces persistent player statistics, leaderboards, database support, a completely refactored architecture, improved performance, and a significantly more polished sleep voting experience for modern Paper servers.


🚀 Major New Features

📊 Persistent Statistics

SleepPolls now tracks player activity across server restarts.

Tracked statistics include:

  • Total votes cast
  • Successful votes
  • Failed votes
  • Polls started
  • Nights skipped

View your statistics anytime with:

/sp stats

🏆 Leaderboards

Compete with other players and see who contributes the most to keeping the server moving.

New command:

/sp top

Displays the server's most active sleepers and voters.


💾 Database Support

SleepPolls now supports persistent database storage.

Supported backends:

  • SQLite
  • MariaDB

Features:

  • Automatic table creation
  • HikariCP connection pooling
  • Async database operations
  • Persistent player statistics

🌙 Improved Sleep Voting

Sleep voting has been refined and polished throughout.

Interactive Voting

Players can vote directly from chat:

  • ✔ YES
  • ✖ NO

No command typing required.

Live Poll Tracking

  • BossBar progress tracking
  • ActionBar updates
  • Real-time vote counts
  • Countdown timers

Smart Eligibility Detection

SleepPolls automatically excludes:

  • AFK players (EssentialsX)
  • Spectators
  • Dead players
  • Offline players

Ensuring fair vote requirements for active players only.


⚙️ Configuration Improvements

Expanded configuration options:

  • Poll duration
  • Required vote percentage
  • BossBar support
  • Sounds
  • Weather clearing
  • World blacklist
  • Database backend selection

🛠 Commands

Player Commands

/sp help
/sp status
/sp yes
/sp no
/sp stats
/sp top
/sp bossbar
/sp version

Admin Commands

/sp reload

🧠 Internal Improvements

This release includes a substantial internal refactor:

Architecture

  • Refactored poll management system
  • Improved separation of responsibilities
  • Cleaner component architecture
  • Improved maintainability
  • Reduced code duplication

Performance

  • Async database operations
  • Optimized SQLite configuration
  • HikariCP connection pooling
  • Reduced memory overhead
  • Improved task handling

Code Quality

  • Modernized codebase
  • Improved encapsulation
  • Cleaner service structure
  • Better UI component separation
  • Easier future feature development

🔮 What's Next?

Planned features for future releases:

  • Velocity network-wide sleep voting
  • PlaceholderAPI support
  • Localization support
  • Customizable messages
  • Per-world vote settings
  • GUI voting interfaces

❤️ Thank You

Thank you to everyone using, testing, and contributing to SleepPolls.

Version 2.0 lays the foundation for future expansion while delivering a modern, reliable, and feature-rich sleep voting experience for Paper servers.