Plugin Documentation – CombatLog Overview CombatLog is a lightweight and efficient combat logging plugin that prevents players from escaping combat by logging out. If a player logs out while in combat, they are instantly killed, and their opponent is notified. The plugin also displays a live actionbar timer showing how long a player remains in combat.
Features
Enables combat only when another player’s health actually decreases from the hit.
Prevents combat from triggering in non-survival gamemodes or worlds with PvP disabled.
Tracks combat for 20 seconds (resets on re-hit).
Displays combat timer in the action bar.
Sends combat join/exit messages.
Broadcasts when someone combat logs.
Kills and drops items if a player logs out during combat.
Re-joins show a message informing the player they were killed for combat logging.
No configuration required — all values are hardcoded.
Installation
Place the plugin .jar into your server's plugins/ folder.
Restart or reload the server.
Done! The plugin is ready to use with default behavior.
️ How to Use Just play the game:
Hit another player while both are in survival mode and PvP is enabled.
If the target actually takes damage, both players enter combat for 20 seconds.
Re-hitting resets the timer.
Logging out during combat results in immediate death and item drops.
Notes
Works with all standard weapons, projectiles, and explosion-based PvP.
Designed to work without external dependencies like WorldGuard.
Ideal for PvP-focused or semi-vanilla servers looking for a plug-and-play combat logging solution.