Mayhem Combat Engine v1.6 | Ultimate PvP Security
Stop Combat-Logging. Prevent Spawn-Running. Master Your Server's PvP.Are you tired of players "Alt-F4-ing" the moment they start losing a fight? Or frustrated by "Spawn-Runners" who hit a player and immediately dash back into a safe zone? Mayhem Combat Engine v1.6 is a professional-grade Skript solution designed to enforce fair play, high-stakes combat, and total tactical accountability on your server.
Why Your Server Needs Mayhem Combat Engine
In modern competitive Minecraft (Factions, Lifesteal, KitPvP), the "Combat Tag" is the most important mechanic. If a player can simply vanish or hide in a safe zone, the economy and competitive integrity of your server fail. Mayhem provides a sleek, high-performance, and visually modern system to ensure that once a fight starts, it only ends in a kill or a clean escape.
Deep-Dive: Core Engine Features
Advanced Combat Tagging System
The engine uses a high-precision UUID tracking system to monitor every player interaction.- Dual-Tagging Logic: Both the aggressor and the victim are instantly tagged. The attacker is notified of who they engaged, and the victim is warned that logging out will lead to death.
- Modern UI/UX: Players don't have to check their chat to see their status. A sleek Action Bar displays a live countdown (e.g., IN COMBAT » 12s | do not logout).
- Dynamic Refresh: Every hit resets the 15-second timer (customizable), keeping players in the heat of battle until the engagement truly ends.
Physical Spawn Protection (Anti-Safezone)
Most combat-tag plugins just disable PvP in spawn. Mayhem goes further:- The "Force-Push" Mechanic: If a tagged player attempts to enter your designated "Spawn" region, the engine physically launches them backward at high speed.
- Tactical Consequence: Players can no longer "toe the line" of a safe zone. They must stay in the arena until their timer hits zero.
Lethal Anti-Log System
We believe in "Instant Justice."- Combat Slaying: If a player disconnects (Quit/Crash/Alt-F4) while tagged, the server instantly executes a /kill on their character.
- Global Broadcasts: The entire server is notified when someone tries to log out. This builds a culture of fair play and shames "combat-loggers" publicly.
Command & Economy Locking
To prevent "Cheating the System," Mayhem locks critical commands during combat:- Anti-Teleport: Blocks /tp, /home, /spawn, /tpa, and /warp.
- Economy Protection: Blocks /shop, /ah, and /pay to prevent players from hiding items or money while they are about to die.
Technical Specifications
- Optimized Loops: Uses a single every 1 second loop for all online players to minimize CPU usage and maintain 20.0 TPS.
- Color Themes: Pre-configured with a "Mayhem" Bold Blue & White aesthetic.
- Customization: Easily change the tag duration, prefix, and blocked commands in the options: block.
- Dependencies: Requires Skript and WorldGuard (for region detection).
Installation & Commands
- Ensure Skript and WorldGuard are installed.
- Navigate to /plugins/Skript/scripts/.
- Create MayhemCombat.sk and paste the code.
- Run /sk reload MayhemCombat.
- No commands needed for players! Everything is automatic.
- Staff can modify the spawn_region option to match their WorldGuard region name.
What’s Included?
- The full Mayhem Combat Engine v1.6 source code.
- Commented sections for easy developer editing.
- Lifetime support via our community Discord.
Support & Community
Join our Discord for updates, bug reports, and feature requests:https://discord.gg/2yH2yRUdWf
