A simple (not so much anymore) mod to try to prevent players from leaving while in combat.
- Customizable Combat Timer – Set how long players stay in combat.
- Damage Source Control – Choose if combat triggers from players, mobs, or all damage.
- Restrict Movement Items – Disable elytra flight and ender pearl use during combat.
- Command Blacklist – Block specific commands (like
/home) while in combat. - Fully Customizable Messages – Change every alert and death message.
- Disconnect Punishment – Choose to kill the player or run a command if they log out in combat.
The jar files are on Modrinth and Curseforge as well as the actions tab on github for dev releases.
The config file is locating at config/combatlog-common.json5
To build from source you'll need IntelliJ with the Stonecutter Dev and Minecraft Development plugins, as well as java 21, 17, and 8 installed.