Can Build In Regions (Condition) — skript-worldguard

Addon: skript-worldguard · Category: Condition · Since: 1.0

Syntax

%players% (is|are) allowed to build (%-directions% %-locations%|[in] %-worldguardregions%)

Description

A condition to test whether a player can build in a region or at a specific location.

Examples

command /setblock <material>:
	description: Sets your targeted block to a different type.
	trigger:
		if the player cannot build at the targeted block:
			message "<red>You do not have permission to modify your targeted block!"
		else:
			set the targeted block to the material-argument

View source