LuckPerms luckperms/has_permission

LP Has Permission

Checks whether a player has a specific permission node using the LuckPerms API.

Note: Requires LuckPerms to be installed. Falls back to Bukkit's hasPermission() if LuckPerms is unavailable.

Inputs

NameTypeOptionalDescription
player player Player to check.
permission string Permission node to check.

Outputs

NameTypeDescription
result boolean True if the player has the permission.

Properties

KeyTypeDefaultDescription
permission string "" Permission node (e.g. myplugin.use).