Stop players from escaping PvP by running into protected zones! CombatBorder creates a visible glass wall at WorldGuard region borders when a player is tagged in combat.
Visible glass wall appears at safe zone border when in combat
Combat tagging system with configurable duration- 🪬 Ender Pearl blocking near safe zone borders during combat
Wall automatically disappears when combat expires
Fully configurable messages and wall height
WorldGuard integration
Extremely lightweight — no lag, no databases
yaml
combat-duration: 15 # How long combat tag lasts (seconds)
wall-height: 6 # Height of the glass wall
blocked-message: "..." # Message shown when player is blocked
pearl-blocked-message: "..." # Message shown when pearl is blocked
| Command | Permission | Description |
|---|---|---|
| /cb | combatborder.admin | Show plugin info |
| /cb reload | combatborder.admin | Reload the config |
| Permission | Default | Description |
|---|---|---|
| combatborder.admin | OP | Access to /cb commands |
| combatborder.bypass | false | Bypass combat tagging completely |
- Paper or Spigot 1.21+
- Java 21
- WorldGuard plugin
- Download CombatBorder-1.0.0.jar
- Place the JAR file into your /plugins/ folder
- Make sure WorldGuard is installed
- Restart your server
- Edit /plugins/CombatBorder/config.yml to your liking
- Run /cb reload to apply changes
Step 1 — Combat Tagging When two players hit each other, both are tagged in combat for the configured duration (default 15 seconds). Players with the combatborder.bypass permission are never tagged.
Step 2 — Glass Wall If a tagged player tries to walk into a WorldGuard protected region, a glass wall appears at the border. The wall is only visible to the tagged player — other players see nothing. The wall is 7 blocks wide and configurable in height.
Step 3 — Ender Pearl Blocking If a tagged player tries to throw an Ender Pearl near a safe zone border, the pearl is blocked and a configurable message is shown.
Step 4 — Wall Removal When the combat timer expires, the glass wall automatically disappears and the player can freely enter the safe zone again.
- Set up WorldGuard regions for your spawn, shop, and other safe areas
- Increase combat-duration for stricter servers
- Give combatborder.bypass to staff members so they are never blocked
- Use /cb reload after any config changes — no restart needed
