PurpurBars
专为 Bukkit、Spigot、Paper、Purpur 和 Folia 打造的员工表现 BossBar —— 一个 jar 包,支持 Minecraft 从 1.8 到最新版本。
命令
/tpsbar — 实时 TPS / MSPT / Ping BossBar,带有自动绿/黄/红颜色编码
/tpsbar color <color> — 强制固定栏颜色,或设置为 AUTO 以根据使用情况着色
/tpsbar alertsound — 切换你个人的低 TPS 警报声音
/ram — 完全可自定义的内存使用率 Bar
toggle — 开启/关闭该显示
ram — 直接将当前内存使用情况打印到聊天栏,无需 Bar
color — 强制固定颜色,或根据使用情况自动着色
style — 更改 BossBar 的分段样式
format — 使用 {used} {max} {percent} 占位符自定义文本
threshold — 设置你自己的警告/危急百分比阈值
reset — 恢复所有默认设置
/barsgui — 游戏内菜单,包含两个切换选项:彩虹模式(双条颜色循环动画)和低 TPS 警报声音
低 TPS 警报音效
在 config.yml 中配置——自定义阈值、音效和冷却时间。任何启用此功能的玩家都会在服务器 TPS 低于设定阈值时收到警报。
访问控制
开箱即用,支持 LuckPerms 或其他权限插件,通过标准节点 purpurbars.use 进行权限分配——将其授予任意所需组即可。服务器管理员自动拥有访问权限,无需额外设置。
持久化存储
所有设置(开/关状态、颜色、样式、自定义格式、阈值、彩虹模式、警报音效偏好)均按玩家独立保存,并在重新加入或重启后保留,同时保持栏位顺序稳定(TPS 和 RAM 的显示位置在不同会话间不会互换)。
跨版本、跨平台,一个 JAR 搞定
自动检测 Folia(使用线程化区域调度器)与原版 Bukkit/Spigot/Paper(经典调度器)。在 1.9+ 版本中使用真正的 BossBar,在 1.8 版本中则自动回退到动作栏(Action Bar)显示,因为 1.8 游戏中根本不存在 BossBar。
可选的 PlaceholderAPI 支持
如果已安装,将自动注册:
%purpurbars_tps%
%purpurbars_mspt%
%purpurbars_ping%
%purpurbars_ram_used%
%purpurbars_ram_max%
%purpurbars_ram_percent%
没有 PlaceholderAPI?没问题——其他功能完全一致。
PurpurBars
Staff performance bossbars for Bukkit, Spigot, Paper, Purpur, and Folia — one jar, Minecraft 1.8 all the way to the latest release.
Commands
/tpsbar — live TPS / MSPT / Ping bossbar with automatic green/yellow/red color coding
/tpsbar color <color> — force a fixed bar color, or AUTO for usage-based coloring
/tpsbar alertsound — toggle your personal low-TPS alert sound
/ram — fully customizable RAM usage bar
toggle — turn it on/off
ram — print current RAM usage straight to chat, no bar needed
color — force a fixed color or auto-color based on usage
style — change the bossbar segment style
format — custom text using {used} {max} {percent} placeholders
threshold — set your own warning/critical percentages
reset — restore all defaults
/barsgui — in-game menu with two toggles: rainbow mode (animated color cycling across both bars) and the low-TPS alert sound
Low-TPS Alert Sound
Configurable in config.yml — set your own threshold, sound, and cooldown. Every player with it enabled hears an alert the moment server TPS drops below your threshold.
Access Control
Works out of the box with LuckPerms or any other permissions plugin via the standard purpurbars.use node — grant it to whichever group you want. Server operators always have access automatically, no extra setup needed.
Persistence
Every setting — bar on/off, colors, styles, custom formats, thresholds, rainbow mode, alert sound preference — saves per-player and survives rejoins and restarts, with stable bar ordering (TPS and RAM won't swap positions between sessions).
Cross-Version, Cross-Platform, One Jar
Automatically detects Folia (uses the threaded region scheduler) vs. plain Bukkit/Spigot/Paper (classic scheduler). Uses a real bossbar on 1.9+, and automatically falls back to an action-bar display on 1.8, where bossbars don't exist in the game at all.
Optional PlaceholderAPI Support
If installed, automatically registers:
%purpurbars_tps%
%purpurbars_mspt%
%purpurbars_ping%
%purpurbars_ram_used%
%purpurbars_ram_max%
%purpurbars_ram_percent%
No PlaceholderAPI? No problem — everything else works identically.
评论 0
登录后参与评分
还没有评论,来抢沙发吧