PolyGuard

Advanced polygonal region protection. Define complex borders beyond simple cubes to protect custom builds.

Overview

PolyGuard solves the age-old problem of protecting circular or irregularly shaped builds. Instead of using a giant, invisible cubic box that accidentally protects terrain you don't want protected, PolyGuard allows you to draw multi-point polygonal borders for pinpoint accuracy.

By utilizing highly optimized 2D ray-casting mathematics, PolyGuard can calculate if a player is within a complex 100-point polygon in fractions of a millisecond, ensuring zero TPS lag even on heavily populated servers with thousands of regions. It is designed to be the ultimate solution for server owners who need precision claiming.

Key Features

  • Multi-Point Selection: Select up to 100 different points to trace the exact outline of your castle walls, rivers, or diagonal roads.
  • Visual Borders: Players walking near the border will see a temporary particle wall, visualizing exactly where the protection begins. No more guessing where the claim ends!
  • Sub-Regions (Parenting): Create smaller polygonal regions inside larger ones, assigning different flags (e.g., PvP allowed in the courtyard, but disabled in the throne room).
  • High Performance: Uses advanced ray-casting mathematics to determine if a player is inside the polygon with zero TPS lag.
  • Comprehensive Flag System: Control mob spawning, TNT explosions, chest access, use of specific items, and much more.

Commands

Below is a list of all PolyGuard commands.

CommandDescription
/polyguardMain PolyGuard command (Aliases: /pg, /rg)