Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'enchantnamelocked':
- material: BOOK
- slot: NUMBER
- priority: 3
- update: true
- hide_attributes: true
- display_name: '&7Enchant_Name &c&l[LOCKED]'
- lore:
- - '&6&l┃ &7Unlock access to &f&lEnchant_Name I'
- - '&6&l┃ &8➥ &7Cost: &a&l$1'
- left_click_requirement:
- requirements:
- has_money:
- type: has money
- amount: 1
- deny_commands:
- - '[message] &c&l[!] &cYou do not have enough money!'
- - '[sound] BLOCK_NOTE_BLOCK_PLING'
- left_click_commands:
- - '[console] lp user %player_name% perm set enchants.enchantname.1 true'
- - '[takemoney] 1'
- - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- - '[refresh]'
- right_click_requirement:
- requirements:
- has_money:
- type: has money
- amount: 1
- deny_commands:
- - '[message] &c&l[!] &cYou do not have enough money!'
- - '[sound] BLOCK_NOTE_BLOCK_PLING'
- right_click_commands:
- - '[console] lp user %player_name% perm set enchants.enchantname.1 true'
- - '[takemoney] 1'
- - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- - '[refresh]'
- 'enchantname1unlocked':
- material: ENCHANTED_BOOK
- slot: NUMBER
- priority: 1
- view_requirement:
- requirements:
- permission:
- type: has permission
- permission: enchants.enchantname.1
- update: true
- hide_attributes: true
- display_name: '&eEnchant_Name '
- lore:
- - '&a&l┃ &7Left Click to Buy &f&lEnchant_Name '
- - '&a&l┃ &8➥ &7Cost: &d&l1 EXP Level'
- left_click_requirement:
- requirements:
- check_exp:
- type: '>='
- input: '%player_total_exp%'
- output: 7
- deny_commands:
- - '[message] &c&l[!] &cYou do not have enough EXP!'
- - '[sound] BLOCK_NOTE_BLOCK_PLING'
- left_click_commands:
- - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:1'
- - '[console] xp give %player_name% -1L'
- - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- - '[refresh]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement