


What is CombatLog?
CombatLog prevents players from disconnecting while fighting another player. This is achieved by killing the player if they try to leave.
Why should I use CombatLog?
If your server aims to provide fair and fun fights, CombatLog is a must to stop players from disconnecting as soon as they are close to dying.
Config
To configure this mod:
- Start the server with CombatLog in your plugins folder
- Navigate to plugins/CombatLog/config.yml
- Open the file with a text editing program of your choice
- Save the file once you're done
- Run /combatlog-reload to reload the configuration
CombatTime
The time a player is considered as being in combat after hitting or getting hit by another player. The default value is 30 seconds.
BarLength
The length of the bar which acts like a loading bar until you can get out of combat. The default value is also 30 seconds. It is recommended but not a must to set this value to a multiple/fraction of the CombatTime (eg. CombatTime: 30 BarLength: 120 or 30 or 15).
DeathMsg
The custom death message for players who disconnect during combat. The default value is "%player% quit while fighting %killer%!". The strings %player% and %killer% are variables, that means they are replaced by the name of the player and the killer in the actual message.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20, 1.20.1, 1.20.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as CombatLog-1.0.jar — drop this file into the mods folder
- Download size: 13 KB
- Download link checked 1 Sept 2026 — working
These come from our own check of the pack file, not from the source page.