RegionProtectionProvider

public interface RegionProtectionProvider

Implemented by adapters for region/claim plugins (WorldGuard, GriefPrevention, etc.). Registered with LocationQueryRegistry so scripts and other plugins can ask "is this location protected?" without knowing which region plugin is installed.

Inheritors

Functions

Link copied to clipboard
public boolean canBuild(Player player, Location location)
Player-aware build check.
Link copied to clipboard
public abstract boolean isProtected(Location location)
Link copied to clipboard
public abstract String providerName()