Skip to content
◆ TTS-STUDIO docs Discord

Plugins / CombatLogger

CombatLogger

Log out of a fight and your body stays behind

CombatLogger is a free plugin for Paper and Spigot, from 1.17 to 26.x, that stops players from escaping a fight by logging out. When a fight starts both players are tagged, escape commands stop working and a boss bar counts down. A player who disconnects anyway leaves their body behind, and if it gets killed they pay for it when they come back.

How it works in play

For staff

How to use it

  1. Install: drop the jar into /plugins, restart once and it's ready. Install Citizens too if you want the body left behind. English is the default; set language: es for Spanish.
  2. Set the rules in config.yml: tag length, whether mobs tag (PvE), the blocked commands, how long the body stays and the penalty (kill or clear).
  3. Style the HUD: boss bar colour, style and text, and the out-of-combat message. Set combat-hud.enabled: false to hide it.
  4. Apply changes with /combatlog reload.

Commands and permissions

Placeholders

With PlaceholderAPI installed: %combatlogger_in_combat% and %combatlogger_time_left%.

Requirements

None of them is required. Without Citizens, tagging, the countdown and blocked commands still work and no body is spawned. The plugin never refuses to start because an optional plugin is missing.

FAQ

Do the items drop when the body is killed?
No, they drop when the player logs back in and is killed (with the kill penalty). That way the inventory can't drop twice.

Can players get stuck in combat at spawn?
Not in WorldGuard regions with PvP denied, where no one is tagged. Staff can also clear a tag with /combatlog clear.

Can mob damage be left out?
Yes. Set pve-enabled: false and only players tag each other.

Can I translate the messages?
Yes. English and Spanish are included in lang/, in MiniMessage, and missing keys fall back to English.

For questions or bug reports, use the discussion tab on this page or our Discord.

Keep reading