⚔️ CombatGuard Pro — Universal Multi-Threaded PvP & Anti-CombatLog Engine

CombatGuard Pro is an ultra-lightweight (~67 KB), zero-dependency anti-combat-logging and PvP tagging engine engineered to run on every major Minecraft server platform (Folia, Paper, Purpur, Spigot, and CraftBukkit) across Minecraft 1.16.5 through 26.3 from a single universal JAR.
No heavy addon packs, no paid "Pro" paywalls, no Adventure NoClassDefFoundError crashes on Spigot, and no Folia region-thread exceptions.
🌐 Official Minecraft Server — HYDRAZ Network
Experience our projects live on a high-performance Java & Bedrock multiplayer server!
| Platform |
Server IP |
Port |
| ☕ Java Edition |
play.hydraz.online |
25565 (Default) |
| 📱 Bedrock Edition |
bedrock.hydraz.online |
443 |
⚡ Why Server Owners Switch to CombatGuard Pro
| Feature / Capability |
⚔️ CombatGuard Pro v2.0 |
Legacy Combat Plugins |
Minimalist CombatLog Plugins |
| True Folia Entity & Region Threading |
✅ Native (EntityScheduler) |
❌ Single-thread / Crashes |
⚠️ Partial or None |
| Single JAR: 1.16.5 → 26.3 |
✅ All 35 Releases |
⚠️ Split JARs / Outdated |
❌ 1.21+ Only |
| Bukkit + Spigot + Paper + Purpur + Folia |
✅ Zero-Adventure Universal |
⚠️ Paper-only or Legacy |
❌ Paper-only |
MiniMessage Gradients + Hex + & Legacy |
✅ Built-in Everywhere |
❌ Legacy & Only |
⚠️ Paper Only |
| Crystal PvP, Lingering Potions & Pets |
✅ Full Attribution |
⚠️ Addon Required |
❌ Melee/Arrow Only |
| Per-Item Combat Cooldowns (Pearls/Gapples/Wind) |
✅ Native Hotbar Cooldown |
💰 Paid / Separate Plugin |
❌ Missing |
| WorldGuard SafeZone Anti-Entry Barrier |
✅ Built-in Knockback |
💰 Paid / Addon |
❌ Missing |
| Vault Combat-Log Fines + Attacker Bounty |
✅ Flat or % Payout |
⚠️ Basic |
❌ Missing |
| Command Blacklist / Whitelist + Anti-Namespace |
✅ Blocks /plugin:cmd |
⚠️ Prefix Bypassable |
⚠️ Blacklist Only |
| Kick & Server Shutdown Exemption |
✅ Smart Reason Filter |
⚠️ Optional |
❌ Kills on Restart |
🔥 Core Features
🛡️ Universal Cross-Version Architecture (1.16.5 – 26.3)
- Folia Region & Entity Native: Cached-reflection
SchedulerUtil dispatches every BossBar tick, ActionBar update, sound effect, and opponent combat-log alert strictly onto each player's owning Folia entity thread.
- Zero-Crash UI Bridge: Built-in MiniMessage gradient (
<gradient:#ff4444:#ffaa00>), hex (<#RRGGBB>, &#RRGGBB), and & legacy color renderer with smooth 10-tick BossBar color transitions (Red → Yellow → Green) and ActionBar timers across Bukkit, Spigot, Paper, Purpur, and Folia.
- Registry-Safe Sound Engine: Uses Minecraft string sound keys (
entity.ender_dragon.growl, etc.) with automatic legacy enum conversion—zero Sound.valueOf() crashes on 1.21.3+ or 26.3.
⚔️ Complete Modern PvP Attribution
- Tags attackers and victims across Melee, Projectiles (Arrows, Tridents, Crossbows, Fireworks, Wind Charges), Primed TNT, End Crystal detonations, Lingering Potion clouds, and Tamed Wolves/Pets.
- Supports Disabled Worlds (
combat.disabled-worlds) so lobby and hub worlds stay completely untouched.
🚫 Anti-Exploit & Movement Controls
- Command Blacklist OR Whitelist Mode: Choose
BLACKLIST or WHITELIST in config.yml. Automatically strips plugin namespaces (/essentials:spawn → /spawn) so players can never bypass command blocks.
- Combat Item Cooldowns: Configure combat-only cooldowns for
ENDER_PEARL, CHORUS_FRUIT, ENCHANTED_GOLDEN_APPLE, GOLDEN_APPLE, WIND_CHARGE, and more—synced directly with the vanilla Minecraft hotbar cooldown overlay.
- WorldGuard SafeZone Anti-Entry Barrier: Automatically detects WorldGuard 7
pvp: deny regions via zero-dependency reflection and smoothly pushes combat-tagged players back (and blocks pearl/chorus entry) before they can hide in spawn.
- Escape Prevention: Blocks Elytra gliding, Firework rocket boosts, Riptide trident launches, creative/fly toggles, Ender Chests, Shulker Boxes, Nether/End portals, and optional teleports.
☠️ Fair & Flexible Combat-Log Punishments
- 3 Punishment Modes:
KILL (instant death, drops loot, broadcasts death & alerts opponent), COMMANDS_ONLY, or NONE.
- Vault Economy Fines & Attacker Bounties: Deduct a flat fine or percentage of balance when a player combat-logs, and optionally pay it straight to their opponent as a PvP bounty.
- Kick & Shutdown Exemption: Protects players from unfair combat-log deaths during server restarts, lag timeouts, or AFK kicks—while still punishing anti-cheat/combat kicks via configurable
punish-kick-reasons.
📜 Commands & Permissions
| Command |
Description |
Permission |
/cg or /cg status |
Check your active combat timer and opponent |
combatguard.use (default: true) |
/cg stats [player] |
View session combat tags & combat-log stats |
combatguard.use (others: admin) |
/cg list |
List all currently combat-tagged players |
combatguard.admin (default: op) |
/cg info |
Inspect scheduler mode, active tags, and hooks |
combatguard.admin (default: op) |
/cg tag <player> [seconds] |
Force-tag a player with optional custom duration |
combatguard.admin (default: op) |
/cg untag <player> |
Remove a player's active combat tag |
combatguard.admin (default: op) |
/cg reload |
Hot-reload config.yml and UI intervals |
combatguard.admin (default: op) |
Aliases: /combatguard, /cg, /combattag, /ct
Bypass Permissions:
combatguard.bypass — Exempt from combat tagging & all restrictions
combatguard.bypass.commands — Bypass blocked commands while tagged
combatguard.bypass.elytra — Bypass Elytra & Riptide blocks while tagged
combatguard.bypass.cooldowns — Bypass combat item cooldowns
combatguard.bypass.safezone — Enter WorldGuard SafeZones while tagged
combatguard.bypass.punish — Exempt from disconnect punishments
🔗 PlaceholderAPI Expansion (%combatguard_*%)
| Placeholder |
Output Example |
%combatguard_in_combat% |
true / false |
%combatguard_time_left% |
12 |
%combatguard_time_left_decimal% |
11.6 |
%combatguard_time_formatted% |
00:12 |
%combatguard_opponent% |
Steve / None |
%combatguard_opponent_health% |
14.5 |
%combatguard_status% |
In Combat / Safe |
%combatguard_progress% |
0.80 |
%combatguard_combat_logs% |
2 |
%combatguard_total_tags% |
14 |
%combatguard_active_count% |
6 |
📦 Installation
- Download
CombatGuard-2.0.0.jar and place it into your server's plugins/ folder.
- Restart your server (supports Bukkit, Spigot, Paper, Purpur, and Folia on Java 17+ and Minecraft 1.16.5 – 26.3).
- (Optional) Install Vault, PlaceholderAPI, and/or WorldGuard for economy fines, placeholders, and SafeZone anti-entry barriers.
- Customize
plugins/CombatGuard/config.yml and run /cg reload! Existing v1.0.0 configs auto-migrate seamlessly.