#not working

1 messages · Page 1 of 1 (latest)

lament whale
#

when the player buys this on my custom shop, it should disappear (im doing it with permissions, prob not the best way to do it but idk any other way)

  'NETHEITE_PERM':
    material: NETHERITE_INGOT
    slot: 11
    priority: 1
    update: true
    hide_attributes: true
    display_name: '&8&lNetheite Abillity!'
    lore:
      - '&8After buying the Netherite Abillity'
      - '&8You will be able to buy Netherite'
      - '&8Blocks for a rate of $17 per Island'
      - '&8Level! However Costs 10M to unlock!'
    view_requirement:
      Requirement:
      type: has permission
      permission: NetheriteL.LS
    left_click_requirement:
      requirements:
        has_money:
          type: has money
          amount: 10000000
      deny_commands:
        - '[message] &c&lYou don''t have enough money for this!'
    left_click_commands:
      - '[takemoney] 10000000'
      - '[givepermission] netheriteU.LS'
      - '[takepermission] netheriteL.LS'

after i buy it its not disappearing from the shop?

half vaporBOT
#
FAQ Answer:
view_requirement:
  requirements:
    requirement_name:
      type: TYPE

More info on the Wiki

unique mirage
#

@lament whale you have improper indentation and you are missing the requirement name this