Can Build (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.0

Syntax

%players% (can|(is|are) allowed to) build %directions% %locations%

Description

Tests whether a player is allowed to build at a certain location. This condition requires a supported <a href='#region'>regions</a> plugin to be installed.

Examples

command /setblock <material>:
	description: set the block at your crosshair to a different type
	trigger:
		player cannot build at the targeted block:
			message "You do not have permission to change blocks there!"
			stop
		set the targeted block to argument

View source