Hey! Iβm excited to share BossTimerMod, a Fabric mod that lets you create and manage server timers with boss bars, messages, and command triggers. Perfect for events like restarts, boss fights, or scheduled server actions.
/bossbartimercommand to manage timers.- Fully configurable timer durations, messages, and triggers.
- Before and After commands for custom actions.
- Boss bar display for all players, with countdown.
- Tab completion for timer names.
- Safe reload: cancels running timers before loading config.
- Works with Fabric 1.21.1 and LuckPerms permissions.
- Make sure you have Fabric Loader 0.16.10+ and Fabric API 0.116.1+ installed for Minecraft 1.21.1.
- Download the mod
.jar(example):bossbartimer-2.0.1-1.21.1.jar - Place the
.jarin yourmodsfolder. - Start the server or client.
Create a file at 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\"}]}"
,"execute as @a run stopbattle @s"
],
"triggers": {
"30": { "message": "π³οΈ 30 seconds remaining." },
"10": { "message": "π 10 seconds!" },
"5": { "message": "β οΈ Restarting soon..." }
}
}
}durationβ timer length in seconds.bossbar_messageβ shows in the boss bar,%sreplaced by remaining seconds.beforeβ commands executed at the start of the timer.afterβ commands executed after the timer ends.triggersβ optional messages at specific seconds.
- Start a timer:
/bossbartimer start <timerName> - Cancel all timers:
/bossbartimer cancel - Reload configuration:
/bossbartimer reload
bossbartimer.runβ Start or cancel any timer.bossbartimer.reloadβ Reload configuration safely.
Use LuckPerms or another permissions plugin to assign these to your staff.
| Mod Version | Minecraft | Fabric Loader | Fabric API |
|---|---|---|---|
| 2.0.1 | 1.21.1 | 0.16.10+ | 0.116.1+ |
- Created and maintained by FreeSpinner.
- Created and Primarily used on Cobblemon Vulkan.
- Test timers on a small server first to make sure commands and messages are correct.
- Always include
%sinbossbar_messageto show countdown. - Use triggers to alert players before the timer ends for critical events.