#how to make it so that you can buy it once?

1 messages · Page 1 of 1 (latest)

astral wind
#

I have a shop in the menu where titles are sold and after buying the title it changed from buy to wear

pure moat
# astral wind I have a shop in the menu where titles are sold and after buying the title it ch...
  'item_that_can_be_bought_once':
    material: DIAMOND_CHESTPLATE
    slot: 0
    priority: 1
    display_name: "&fDiamond Chestplate"
    view_requirement:
      requirements:
        check_playtime:
          type: '>='
          input: '%vault_eco_balance%'
          output: '200'
    lore:
    - "Buy this Chestplate and wear it!"
    click_commands:
      - '[console] minecraft:give %player_name% diamond_chestplate 1'
      - '[givepermission] cannot.buy.now'
      - "[message] &a&l(!) &aYou have successfully bought one time item"
      - '[refresh]'
      
  'bought_now_wear':
    material: ARMOR_STAND
    slot: 0
    priority: 0
    display_name: "We don't sell 2 same items"
    view_requirement:
      requirements:
        check_permission:
          type: has permission
          permission: cannot.buy.now
    lore:
    - "&7DIDN"T YOU ALREADY BOUGHT IT???"
    - "&7NOW WEAR IT!"
astral wind