ModsFinder

Combat Timer

by AdyTech99

Combat Timer is a server-side Fabric mod that starts a configurable cooldown when a player enters combat, with a logger for anti-combat cases.

FabricServer-side onlyApache License 2.0Open source1.20.1 – 1.21

What it does

The mod tracks combat between players and runs a timer that can be adjusted in cooldown length and in the warning message shown to players. Server owners can choose whether friendly fire, meaning a player punching another player with a fist, counts as combat, and the combat settings are kept in a config file. A simple logger records anti-combat cases. Because only the server needs the mod, players join without installing anything. Combat Timer requires Fabric API and YetAnotherConfigLib (YACL), and it is published for Fabric across 1.20.1 – 1.21, with 2.0-beta for 1.21 as the latest file. The code is open source under the Apache License 2.0.

Key features

  1. Adjustable cooldown

    The length of the combat timer can be set, and the warning message shown to players can be changed.

  2. Friendly fire option

    Server owners can allow or disallow friendly fire, so punches between players can count toward combat.

  3. Anti-combat logger

    A simple logger records anti-combat cases so server staff can follow them up later.

Compatibility

Latest build for each game version and loader.

1.212.0-beta
1.20.51.0.1
1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
1.20.11.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required
YetAnotherConfigLib (YACL)A builder-based configuration library for Minecraft!
Required

Questions

Does Combat Timer need to be installed on clients?

No. It runs on the server alone, so players need nothing extra to join.

Which dependencies does Combat Timer require?

Fabric API and YetAnotherConfigLib (YACL) are required, and both must be installed on the server next to Combat Timer.

More from AdyTech99

All projects

What the author says

What is 'friendly-fire' Friendly fire in this case is when a player punches another player with their fist. In such cases, you have to option to not count it as combat in the config. Compatible with Minecraft versions 1.20.1+, compatible with Homeward Bound
AdyTech99, on the Modrinth page

Official listing

Owner
AdyTech99
Published
2024-03-17
Updated on Modrinth
2024-06-19
Facts verified
2026-10-15