.png)
SmartSleep
面向现代生存服务器的优质睡眠与天气投票插件。
SmartSleep 将进入床铺转化为流畅的全服投票流程。玩家可在简洁的图形界面中直接投票,Boss 栏和操作栏(actionbar)会实时显示投票状态,仅当达到配置的阈值时才会跳过夜晚或清除天气。
功能特性
- 当玩家进入床铺时触发投票
- 允许符合条件的玩家投出
YES 或 NO
- 支持分别对夜晚和降雨进行投票
- 实时更新投票进度
- 达到阈值后跳过夜晚或清除天气
- 排除挂机(AFK)玩家不参与投票计算
- 在多世界服务器中支持按世界配置规则
高级功能
- 一个主控制菜单,用于投票和管理操作
- 可自定义 GUI,包括槽位、材质、名称、描述和装饰物品
- 支持 MiniMessage 和 HEX 颜色代码
- 实时的 BossBar 和 ActionBar 投票状态显示
- 基于在线玩家数量动态调整投票百分比
- 可选的参与奖励和成功投票奖励
- YAML 或 SQLite 统计数据存储
- 排行榜和玩家数据统计
- PlaceholderAPI 集成支持
- 可选的 Vault 经济系统支持
- 软钩子支持 AFK 插件、Geyser 和 Floodgate 设置
包含的菜单
- 玩家和管理员的主菜单
- “投 YES” / “投 NO” 按钮
- 当前投票状态面板
- 统计数据和排行榜快捷方式
- 重载、停止和版本查看等管理操作
占位符
%smartsleep_nights_skipped%
%smartsleep_rain_skipped%
%smartsleep_vote_yes%
%smartsleep_vote_no%
%smartsleep_vote_timer%
%smartsleep_player_votes%
%smartsleep_top_voter%
命令
/smartsleep
/smartsleep reload
/smartsleep start [night|rain]
/smartsleep stop
/smartsleep stats
/smartsleep top
/smartsleep version
权限
smartsleep.vote
smartsleep.admin
smartsleep.start
smartsleep.stats
smartsleep.top
所有权限节点均可在 config.yml 中重命名。
存储
选择一种后端:
YAML 适用于简单设置
SQLITE 适用于繁忙的生存服务器
数据异步保存以减少对 TPS 的影响。
推荐设置
对于较大的网络,请启用以下设置:
settings:
storage: SQLITE
force-modern-visuals: true
afk:
enabled: true
exclude-from-calculations: true
force-modern-visuals 可确保从旧版本构建更新时,内置的高级菜单/聊天风格保持同步。
为什么选择 SmartSleep
大多数睡眠类插件仅停留在基本的百分比检查层面。SmartSleep 旨在提供类似真正高级资源包的感觉:清晰的 UI、实时反馈、可配置逻辑以及足够的钩子接口,以适配严肃的生存服务器。
.png)
SmartSleep
Premium sleep and weather voting for modern survival servers.
SmartSleep turns bed entry into a polished server-wide voting flow. Players vote directly in a clean GUI, bosses/actionbar keep the vote visible in real time, and the night or rain is skipped only when your configured threshold is reached.
What It Does
- Opens a vote when a player enters a bed
- Lets eligible players vote
YES or NO
- Supports separate night and rain voting
- Updates vote progress in real time
- Skips the night or clears weather when the threshold is met
- Excludes AFK players from vote calculations
- Works on multiworld servers with per-world rules
Premium Features
- One main control menu for voting and admin actions
- Configurable GUI with slots, materials, names, lore, and decorative items
- MiniMessage and HEX color support
- Live BossBar and ActionBar vote status
- Dynamic vote percentages based on online player count
- Optional rewards for participation and successful votes
- YAML or SQLite statistics storage
- Leaderboards and player stats
- PlaceholderAPI integration
- Optional Vault economy support
- Soft-hook support for AFK plugins, Geyser, and Floodgate setups
Included Menus
- Main menu for players and admins
- Vote YES / Vote NO buttons
- Current vote status panel
- Stats and leaderboards shortcuts
- Reload, stop, and version actions for staff
Placeholders
%smartsleep_nights_skipped%
%smartsleep_rain_skipped%
%smartsleep_vote_yes%
%smartsleep_vote_no%
%smartsleep_vote_timer%
%smartsleep_player_votes%
%smartsleep_top_voter%
Commands
/smartsleep
/smartsleep reload
/smartsleep start [night|rain]
/smartsleep stop
/smartsleep stats
/smartsleep top
/smartsleep version
Permissions
smartsleep.vote
smartsleep.admin
smartsleep.start
smartsleep.stats
smartsleep.top
All permission nodes can be renamed in config.yml.
Storage
Choose one backend:
YAML for simple setups
SQLITE for busy survival servers
Storage is saved asynchronously to reduce TPS impact.
Recommended Settings
For larger networks, enable these:
settings:
storage: SQLITE
force-modern-visuals: true
afk:
enabled: true
exclude-from-calculations: true
force-modern-visuals keeps the bundled premium menu/chat style in sync when you update from an older build.
Why SmartSleep
Most sleep plugins stop at a basic percentage check. SmartSleep is built to feel like a real premium resource: clear UI, live feedback, configurable logic, and enough hooks to fit into a serious survival server.
评论 0
登录后参与评分
还没有评论,来抢沙发吧