SleepVote 图标

SleepVote

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/sleepvote
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8

平台: paper spigot

标签: game-mechanics utility

资源介绍

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!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Pearl Momentum Fix

价格:0 墨喵币
下载量:0

查看详情
Sturdy Styles

价格:0 墨喵币
下载量:0

查看详情
CraftWithLogs

价格:0 墨喵币
下载量:0

查看详情
Rolo's PvP

价格:0 墨喵币
下载量:0

查看详情