Add a timer to your HUD to stop times or display the current time (ingame or real). You have full controle over your timer with design customization or even automated actions like time stops on certain events (like killing the Ender Dragon) and rules like automaticly set the gamemode to spectator after deaths.
You can also give players the oppertunity to opt in or out to the global timer and let them use their own customized timer, only visible for them!
All commands (except config commands) can be used with /timer
for globale timer or with /ptimer
for personal timer -> /timer resume
resumes global timer & /ptimer pause
pauses your personal timer
Command | Permission | Short Description |
---|---|---|
/timer ... | mutils.command.timer |
Parent command for global timer |
/ptimer ... | mutils.command.ptimer |
Parent command for personal timers |
... resume | Parent Permission | Resumes the timer |
... pause | Parent Permission | Pauses the timer |
... setup | Parent Permission | Modify timer settings & design |
... reset | Parent Permission | Resets the time to zero |
/timer language | mutils.command.timer-config |
Switch between languages |
/timer config | mutils.command.timer-config |
Reload/ Reset/ Save your configuration |
The timer provides a complete design creator inside an easy to use GUI. Custom designs support:
- Separate idle and running state design
- Placeholder for time values to change your syntax
- Separate prefix, suffix and hide rule for every placeholder
- Custom animations like gradients
Adventure MiniMessage styling is supported! All designs are saved in a separate json file.
You can share your best designs in our global designs library for everyone to use or browse for designs you like to use yourself (Does not work in BETA!).
Check out our official FAQ and tutorials if you need help at MUtils.de/timer.
If you have any problems or unanswered questions join our Discord to contact us and share your experience with other users!
MTimer implements a public API that can be used by developers to manipulate or inject into the timer. The API is written in Kotlin like MTimer. The API is located at Maven Central, so no extra repo is needed.
dependencies {
implementation("de.miraculixx:timer-api:1.1.2")
}
You only need to access the Manager Object to interact with the API
val timerAPI = MTimerAPI.instance
if (timerAPI == null) {
// MTimer is not loaded or not installed.
// Remember to add MUtils-Timer as softdepend
return
}
timerAPI.getTimerStatus() // Current status
timerAPI.onStartLogic { // Add your own logic to the timer
print("Timer Started")
}
M-Timer communicates with the MUtils.de servers for:
- version checking (normaly only on startup) (disabled in BETA)
- public design library access (only on manual access) (disabled in BETA)
While communicating the server IP is shared but not saved on our servers. Uploading/ downloading from the public design library requires account authentication