SleepVoter

作者:rebot | 分类:模组

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

Minecraft 版本: 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 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 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: bukkit paper purpur spigot

标签: game-mechanics technology worldgen

资源介绍

? SleepVoter

Skip the night together. SleepVote turns sleeping into a fair, server-wide vote — no more one player forcing the sunrise, and no more endless nights when half the server is AFK. When someone hops into bed, a vote begins, and once enough players agree, the night is skipped for everyone.

Lightweight, fully configurable, and compatible with Spigot & Paper 1.18 – 26.x.x +.


✨ Features

  • ?️ Sleep Voting — When a player gets into bed, a server-wide vote starts automatically.
  • ? Live Progress Broadcasts — Everyone sees the current count, e.g. 2/5 players are sleeping! Need 50% to skip the night.
  • ? Automatic Night Skip — Once the threshold is reached, time jumps to morning and (optionally) the weather clears.
  • ? Real-Time Updates — Leaving a bed instantly updates the count. If everyone gets out, the vote is cancelled cleanly.
  • ? Optional "No" Voting — Players can vote against skipping with /sleepvote no. Enough no-votes and the vote fails.
  • ⏱️ Vote Timeout — If the threshold isn't met in time, the vote expires gracefully (default: 60s).
  • ? Fully Configurable Messages — Every message supports color codes and a custom prefix.
  • ? Live Reload — Change the config and apply it instantly with /sleepvote reload.

? Commands

Command Description Permission
/sleepvote no / /sv no Cast a vote against skipping the night sleepvote.novote
/sleepvote reload / /sv reload Reload the configuration sleepvote.reload

? Permissions

Permission Description Default
sleepvote.novote Allows casting a "no" vote true (all players)
sleepvote.reload Allows reloading the config op

⚙️ Configuration

# Percentage of online players that must sleep to skip the night
sleep-percentage: 50

# Percentage of "no" votes needed to cancel the skip
no-vote-percentage: 50

# Seconds before an unmet vote expires
vote-timeout-seconds: 60

# Allow players to vote against skipping
enable-no-voting: true

# Clear storms/thunder when the night is skipped
clear-weather: true

messages:
  prefix: "&e[SleepVote] &r"
  # ... all messages fully customizable with & color codes

Placeholders available in messages: %sleeping%, %needed%, %percentage%, %novotes%, %player%


? Installation

  1. Download SleepVote.jar.
  2. Drop it into your server's plugins/ folder.
  3. Restart the server.
  4. Edit plugins/SleepVote/config.yml to taste, then run /sleepvote reload.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Legacy4J Resident Evil 2 Skin Pack

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

查看详情
Cleaner Grass

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

查看详情
texturepack Onepiece_banner

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

查看详情
Item Glow

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

查看详情