World Guard (EXPERIMENTAL)
WorldGuard Integration
Overview
EasyBrushes integrates deeply with WorldGuard to provide:
Region protection
Build permissions
Area restrictions
Region Protection
How It Works
Build Checks
Every block placement is checked against WorldGuard regions
Respects region flags and permissions
Prevents unauthorized building
Selection Validation
if (!plugin.getBrushManager().canBuild(player, block)) { // Building not allowed in this region }
Region Flags
WorldGuard flags that affect brushes:
build
: Controls block placementblock-place
: Specific block placement controluse
: Controls brush usage
Permission Integration
Region-Specific Permissions
brushes:
paintbrush:
available_blocks:
stone:
material: STONE
permission: region.build.stone
Permission Hierarchy
WorldGuard Region Permissions
Brush-Specific Permissions
Block-Specific Permissions
Area Restrictions
Placeable Areas
placeable_on: ALL # ALL, SPECIFIC
ALL: Can place on any block (still respects WorldGuard)
SPECIFIC: Only on defined blocks
Region-Based Restrictions
Example WorldGuard region setup:
regions:
build-zone:
flags:
build: allow
use: allow
no-build:
flags:
build: deny
use: deny
Last updated