[Library] Combat Checker
A utility data pack to check how long it has been since a player was last in combat
About this Mod
This library/utility creates 3 scoreboards for developers to use
clgd.combat.Ticks_Since_Hurt - Tracks the number of ticks since the player recieved ANY damageclgd.combat.Ticks_Since_Attacked - Tracks the number of ticks since the player was hurt by an entityclgd.combat.Ticks_Since_Attack - Tracks the number of ticks since the player attacked an entity
Due to scoreboard limitations, the counters max out at 2147483647 ticks (approximately 3.4 years).
Available Versions
How to Install [Library] Combat Checker on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "[Library] Combat Checker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+10 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
[Library] Combat Checker server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is [Library] Combat Checker compatible with datapack and fabric and forge and quilt?
[Library] Combat Checker officially supports datapack, fabric, forge, quilt for Minecraft 1.20.4, 1.20.3, 1.20.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with [Library] Combat Checker – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if [Library] Combat Checker consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install [Library] Combat Checker with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial Share Alike 4.0 International
- Server-side
- Required