permission

fun permission(permission: String): EventScope<T>

Adds a condition that checks if the player involved in the event has the specified permission.

Return

The updated EventScope instance.

Parameters

permission

The permission to check.