Class WorldGuardBridge
java.lang.Object
dev.despical.mazeengine.integration.WorldGuardBridge
Checks optional WorldGuard build permissions before maze terrain is edited.
Each queried block must permit both placement and breaking for the actor. Players are adapted to WorldGuard local players, and WorldGuard's own session bypass is respected. Console and remote-console senders are trusted administrative actors.
MazeEngine's terrain-protection bypass does not bypass WorldGuard. If the integration becomes unavailable or a region denies the action, the check throws and world work stops through the operation's normal failure path. Checks access live region and block state on the server thread.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(org.bukkit.command.CommandSender actor, org.bukkit.block.Block block)
-
Constructor Details
-
WorldGuardBridge
public WorldGuardBridge()
-
-
Method Details
-
check
public void check(org.bukkit.command.CommandSender actor, org.bukkit.block.Block block)
-