▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/SleepVote
SleepVote

SleepVote

SleepVote is a lightweight and modern sleep plugin for survival servers. It allows the night to be skipped when a configurable percentage of players are in bed, making sleep democratic and convenient.

505
0

SleepVote

A modern, lightweight sleep percentage plugin that puts your community in control. Built for Paper 1.21+

Tired of your entire server waiting for that one player who is busy mining deep underground? Does the vanilla "all-or-nothing" sleep mechanic feel outdated for your survival community?

SleepVote is the elegant solution. It replaces the default mechanic with a flexible, democratic system where the night is skipped only when a configurable percentage of players are in bed. It's the quality-of-life upgrade every SMP server needs.


✨ Features

  • Percentage-Based Sleep: You decide what percentage of players need to be in bed to skip the night. Set it to 50 for a majority vote, or 0 for a classic one-player-sleep experience!
  • Player-Driven Ignore System: Don't want to interrupt your nightly build or mining session? Players can type /sleepvote ignore to temporarily remove themselves from the sleep count for that night.
  • Lightweight & Performant: Built from the ground up for modern PaperMC servers. SleepVote has a minimal footprint and will never cause lag.
  • Fully Configurable: Customize all player-facing messages, the sleep delay, and the required percentage directly in the clean config.yml. Supports MiniMessage for full color and style control.
  • Per-World Functionality: Sleep voting is handled independently in each world, so sleeping in the Overworld won't affect players in The End or other dimensions.

⌨️ Commands & Permissions

SleepVote keeps it simple with just one main command.

  • /sleepvote ignore - Allows a player to opt-out of the current night's sleep vote.

    • Permission: none (Available to all players by default)
  • /sleepvote reload - Reloads the config.yml file without needing a server restart.

    • Permission: sleepvote.reload (Defaults to OP)

⚙️ Simple Configuration

Everything is controlled from the config.yml file, generated on the first run.

# The percentage of players in the world required to be in bed to skip the night.
# Must be between 0 and 100. Set to 0 to make one player sleep skip the night.
percentage-needed: 50

# The delay in seconds after the required number of players are in bed before the night skips.
sleep-delay-seconds: 4

# Messages used by the plugin. Supports Paper's MiniMessage format for colors and styling.
messages:
  player-wants-sleep: "<yellow><player></yellow> is sleeping. <green>[<sleeping>/<required>]</green> players needed to skip the night."
  player-left-bed: "<yellow><player></yellow> is no longer sleeping. <green>[<sleeping>/<required>]</green>"
  night-skipped: "<gold>Enough players are sleeping. Skipping the night...</gold>"
  sleep-ignored: "<gray>You are now ignoring this night's sleep vote.</gray>"
  already-ignoring: "<gray>You are already ignoring this night's sleep vote.</gray>"
  reload-success: "<green>SleepVote configuration has been reloaded.</green>"
  no-permission: "<red>You do not have permission to use this command.</red>"
  invalid-command: "<red>Invalid command usage. Use /sleepvote <ignore|reload></red>"

Why Choose SleepVote?

  • Modern Code: Built for Minecraft 1.21.8+ and Java 21, ensuring future compatibility.
  • No Bloat: It does one thing and does it perfectly, without any unnecessary features.
  • Community Focused: Empowers your players with a fair and convenient system.
  • Truly Simple: Just drag, drop, and you're ready to go!

Give your players the sleep experience they deserve. Download SleepVote today!

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:6 месяцев назад
Обновлён:6 месяцев назад
Главная