requirePermission

Requires the player to have at least one of the specified permissions.

Return

Throws RequirePermissionException if the player lacks all specified permissions.

Parameters

block

A lambda with receiver to collect permissions.

Throws

if the player lacks all specified permissions.