Combat Logger
Combat log Mod. Players get punished for logging out while in combat.
- Loaders
- Fabric
- Downloads on Modrinth
- 87
- Followers on Modrinth
- 0
- version
- 1
- Updated
- July 23, 2026Jul 23
- Published
- in 2026
At a glance
Install on the server only; players don't need it
Combat Log
Combat Log is a lightweight Fabric mod that adds configurable combat protection to your server. When a player is damaged, they are marked as being in combat for a set duration. During that time, selected commands can be blocked, and players who disconnect while still in combat can be punished according to your server settings.
🔧 How it works
Players enter combat after taking damage, and the combat state lasts for a configurable amount of time. While in combat, blocked commands are prevented, and players who leave the game during that window can be punished automatically based on your configuration.
✨ Features
/combatlog time <seconds>– sets the combat duration
/combatlog status– shows the current combat settings
/combatlog reload– reloads the config from disk
/combatlog blockcommands on/off– enables or disables command blocking during combat
/combatlog blockcommands list– shows all blocked commands
/combatlog blockcommands add <command>– adds a command to the blocked list
/combatlog blockcommands remove <command>– removes a blocked command
/combatlog logoutpunish on/off– enables or disables punishment on logout
/combatlog logoutpunish list– shows all configured punishment commands
/combatlog logoutpunish add <command>– adds a punishment command
/combatlog logoutpunish remove <command>– removes a punishment command
/combatlog logoutpunish ifattacker on/off– only punish if the player was the attacker
/combatlog markboth on/off– mark both players as being in combat
⚙ Configurable
Combat duration Command blocking during combat Blocked command list Logout punishment behavior Punishment command list Whether both players are marked in combat
Perfect for PvP servers, survival servers, and any community that wants stronger combat rules and better anti-abuse protection.
In Combat

Punishment Message after logging in again

Punished Person after logging in.

FAQ
How to install Combat Logger?
Install Fabric for your Minecraft version, download Combat Logger for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Combat Logger support?
Combat Logger has builds for Minecraft 26.1.2.
Is Combat Logger needed on the server?
Server only — players don't need to install it