? Vote2Sleep: Minecraft 终极睡眠投票插件
厌倦了等待所有人入睡?
使用 Vote2Sleep,你的玩家可以使用床或简单命令投票跳过夜晚或清除暴风雨,并通过 BossBar、操作栏、音效、粒子效果以及可选的黎明动画获得流畅的反馈。
非常适合希望在不破坏沉浸感的情况下实现公平睡眠投票的生存和多人服务器。
✨ 主要功能
?️ 智能投票系统
玩家可以通过进入床或使用 /sleep 来发起或加入投票。
你可以控制投票百分比、最少玩家数、最多玩家数、超时时间、跳过延迟以及按世界设置。
?️ 跳过夜晚与暴风雨
让玩家投票跳过漫长的夜晚或清除恶劣天气。
可以独立启用或禁用“跳过夜晚”和“跳过暴风雨”功能。
? AFK 检测
AFK(挂机)玩家可被排除在投票要求之外,防止不活跃的玩家阻碍投票。
Vote2Sleep 支持:
- EssentialsX AFK 检测
- CMI AFK 检测
- 基于 PlaceholderAPI 的 AFK 检查
- 通用 AFK 插件挂钩
- 玩家元数据检查
- Bukkit 睡眠忽略状态
- 内部备用 AFK 检测器
? 精美视觉效果
- 实时 BossBar 进度条
- 操作栏投票更新提示
- 标题消息
- 可配置的音效和粒子效果
- 可选的黎明动画,平滑过渡到白天
- 自定义 BossBar 颜色和样式
⚙️ 完全自定义
从配置文件中调整几乎所有行为:投票规则、超时时间、效果、音效、动画、AFK 处理以及按世界设置。
? SQLite 统计
可选择使用 SQLite 跟踪投票和跳过数据。
? 高级选项
- 豁免特定游戏模式,如创造模式或旁观者模式
- 使用
vote2sleep.exempt权限进行豁免 - 启用或禁用床交互
- 自动更新配置文件和消息文件
- 内置更新检查器
- 支持现代 Minecraft 声音键
? 多平台兼容性
✅ 支持:
- Bukkit
- Spigot
- Paper
- Purpur
- Folia
专为轻量级、无卡顿设计,并在各大平台上保持 100% 兼容。
? 命令概览
| 命令 | 描述 |
|---|---|
/sleep |
发起或加入投票以跳过夜晚或暴风雨 |
/sleep status |
查看当前投票进度 |
/sleep enable / /sleep disable |
在当前世界中启用或禁用 Vote2Sleep |
/sleep reload |
重新加载配置和消息 |
/sleep stats |
显示投票统计信息 |
/sleep cancel |
取消当前活跃的投票 |
/sleep force |
立即跳过夜晚或暴风雨 |
/sleep language |
更改当前消息语言 |
别名:/v2s, /vote2sleep, /sleepvote, /nightskip
? 配置亮点
settings:
vote-percentage: 0.5
minimum-players: 1
maximum-players: -1
skip-delay-seconds: 3
vote-timeout-seconds: 60
allow-night-skip: true
allow-storm-skip: true
bed-interaction: true
afk-detection:
enabled: true
prevent-afk-voting: true
hooks:
enabled: true
essentials: true
cmi: true
internal:
enabled: true
timeout-seconds: 300
请参阅完整的 config.yml。
? 快速安装
- 下载
Vote2Sleep.jar - 将其放入
/plugins/文件夹 - 启动服务器
- 运行
/sleep enable - 让你的玩家开始投票
就这么简单。无需强制依赖项。
? 要求:
- Vote2Sleep 1.21.x: Minecraft 1.21.x 配合 Java 21+
- Vote2Sleep 26.1.x: Minecraft 26.1+ 配合 Java 25+
? 源码与文档: GitHub - Vote2Sleep
⭐ 一起让黑夜消失。
? Vote2Sleep: The Ultimate Sleep Voting Plugin for Minecraft
Tired of waiting for everyone to sleep?
With Vote2Sleep, your players can vote to skip the night or clear storms using beds or simple commands, with smooth feedback through BossBars, action bars, sounds, particles, and optional dawn animations.
Perfect for survival and multiplayer servers that want fair sleep voting without breaking immersion.
✨ Main Features
?️ Smart Voting System
Players can start or join a vote by entering a bed or using /sleep.
You control vote percentage, minimum players, maximum players, timeout, skip delay, and per-world settings.
?️ Skip Nights and Storms
Let players vote to skip long nights or clear bad weather.
Night skipping and storm skipping can be enabled or disabled independently.
? AFK Detection
AFK players can be excluded from vote requirements, preventing inactive players from blocking votes.
Vote2Sleep supports:
- EssentialsX AFK detection
- CMI AFK detection
- PlaceholderAPI-based AFK checks
- Generic AFK plugin hooks
- Player metadata checks
- Bukkit sleeping ignored state
- Internal fallback AFK detector
? Beautiful Visuals
- Real-time BossBar progress
- Action bar vote updates
- Title messages
- Configurable sounds and particles
- Optional dawn animation that smoothly transitions into daylight
- Custom BossBar colors and styles
⚙️ Complete Customization
Tune almost every behavior from the config file: vote rules, timeouts, effects, sounds, animations, AFK handling, and per-world settings.
? SQLite Statistics
Optionally track vote and skip data using SQLite.
? Advanced Options
- Exempt specific gamemodes like creative or spectator
- Use permission-based exemptions with
vote2sleep.exempt - Enable or disable bed interaction
- Automatically update config and message files
- Built-in update checker
- Modern Minecraft sound key support
? Multi-Platform Compatibility
✅ Supports:
- Bukkit
- Spigot
- Paper
- Purpur
- Folia
It’s designed to be lightweight, lag-free, and 100% compatible across major platforms.
? Commands Overview
| Command | Description |
|---|---|
/sleep |
Start or join a vote to skip night or storm |
/sleep status |
View current vote progress |
/sleep enable / /sleep disable |
Enable or disable Vote2Sleep in the current world |
/sleep reload |
Reload configuration and messages |
/sleep stats |
Show voting statistics |
/sleep cancel |
Cancel the active vote |
/sleep force |
Instantly skip night or storm |
/sleep language |
Change the active message language |
Aliases: /v2s, /vote2sleep, /sleepvote, /nightskip
? Configuration Highlights
settings:
vote-percentage: 0.5
minimum-players: 1
maximum-players: -1
skip-delay-seconds: 3
vote-timeout-seconds: 60
allow-night-skip: true
allow-storm-skip: true
bed-interaction: true
afk-detection:
enabled: true
prevent-afk-voting: true
hooks:
enabled: true
essentials: true
cmi: true
internal:
enabled: true
timeout-seconds: 300
See the full config.yml.
? Quick Setup
- Download
Vote2Sleep.jar - Drop it into your
/plugins/folder - Start the server
- Run
/sleep enable - Let your players vote
That’s it. No mandatory dependencies required.
? Requirements:
- Vote2Sleep 1.21.x: Minecraft 1.21.x with Java 21+
- Vote2Sleep 26.1.x: Minecraft 26.1+ with Java 25+
? Source & Docs: GitHub - Vote2Sleep
⭐ Make the night disappear together.
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Vote2Sleep — 睡眠投票
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
✨ 功能与改进
- 新增 AFK(挂机)检测支持,将 AFK 玩家排除在睡眠投票要求之外。
- 新增以下情况的 AFK 钩子:
- Essentials
- CMI
- 基于 PlaceholderAPI 的 AFK 状态
- 玩家元数据
- Bukkit 忽略睡眠状态
- 通用 AFK 插件 API
- 新增内部 AFK 检测回退机制,并支持配置不活动超时时间。
- 为 PlaceholderAPI 新增新的 AFK 占位符。
- 在更新通知中添加了 Modrinth 链接。
? 错误修复
- 通过限制保留的备份数量,修复了
AutoConfigUpdater创建过多备份的问题。 - 修复了当没有符合条件的玩家或有效票数为零时,投票要求的边界情况。
- 修正了票数统计逻辑:在投票后变得不符合条件或变为 AFK 的玩家不再计入跳过投票。
- 改进了重载处理,确保钩子被正确重新初始化。
- 从最终的 jar 包中移除了未使用的 MySQL 依赖项。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧