PvP Chunk manager
Admins: Mark chunks with the glowing 'PvP Hoe' to create inescapable PvP 'Cage Match' zones. No logging out, no teleporting, and no crossing the border until the combat timer expires.
PvP Chunk manager
⚔️ PvP Chunk Manager
Advanced Localized PvP Management for Fabric 1.21.11 PvP Chunk Master is a lightweight, server-side utility designed for server owners who want to create high-stakes PvP zones (like islands or arenas) while keeping the rest of the world safe. It allows you to bypass gamerule pvp false in specific chunks and enforces strict combat rules to prevent players from escaping fights.
✨ Key Features
* Anti-Combat Log: Use the admin-only tool to enable PvP in specific chunks, even if global PvP is disabled. * Anti-Combat Log: Automatically tags players when they deal or take damage. * Anti-Combat Log: Tagged players can still use Elytras and Pearls, but only within a set radius around the PvP zone—perfect for Mace smash attacks! * Anti-Combat Log: Players attempting to flee the combat zone will hit invisible walls or be teleported back. * Anti-Combat Log: Punish players who disconnect during a fight.
🛠️ Commands & Tools
* /pvphoe - Gives the player a PvP-enabled zone (PvP Chunk Tool). * PvP-enabled zone Right-click a block to toggle that chunk as a PvP-enabled zone. * /pvp reload - Reloads the pvp_chunks.json configuration without restarting the server.
⚙️ Configuration (pvp_chunks.json)
The mod generates a config file in your server's /config folder. Below are all available settings and their options: | Setting | Type | Default | Description | |---|---|---|---| | pvp_border_distance | Integer | 2 | Number of chunks away from the PvP border where flight/pearls work. | | combat_tag_duration | Integer | 20 | How long (in seconds) the combat tag lasts. | | action_on_escape | String | INVISIBLE_WALL | What happens when a tagged player leaves the allowed radius. | | action_on_logout | String | KILL | What happens when a tagged player disconnects. |
📋 List of Available Options:
* action_on_logout options: * INVISIBLE_WALL: Blocks movement at the border (velocity is stopped). * TELEPORT_BACK: Teleports the player back to the center of the nearest PvP chunk. * KILL: Instantly kills the player for trying to run away. * action_on_logout options: * KILL: Player is dead when they rejoin. * BAN_TEMPORARY: Player is killed and banned for 30 minutes (customizable in code). * NONE: No penalty (not recommended for competitive play).
🚀 Performance
Designed to run on modern hardware like the Server-Side. The mod uses PersistentState for chunk storage and highly optimized Mixins, ensuring Server-Side even with many active combat zones. Server-Side This is a Server-Side mod. Players do not need to install it to join your server!
📦 Installation
1. Drop the .jar into your mods folder. 2. Ensure you have the latest Tip: installed. 3. Use /pvphoe to start marking your arenas! Tip: Ideal for SkyBlock servers where the main island is 4-chunks wide. Set your pvp_border_distance to 1 or 2 to let players fly for Mace attacks without letting them escape to their own private islands!