
Boss计时器模组
BossTimer-Mod 是一个 Fabric 服务端 Minecraft 模组,允许管理员创建并运行通过 Boss 栏显示的可配置倒计时计时器,支持在计时结束前后发送可选消息、触发器和命令。
BossTimer 是一个轻量级的服务端 Fabric 模组,允许服主创建并运行使用 Minecraft Boss 血条显示的可配置倒计时计时器。
功能说明
BossTimer 允许你在简单的 JSON 配置中定义命名计时器,并通过命令启动它们。每个计时器:
- 在 Boss 血条中显示实时倒计时
- 实时更新文本和进度
- 可在计时器结束前后运行命令
- 支持在特定剩余时间触发消息(例如“还剩 10 秒”)
- 当计时器已运行时,自动同步给加入的玩家
为什么下载它
此模组非常适合:
- 服务器重启警告
- 活动倒计时
- 定时公告
- 任何需要玩家看到清晰可见计时器的场景
它完全在服务端运行,无需客户端模组,并与 LuckPerms 等权限系统集成。
下载前的重要信息
- 需要 Fabric Loader + Fabric API
- 仅服务端(玩家无需安装任何内容)
- 计时器定义在
config/bosstimer_commands.json中 - 为安全起见,配置重载时会取消活动计时器
配置简单,对玩家可靠,专为实际服务器使用而设计。
示例配置
{
"restart": {
"duration": 60,
"bossbar_message": "⏳ Restart in %s seconds",
"before": [
"tellraw @a {\"text\":\"[ALERT] \",\"color\":\"red\",\"bold\":true,\"extra\":[{\"text\":\"An unplanned server restart is about to take place. Please plan accordingly.\",\"color\":\"yellow\"}]}",
"title @a title {\"text\":\"Restart Incoming!\",\"color\":\"gold\"}"
],
"after": [
"tellraw @a {\"text\":\"[ALERT] \",\"color\":\"yellow\",\"bold\":true,\"extra\":[{\"text\":\"The server is restarting soon.\",\"color\":\"yellow\"}]}"
],
"triggers": {
"30": {
"message": "⏳ 30 seconds remaining."
},
"10": {
"message": "⏰ 10 seconds!"
},
"5": {
"message": "⚠️ Restarting soon..."
}
}
},
"scheduledrestart": {
"duration": 300,
"bossbar_message": "Scheduled Restart in %s seconds",
"before": [
"tellraw @a {\"text\":\"[ALERT] \",\"color\":\"red\",\"bold\":true,\"extra\":[{\"text\":\"A scheduled server restart is about to take place. Please plan accordingly.\",\"color\":\"yellow\"}]}",
"title @a title {\"text\":\"Restarting Soon!\",\"color\":\"gold\"}"
],
"after": [
"tellraw @a {\"text\":\"[ALERT] \",\"color\":\"yellow\",\"bold\":true,\"extra\":[{\"text\":\"The server is restarting soon.\",\"color\":\"yellow\"}]}"
],
"triggers": {
"180": {
"message": "⏳ 3 minutes until restart!"
},
"60": {
"message": "⚠️ Restart in 60 seconds!"
},
"10": {
"message": "⏰ 10 seconds!"
}
}
},
"reload": {
"duration": 45,
"bossbar_message": "🔁 Reload in %s seconds",
"before": [
"tellraw @a {\"text\":\"[ALERT] \",\"color\":\"red\",\"bold\":true,\"extra\":[{\"text\":\"An unplanned server reload is about to take place. Please plan accordingly.\",\"color\":\"yellow\"}]}",
"title @a title {\"text\":\"Reload Incoming!\",\"color\":\"gold\"}"
],
"after": [
"tellraw @a {\"text\":\"[ALERT] \",\"color\":\"red\",\"bold\":true,\"extra\":[{\"text\":\"The server is now reloading.\",\"color\":\"yellow\"}]}",
"reload"
],
"triggers": {
"20": {
"message": "⏳ 20 seconds left before reload."
},
"10": {
"message": "⏰ Final 10 seconds!"
},
"5": {
"message": "⚠️ Reload incoming..."
}
}
},
"dropparty": {
"duration": 300,
"bossbar_message": "🎉 Drop Party in %s seconds",
"before": [
"tellraw @a {\"text\":\"[EVENT] \",\"color\":\"aqua\",\"bold\":true,\"extra\":[{\"text\":\"A drop party is starting soon at \",\"color\":\"white\"},{\"text\":\"/warp dropparty\",\"color\":\"yellow\",\"underlined\":true}]}",
"title @a title {\"text\":\"🎁 Drop Party Incoming!\",\"color\":\"aqua\"}"
],
"after": [
"tellraw @a {\"text\":\"[EVENT] \",\"color\":\"aqua\",\"bold\":true,\"extra\":[{\"text\":\"The drop party has begun at \",\"color\":\"white\"},{\"text\":\"/warp dropparty\",\"color\":\"yellow\",\"underlined\":true}]}",
"title @a title {\"text\":\"🎁 Drop Party Started!\",\"color\":\"aqua\"}"
],
"triggers": {
"180": {
"message": "⏳ 3 minutes until drop party at /warp dropparty!"
},
"60": {
"message": "⏰ 1 minute left! Prepare for the drop at /warp dropparty!"
},
"10": {
"message": "🎁 Drop party starting any moment now! Use /warp dropparty!"
}
}
}
}
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。