Combat Guard

About

A Minecraft plugin that prevents combat logging by tracking players who engage in PvP combat. When a player attacks another player, a combat tag is applied for a configurable duration. Tagged players cannot use commands like /spawn, /home, or /tp, cannot teleport, and cannot log out safely. If a tagged player disconnects, their character remains in the world as a combat-logged NPC that other players can kill for rewards. The plugin features configurable tag durations, configurable blocked commands, visual action bar warnings showing remaining combat time, and optional death penalties for combat loggers. It also includes a cooldown system to prevent re-tagging abuse and supports both MySQL and flat-file storage for player combat data.