Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Amethyst-Developers

A modern sleep voting system for Paper servers that transforms night-time gameplay with democratic polling.

Report SleepPolls?

๐ŸŒ™ SleepPolls

SleepPolls Logo

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

  1. Download SleepPolls 2.0
  2. Place the jar in your plugins folder
  3. Start the server
  4. Configure config.yml
  5. 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

โค๏ธ 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.

Information

CategoryGameplay
Published onMay 29, 2026
LicenseGPL
Downloads21
Stars1
Watchers0
Supports Folia

Pinned Versions