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
| Name | Type | Optional | Description |
|---|---|---|---|
player |
player | Player to check. | |
permission |
string | ✓ | Permission node to check. |
Outputs
| Name | Type | Description |
|---|---|---|
result |
boolean | True if the player has the permission. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
permission |
string | "" |
Permission node (e.g. myplugin.use). |