#Deluxe menu lore change
1 messages · Page 1 of 1 (latest)
When you buy an specified item add to the click commands an permission the user receives, for ex
- '[console] lp user %player_name% permission set product_purchased'
And to the buy item add the view requirment
type: '!has permission'
permission: product_purch
and to the purchased item add the view requirment:
type: 'has permission'
permission: product purch
Also dont forget to add the buy item the priority of 1 and to the purchased item the priority of 2
I understood the beginning, sorry...
So I add in ‘click_commands:’ the command you sent above and I let go from that moment on...
I can send the script so that it's clearer if need be
Yes, that is right. But in order for the command to work you need the fallowing things
- Luckperms plugin installed
- PlaceholderAPI plugin installed
- /papi eclaud download Player (with the PlaceholderAPI plugin installed)
It's already done
Yes, now add the view requirments to each item
view_requirment
requirments:
req1:
type: 'has permission'
permission: product_purchased
And then ?