gogre

Untitled

Jun 15th, 2020
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 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. - 15
  29. - 16
  30. - 17
  31. - 18
  32. - 19
  33. - 20
  34. - 21
  35. - 23
  36. - 24
  37. - 25
  38. - 26
  39. display_name: ' '
  40. 'information':
  41. material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjg0ZjU5NzEzMWJiZTI1ZGMwNThhZjg4OGNiMjk4MzFmNzk1OTliYzY3Yzk1YzgwMjkyNWNlNGFmYmEzMzJmYyJ9fX0='
  42. slot: 22
  43. priority: 1
  44. update: true
  45. hide_attributes: true
  46. display_name: '&c&lGo Back'
  47. lore:
  48. - '&7Return to the main Enchants menu'
  49. left_click_commands:
  50. - '[openguimenu] enchants'
  51.  
  52. 'enchantnamelocked':
  53. material: BOOK
  54. slot: 12
  55. priority: 2
  56. update: true
  57. hide_attributes: true
  58. display_name: '&eEnchant_Name I &c&l[LOCKED]'
  59. lore:
  60. - '&a&l┃ &7Click to unlock &f&lEnchant_Name I'
  61. - '&6&l┃ &8➥ &7Cost: &a&l$1'
  62. left_click_requirement:
  63. requirements:
  64. has_money:
  65. type: has money
  66. amount: 1
  67. deny_commands:
  68. - '[message] &c&l[!] &cYou do not have enough money!'
  69. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  70. left_click_commands:
  71. - '[console] lp user %player_name% perm set enchants.enchantname.1 true'
  72. - '[takemoney] 1'
  73. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  74. - '[refresh]'
  75. right_click_requirement:
  76. requirements:
  77. has_money:
  78. type: has money
  79. amount: 1
  80. deny_commands:
  81. - '[message] &c&l[!] &cYou do not have enough money!'
  82. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  83. right_click_commands:
  84. - '[console] lp user %player_name% perm set enchants.enchantname.1 true'
  85. - '[takemoney] 1'
  86. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  87. - '[refresh]'
  88.  
  89. 'enchantname1unlocked':
  90. material: ENCHANTED_BOOK
  91. slot: 12
  92. priority: 1
  93. view_requirement:
  94. requirements:
  95. permission:
  96. type: has permission
  97. permission: enchants.enchantname.1
  98. update: true
  99. hide_attributes: true
  100. display_name: '&eEnchant_Name I'
  101. lore:
  102. - '&a&l┃ &7Click to Buy &f&lEnchant_Name I'
  103. - '&a&l┃ &8➥ &7Cost: &d&l1 EXP Level'
  104. left_click_requirement:
  105. requirements:
  106. check_exp:
  107. type: '>='
  108. input: '%player_total_exp%'
  109. output: 7
  110. deny_commands:
  111. - '[message] &c&l[!] &cYou do not have enough EXP!'
  112. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  113. left_click_commands:
  114. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:1'
  115. - '[console] xp give %player_name% -1L'
  116. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  117. - '[refresh]'
  118. right_click_requirement:
  119. requirements:
  120. check_exp:
  121. type: '>='
  122. input: '%player_total_exp%'
  123. output: 7
  124. deny_commands:
  125. - '[message] &c&l[!] &cYou do not have enough EXP!'
  126. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  127. right_click_commands:
  128. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:1'
  129. - '[console] xp give %player_name% -1L'
  130. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  131. - '[refresh]'
  132.  
  133.  
  134. 'enchantname2locked':
  135. material: BOOK
  136. slot: 13
  137. priority: 2
  138. update: true
  139. hide_attributes: true
  140. display_name: '&eEnchant_Name II &c&l[LOCKED]'
  141. lore:
  142. - '&a&l┃ &7Click to unlock &f&lEnchant_Name II'
  143. - '&6&l┃ &8➥ &7Cost: &a&l$1'
  144. left_click_requirement:
  145. requirements:
  146. has_money:
  147. type: has money
  148. amount: 1
  149. deny_commands:
  150. - '[message] &c&l[!] &cYou do not have enough money!'
  151. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  152. left_click_commands:
  153. - '[console] lp user %player_name% perm set enchants.enchantname.2 true'
  154. - '[takemoney] 1'
  155. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  156. - '[refresh]'
  157. right_click_requirement:
  158. requirements:
  159. has_money:
  160. type: has money
  161. amount: 1
  162. deny_commands:
  163. - '[message] &c&l[!] &cYou do not have enough money!'
  164. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  165. right_click_commands:
  166. - '[console] lp user %player_name% perm set enchants.enchantname.2 true'
  167. - '[takemoney] 1'
  168. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  169. - '[refresh]'
  170.  
  171. 'enchantname2unlocked':
  172. material: ENCHANTED_BOOK
  173. amount: 2
  174. slot: 13
  175. priority: 1
  176. view_requirement:
  177. requirements:
  178. permission:
  179. type: has permission
  180. permission: enchants.enchantname.2
  181. update: true
  182. hide_attributes: true
  183. display_name: '&eEnchant_Name II'
  184. lore:
  185. - '&a&l┃ &7Click to Buy &f&lEnchant_Name II'
  186. - '&a&l┃ &8➥ &7Cost: &d&l2 EXP Levels'
  187. left_click_requirement:
  188. requirements:
  189. check_exp:
  190. type: '>='
  191. input: '%player_total_exp%'
  192. output: 16
  193. deny_commands:
  194. - '[message] &c&l[!] &cYou do not have enough EXP!'
  195. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  196. left_click_commands:
  197. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:2'
  198. - '[console] xp give %player_name% -2L'
  199. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  200. - '[refresh]'
  201. right_click_requirement:
  202. requirements:
  203. check_exp:
  204. type: '>='
  205. input: '%player_total_exp%'
  206. output: 16
  207. deny_commands:
  208. - '[message] &c&l[!] &cYou do not have enough EXP!'
  209. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  210. right_click_commands:
  211. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:2'
  212. - '[console] xp give %player_name% -2L'
  213. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  214. - '[refresh]'
  215.  
  216. 'enchantname3locked':
  217. material: BOOK
  218. slot: 14
  219. priority: 2
  220. update: true
  221. hide_attributes: true
  222. display_name: '&eEnchant_Name III &c&l[LOCKED]'
  223. lore:
  224. - '&a&l┃ &7Click to unlock &f&lEnchant_Name III'
  225. - '&6&l┃ &8➥ &7Cost: &a&l$2'
  226. left_click_requirement:
  227. requirements:
  228. has_money:
  229. type: has money
  230. amount: 2
  231. deny_commands:
  232. - '[message] &c&l[!] &cYou do not have enough money!'
  233. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  234. left_click_commands:
  235. - '[console] lp user %player_name% perm set enchants.enchantname.3 true'
  236. - '[takemoney] 2'
  237. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  238. - '[refresh]'
  239. right_click_requirement:
  240. requirements:
  241. has_money:
  242. type: has money
  243. amount: 2
  244. deny_commands:
  245. - '[message] &c&l[!] &cYou do not have enough money!'
  246. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  247. right_click_commands:
  248. - '[console] lp user %player_name% perm set enchants.enchantname.3 true'
  249. - '[takemoney] 2'
  250. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  251. - '[refresh]'
  252.  
  253. 'enchantname3unlocked':
  254. material: ENCHANTED_BOOK
  255. amount: 3
  256. slot: 14
  257. priority: 1
  258. view_requirement:
  259. requirements:
  260. permission:
  261. type: has permission
  262. permission: enchants.enchantname.3
  263. update: true
  264. hide_attributes: true
  265. display_name: '&eEnchant_Name III'
  266. lore:
  267. - '&a&l┃ &7Click to Buy &f&lEnchant_Name III'
  268. - '&a&l┃ &8➥ &7Cost: &d&l3 EXP Levels'
  269. left_click_requirement:
  270. requirements:
  271. check_exp:
  272. type: '>='
  273. input: '%player_total_exp%'
  274. output: 27
  275. deny_commands:
  276. - '[message] &c&l[!] &cYou do not have enough EXP!'
  277. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  278. left_click_commands:
  279. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:3'
  280. - '[console] xp give %player_name% -3L'
  281. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  282. - '[refresh]'
  283. right_click_requirement:
  284. requirements:
  285. check_exp:
  286. type: '>='
  287. input: '%player_total_exp%'
  288. output: 27
  289. deny_commands:
  290. - '[message] &c&l[!] &cYou do not have enough EXP!'
  291. - '[sound] BLOCK_NOTE_BLOCK_PLING'
  292. right_click_commands:
  293. - '[console] give %player_name% ENCHANTED_BOOK 1 enchantname:3'
  294. - '[console] xp give %player_name% -3L'
  295. - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
  296. - '[refresh]'
Add Comment
Please, Sign In to add comment