Advertisement
gogre

Untitled

Jun 15th, 2020
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. menu_title: '&8Browsing Enchant_Name'
  2. open_command:
  3. - enchantname_enchants
  4. size: 27
  5. open_requirement:
  6. requirements:
  7. permission:
  8. type: has permission
  9. permission: menu.open.enchantname_enchants
  10. deny_commands:
  11. - '[message] &c&l[!] &cYou do not have &npermission&c to execute this command.'
  12. items:
  13. 'filler_item':
  14. material: GRAY_STAINED_GLASS_PANE
  15. slots:
  16. - 0
  17. - 1
  18. - 2
  19. - 3
  20. - 4
  21. - 5
  22. - 6
  23. - 7
  24. - 8
  25. - 9
  26. - 10
  27. - 11
  28. - 13
  29. - 15
  30. - 16
  31. - 17
  32. - 18
  33. - 19
  34. - 20
  35. - 21
  36. - 23
  37. - 24
  38. - 25
  39. - 26
  40. display_name: ' '
  41. 'information':
  42. material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjg0ZjU5NzEzMWJiZTI1ZGMwNThhZjg4OGNiMjk4MzFmNzk1OTliYzY3Yzk1YzgwMjkyNWNlNGFmYmEzMzJmYyJ9fX0='
  43. slot: 22
  44. priority: 1
  45. update: true
  46. hide_attributes: true
  47. display_name: '&c&lGo Back'
  48. lore:
  49. - '&7Return to the main Enchants menu'
  50. left_click_commands:
  51. - '[openguimenu] enchants'
  52.  
  53. 'enchantnamelocked':
  54. material: BOOK
  55. slot: 12
  56. priority: 2
  57. update: true
  58. hide_attributes: true
  59. display_name: '&eEnchant_Name I &c&l[LOCKED]'
  60. lore:
  61. - '&a&l┃ &7Click to unlock &f&lEnchant_Name I'
  62. - '&6&l┃ &8➥ &7Cost: &a&l$1'
  63. left_click_requirement:
  64. requirements:
  65. has_money:
  66. type: has money
  67. amount: 1
  68. deny_commands:
  69. - '[message] &c&l[!] &cYou do not have enough money!'
  70. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  71. left_click_commands:
  72. - '[console] lp user %player_name% perm set enchants.enchantname.1 true'
  73. - '[takemoney] 1'
  74. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  75. - '[refresh]'
  76. right_click_requirement:
  77. requirements:
  78. has_money:
  79. type: has money
  80. amount: 1
  81. deny_commands:
  82. - '[message] &c&l[!] &cYou do not have enough money!'
  83. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  84. right_click_commands:
  85. - '[console] lp user %player_name% perm set enchants.enchantname.1 true'
  86. - '[takemoney] 1'
  87. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  88. - '[refresh]'
  89.  
  90. 'enchantname1unlocked':
  91. material: ENCHANTED_BOOK
  92. slot: 12
  93. priority: 1
  94. view_requirement:
  95. requirements:
  96. permission:
  97. type: has permission
  98. permission: enchants.enchantname.1
  99. update: true
  100. hide_attributes: true
  101. display_name: '&eEnchant_Name I'
  102. lore:
  103. - '&a&l┃ &7Click to Buy &f&lEnchant_Name I'
  104. - '&a&l┃ &8➥ &7Cost: &d&l1 EXP Level'
  105. left_click_requirement:
  106. requirements:
  107. check_exp:
  108. type: '>='
  109. input: '%player_total_exp%'
  110. output: 7
  111. deny_commands:
  112. - '[message] &c&l[!] &cYou do not have enough EXP!'
  113. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  114. left_click_commands:
  115. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:1'
  116. - '[console] xp give %player_name% -1L'
  117. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  118. - '[refresh]'
  119. right_click_requirement:
  120. requirements:
  121. check_exp:
  122. type: '>='
  123. input: '%player_total_exp%'
  124. output: 7
  125. deny_commands:
  126. - '[message] &c&l[!] &cYou do not have enough EXP!'
  127. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  128. right_click_commands:
  129. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:1'
  130. - '[console] xp give %player_name% -1L'
  131. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  132. - '[refresh]'
  133.  
  134.  
  135. 'enchantnamelocked':
  136. material: BOOK
  137. slot: 14
  138. priority: 2
  139. update: true
  140. hide_attributes: true
  141. display_name: '&eEnchant_Name II &c&l[LOCKED]'
  142. lore:
  143. - '&a&l┃ &7Click to unlock &f&lEnchant_Name II'
  144. - '&6&l┃ &8➥ &7Cost: &a&l$1'
  145. left_click_requirement:
  146. requirements:
  147. has_money:
  148. type: has money
  149. amount: 1
  150. deny_commands:
  151. - '[message] &c&l[!] &cYou do not have enough money!'
  152. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  153. left_click_commands:
  154. - '[console] lp user %player_name% perm set enchants.enchantname.2 true'
  155. - '[takemoney] 1'
  156. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  157. - '[refresh]'
  158. right_click_requirement:
  159. requirements:
  160. has_money:
  161. type: has money
  162. amount: 1
  163. deny_commands:
  164. - '[message] &c&l[!] &cYou do not have enough money!'
  165. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  166. right_click_commands:
  167. - '[console] lp user %player_name% perm set enchants.enchantname.2 true'
  168. - '[takemoney] 1'
  169. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  170. - '[refresh]'
  171.  
  172. 'enchantname2unlocked':
  173. material: ENCHANTED_BOOK
  174. amount: 2
  175. slot: 14
  176. priority: 1
  177. view_requirement:
  178. requirements:
  179. permission:
  180. type: has permission
  181. permission: enchants.enchantname.2
  182. update: true
  183. hide_attributes: true
  184. display_name: '&eEnchant_Name II'
  185. lore:
  186. - '&a&l┃ &7Click to Buy &f&lEnchant_Name II'
  187. - '&a&l┃ &8➥ &7Cost: &d&l2 EXP Levels'
  188. left_click_requirement:
  189. requirements:
  190. check_exp:
  191. type: '>='
  192. input: '%player_total_exp%'
  193. output: 16
  194. deny_commands:
  195. - '[message] &c&l[!] &cYou do not have enough EXP!'
  196. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  197. left_click_commands:
  198. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:2'
  199. - '[console] xp give %player_name% -2L'
  200. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  201. - '[refresh]'
  202. right_click_requirement:
  203. requirements:
  204. check_exp:
  205. type: '>='
  206. input: '%player_total_exp%'
  207. output: 16
  208. deny_commands:
  209. - '[message] &c&l[!] &cYou do not have enough EXP!'
  210. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  211. right_click_commands:
  212. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:2'
  213. - '[console] xp give %player_name% -2L'
  214. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  215. - '[refresh]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement