HomeJavaDatapacksAnti Combatlog test
Anti Combatlog test
Anti Combatlog test — screenshot 1Anti Combatlog test — screenshot 2

Anti Combatlog Datapack

This datapack is to prevent combat logging in Minecraft. When you get hit or you hit an entity you get put in combat mode for 20s (configurable). If the timer is active and you leave, you will get killed upon spawning.

Change combat mode time

As an operator you can run the command below to set the combat time.
/scoreboard players set .config xv_combat_timer_seconds <time in seconds>

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more