#how to make it so that you can buy it once?
1 messages · Page 1 of 1 (latest)
'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!"
I inserted the code but now the menu doesn't work