has-permission
Check if the player has a specified permission
Condition Syntax
conditions:
- id: has-permission
permission: "nexus.mine.use" # single permission node (string)
#permissions: # list of permission nodes (string list)
# - "nexus.mine.use"
# - "nexus.mine.vip"
# --- Groups (need LuckPerms to be installed) ---
#group: "vip" # optional: single group name (string)
#groups: # optional: list of group names (string list)
# - "vip"
# - "admin"
require-all: false # optional (default: false)
# false = OR logic within permissions, and within groups
# true = AND logic within permissions, and within groups
#
# If you define BOTH permissions and groups:
# -> both sections must pass (AND).
send-message: false # optional (default: true)
as-actionbar: false # optional (default: false)Last updated