#Lore Requirments, Display Requirements.

1 messages · Page 1 of 1 (latest)

silk elm
#

Hello, I was a bit confused on how to make it so, if you have 'x' permission, you can show this lore but if you don't it will show a lore that says "You can't do this", but if you do then it will grant it.

#

the whatever item/reward

silk elm
pliant sun
#
items:
  '1':
    material: dirt
    slot: 0
    priority: 0
    view_requirement:
      requirements:
        perm:
          type: has perm
          permission: permission.perm
    lore:
    - "Hasperm"
  '2':
    material: dirt
    slot: 0
    priority: 1
    lore:
    - "noperm"
#

You use view requirement and priority combined to switch the entire item

silk elm
#

and also are the priorities for items different

#

like for saylike u did item "1" and item "2", and I do item "3" and "4" with the same priority just with different slots and materialm

#

would that priority level conflict with the previous items

pliant sun
#

priority is per slot

silk elm
#

I would also like to know how I can also set a cooldown alongside this