CombatGuard
PluginLicenseRef-All-Rights-Reserved

CombatGuard

A lightweight combat logging solution featuring real-time BossBar timers and configurable logout penalties.

16
Downloads
0
Followers
2 months ago
Updated
📦
1
Versions

📖About CombatGuard

🛡️ CombatGuard

CombatGuard is a high-performance, lightweight, and fully customizable combat logging solution for modern Minecraft servers. It ensures fair play by preventing players from "combat logging"—disconnecting during a fight to avoid death.

With its sleek BossBar integration and robust punishment system, CombatGuard provides both players and admins with the tools they need to maintain a competitive and honest environment.

✨ Features

⚡ Real-Time BossBar Timer: Players see a dynamic, color-coded countdown at the top of their screen, so they know exactly when it's safe to log out.

💀 Instant Justice: Any player who leaves the server while in combat is automatically killed, and their items are dropped as if they had been defeated in battle.

📢 Global Notifications: Optional broadcast messages inform the entire server when a player cowers away from a fight.

🛠️ Admin Control: Toggle the protection on or off and reload configurations instantly with simple in-game commands.

🧩 Highly Compatible: Built on the latest Spigot API, fully supporting Paper, Purpur, and Bukkit servers.

🚀 Zero Lag: Optimized code ensures that combat tracking won't impact your server's TPS, even during massive PvP encounters.

🛠️ Commands

/combatguard enable

Enables the combat logging protection.

/combatguard disable

Disables the combat logging protection.

/combatguard reload Reloads the config.yml file.

⚙️ Configuration

CombatGuard is designed to be plug-and-play, but you can tweak every detail in the config.yml:
YAML

📥 Installation

  1.     Download the CombatGuard.jar file.
  
  2.     Place it into your server's plugins folder.
   
  3.     Restart your server.