Combat log mod
by CodeMC
Combat Log Mod gives server owners a way to penalize players who disconnect during a fight, so the logout does not let them keep their gear.
What it does
The mod marks a player as in combat for a configurable number of seconds once they take part in a fight. If that player disconnects while the tag is active, the server applies a punishment chosen in the config, such as killing the player or dropping their items. Custom chat and action bar messages inform players when the combat tag starts, ends or is triggered, so the rule is visible to everyone involved.
Only the server needs the mod, and it writes its configuration file to the server's config folder on first start. Players join without installing anything, and the mod is published for Fabric only, with builds covering 1.21.3 – 26.2. Files exist for 1.21.3 – 1.21.11 along with 26.1.2 and 26.2, and the latest file is for 26.2. The mod is released under the MIT License but is not open source.
Key features
Combat tag timer
A configurable number of seconds keeps a player tagged after a fight, and the timer is set in the server config.
Logout punishment
Disconnecting while tagged triggers a chosen penalty, such as killing the player or dropping their items.
Custom messages
Chat and action bar messages can be set to notify players when the combat tag starts or expires.
Client compatibility
Players on optimization clients such as Lunar Client and Prism, including Sodium-based setups, can join without changes.
Gallery
Compatibility
Latest build for each game version and loader.
26.x2 of 2 versions with builds
1.21.x9 of 9 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Anarchy and factions servers
Servers that run competitive survival or PvP factions use the combat tag to discourage players from logging out mid-fight.
Ranked PvP
Ranked servers can rely on the punishment settings to keep fights fair, since players cannot escape a loss by disconnecting.
Who it’s for: Server owners who run PvP or competitive survival worlds and want a server-side rule against combat logging. Players on the server do not need to install anything.
Questions
Does Combat Log Mod need to be installed on the client?
Which game versions does Combat Log Mod support?
Where are the punishment settings stored?
In the catalog
Combat log mod is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 13,894 mods support Minecraft 26.2.
More from CodeMC
Similar mods
What the author says
Tired of players disconnecting in the middle of a fight to avoid losing their hard-earned gear? The Combat Log Mod is a lightweight, robust, and completely server-side solution designed to enforce fair play and eliminate combat logging on your server. Perfect for Ranked PvP, Factions, Anarchy, or any competitive…
Official listing
- Modrinth page
- modrinth.com/mod/combat-log-mod
- Owner
- CodeMC
- Published
- 2026-06-19
- Updated on Modrinth
- 2026-07-25
- Facts verified
- 2026-10-15
