#SKILL GUI VIEW PERMISSION
1 messages · Page 1 of 1 (latest)
It takes a bit of work but you can add view_conditions to the menus/skills.yml file for each context of the skill template like this:
templates:
skill:
contexts:
archery:
group: first_row
order: 1
material: bow
view_conditions: # Add this section
- permission: auraskills.skill.archery
fighting:
group: first_row
order: 2
material: iron_sword
flags:
- hide_attributes
view_conditions: # Add under each skill
- permission: auraskills.skill.fighting
Thanks a lot, I will check
What happen if the player hasn’t the permission? Which item will appear?
nothing, or the fill background item
if you need a different item you can add one in the items section
ok, btw, is there a way to select more than one slot for a item?
yes, just use a list for pos
How ? pos:[2,2,4,5]
Read this https://wiki.aurelium.dev/slate/items
Guide to configuring items