Guest User

kits.yml

a guest
Dec 20th, 2016
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.63 KB | None | 0 0
  1. # Kits GUI menu configuration
  2. #
  3. # configuration layout:
  4. #
  5. # menu_title: '<title of menu goes here>'
  6. # inventory_type: '<add this option if you want to create a menu of a different InventoryType aside from chest>'
  7. # command: <command to open this menu goes here>
  8. # open_requirement:
  9. # expression: 'BukkitPlayer.hasPermission("some.permission");'
  10. # deny_commands:
  11. # - '[message] &cYou dont have permission to view that menu!'
  12. # size: <size of this menu, increments of 9, max size is 54>
  13. # update_interval: <time in seconds this gui should update for a player if an item is set to uodate placeholders>
  14. # items:
  15. # <item identifier>:
  16. # material: <name or id, for player heads use the format 'head;<players name/%player_name%>'>
  17. # data: <integer, used for data values for wool etc>
  18. # amount: <amount of this item to show>
  19. # slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
  20. # priority: <this is used if you have multiple items set for the same slot>
  21. # permission: <the lowest priority item a player has permission for ex: 1, will be shown>
  22. # update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
  23. # hide_attributes: <true/false if this item should display item attributes>
  24. # hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
  25. # hide_effects: <true/false if this item should display item effect attributes>
  26. # display_name: <display name to show for this item>
  27. # banner_meta: (this is used if you want to display a custom banner with specific patterns)
  28. # - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
  29. # - 'RED;BASE'
  30. # - 'WHITE;CREEPER'
  31. # lore:
  32. # - 'placeholders can be used in the name and lore'
  33. # - '%<any placeholder from Papi>% shows the viewer values'
  34. # enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  35. # - '<ENCHANTMENT>;<LEVEL>'
  36. # - 'SILK_TOUCH;1'
  37. # left_click_commands:
  38. # - '[close]'
  39. # right_click_commands:
  40. # - '[player] spawn'
  41. #
  42. # All keys aside from update_interval are required for this menu to be valid and loaded!
  43. # The only options for an item to be considered valid are material and slot!
  44. #
  45. # banner_meta must be listed with a specific format:
  46. # banner_meta:
  47. # - <DyeColor>;<PatternType>
  48. #
  49. # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
  50. # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
  51. # ==============================================================
  52. #
  53. # Click requirement information
  54. #
  55. # You can now add 'click requirements' to left and right click commands!'
  56. # These are defined per item and must follow a specific format:
  57. #
  58. # 'item_one':
  59. # material: DIAMOND
  60. # slot: 3
  61. # left_click_commands:
  62. # - '[close]'
  63. # - '[message] You were charged 100 dollars for clicking that item!'
  64. # - '[console] eco take %player% 100'
  65. # left_click_requirement:
  66. # expression: '%vaulteco_balance% > 100'
  67. # deny_commands:
  68. # - '[close]'
  69. # - '[message] &cYou dont have 100 dollars to click that item'
  70. # right_click_commands:
  71. # - '[close]'
  72. # - '[message] You had permission to click that item!'
  73. # right_click_requirement:
  74. # expression: 'BukkitPlayer.hasPermission("some.permission.toclick")'
  75. # deny_commands:
  76. # - '[close]'
  77. # - '[message] &cYou dont have permission to click that item'
  78. #
  79. # Every left/right_click_requirement MUST have an expression specified that would return a boolean (true/false)
  80. # These expressions must also follow JavaScript format as they are all javascript based!
  81. #
  82. # deny_commands: are optional and will be executed if the expression returns false.
  83. # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
  84. # You may also use a few keywords which give you access to the Player class and Bukkit.Server class if you understand the Bukkit API
  85. #
  86. # BukkitPlayer - references the Player object your expression is evaluating.
  87. # BukkitServer - references Bukkit.getServer() in the Bukkit API.
  88. #
  89. # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
  90. # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
  91. # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
  92. # If you want to check if a player has enough money, simply use an expression like so:
  93. #
  94. # expression: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
  95. # If you want to charge the player, simply run the economy command to take the amount from the players balance in your click_commands
  96. # which will be executed if the player meets the requirement!
  97. # ==============================================================
  98. #
  99. # View requirement information
  100. #
  101. # You can add a 'view requirement' to an item if it has a priority value set for it
  102. # The view requirement has replaced the 'permission' entry for items
  103. # This allows you to specify a specific requirement in javascript for the item to be shown
  104. # In order to use view requirements, the item must have a priority value and a valid javascript expression
  105. # that returns true or false.
  106. #
  107. # 'item_one':
  108. # material: DIAMOND
  109. # slot: 3
  110. # priority: 1
  111. # view_requirement: '%vaulteco_balance% > 100'
  112. # 'item_two':
  113. # material: IRON_INGOT
  114. # slot: 3
  115. # priority: 2
  116. # view_requirement: 'BukkitPlayer.hasPermission("some.permission")'
  117. # 'item_three':
  118. # material: STONE
  119. # slot: 3
  120. # priority: 3
  121. #
  122. # In the example above, the priority 1 item view requirement will be checked first, if a player has over 100 dollars, that item will be shown.
  123. # If the player does not meet the requirement for the first item, the item with priority 2 will be checked. If the player does not have the permission
  124. # node some.permission, the final item 'item_three' will be set to slot 3 as the player did not meet the requirement for the first 2 items with
  125. # a higher priority.
  126. #
  127. # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
  128. # You may also use a few keywords which give you access to the Player class and Bukkit.Server class if you understand the Bukkit API
  129. #
  130. # BukkitPlayer - references the Player object your expression is evaluating.
  131. # BukkitServer - references Bukkit.getServer() in the Bukkit API.
  132. #
  133. # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
  134. # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
  135. # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
  136. # If you want to check if a player has enough money, simply use an expression like so:
  137. #
  138. # view_requirement: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
  139. # ==============================================================
  140. menu_title: ' &8&l--[&b&lSkyCrush&8&l]--'
  141. menu_title_update_interval: 12
  142. open_command:
  143. - kit
  144. - kits
  145. - ekit
  146. - ekits
  147. size: 54
  148. update_interval: 1
  149. items:
  150. items:
  151. '1':
  152. material: 160
  153. data: 7
  154. slot: 0
  155. display_name: '&7'
  156. '2':
  157. material: 160
  158. data: 7
  159. slot: 1
  160. display_name: '&7'
  161. '3':
  162. material: 160
  163. data: 7
  164. slot: 2
  165. display_name: '&7'
  166. '4':
  167. material: 160
  168. data: 7
  169. slot: 3
  170. display_name: '&7'
  171. '5':
  172. material: 160
  173. data: 7
  174. slot: 4
  175. display_name: '&7'
  176. '6':
  177. material: 160
  178. data: 7
  179. slot: 5
  180. display_name: '&7'
  181. '7':
  182. material: 160
  183. data: 7
  184. slot: 6
  185. display_name: '&7'
  186. '8':
  187. material: 160
  188. data: 7
  189. slot: 7
  190. display_name: '&7'
  191. '9':
  192. material: 160
  193. data: 7
  194. slot: 8
  195. display_name: '&7'
  196. '10':
  197. material: 160
  198. data: 7
  199. slot: 45
  200. display_name: '&7'
  201. '11':
  202. material: 160
  203. data: 7
  204. slot: 46
  205. display_name: '&7'
  206. '12':
  207. material: 160
  208. data: 7
  209. slot: 47
  210. display_name: '&7'
  211. '13':
  212. material: 160
  213. data: 7
  214. slot: 48
  215. display_name: '&7'
  216. '14':
  217. material: 166
  218. slot: 49
  219. display_name: '&c&m----&8&m[--&r &cClose menu &8&m--]&c&m----'
  220. enchantments:
  221. - DURABILITY;1
  222. hide_enchantments: true
  223. hide_attributes: true
  224. left_click_commands:
  225. - '[close]'
  226. right_click_commands:
  227. - '[close]'
  228. '15':
  229. material: 160
  230. data: 7
  231. slot: 50
  232. display_name: '&7'
  233. '16':
  234. material: 160
  235. data: 7
  236. slot: 51
  237. display_name: '&7'
  238. '17':
  239. material: 160
  240. data: 7
  241. slot: 52
  242. display_name: '&7'
  243. '18':
  244. material: 160
  245. data: 7
  246. slot: 53
  247. display_name: '&7'
  248. '19':
  249. material: 160
  250. data: 7
  251. slot: 9
  252. display_name: '&7'
  253. '20':
  254. material: 160
  255. data: 7
  256. slot: 17
  257. display_name: '&7'
  258. '21':
  259. material: 160
  260. data: 7
  261. slot: 18
  262. display_name: '&7'
  263. '22':
  264. material: 160
  265. data: 7
  266. slot: 26
  267. display_name: '&7'
  268. '23':
  269. material: 160
  270. data: 7
  271. slot: 27
  272. display_name: '&7'
  273. '24':
  274. material: 160
  275. data: 7
  276. slot: 35
  277. display_name: '&7'
  278. '25':
  279. material: 160
  280. data: 7
  281. slot: 36
  282. display_name: '&7'
  283. '26':
  284. material: 160
  285. data: 7
  286. slot: 44
  287. display_name: '&7'
  288. 'memberon':
  289. material: 25
  290. slot: 13
  291. priority: 1
  292. update: true
  293. hide_attributes: true
  294. view_requirement: '"%essentials_kit_is_available_member%".equalsIgnoreCase("yes")'
  295. display_name: '&8Member &7Kit'
  296. lore:
  297. - ''
  298. - '&7Left-Click to claim kit.'
  299. - '&7Right-Click to preview Kit.'
  300. - ''
  301. - '&e(2 days cooldown)'
  302. left_click_commands:
  303. - '[player] kit member'
  304. - '[close]'
  305. right_click_commands:
  306. - '[player] hi'
  307. - '[close]'
  308. 'memberoff':
  309. material: barrier
  310. slot: 13
  311. priority: 2
  312. update: true
  313. display_name: '&8Member &7Kit'
  314. lore:
  315. - ''
  316. - '&cThis kit is on cooldown!'
  317. - ''
  318. - '&7You must wait &e%essentials_kit_time_until_available_member%'
  319. - '&7Before you can use this kit again.'
  320. 'heroon':
  321. material: 35
  322. data: 11
  323. slot: 29
  324. priority: 1
  325. update: true
  326. hide_attributes: true
  327. view_requirement: '"%essentials_kit_is_available_hero%".equalsIgnoreCase("yes")'
  328. display_name: '&9Hero &7Kit'
  329. lore:
  330. - ''
  331. - '&7Left-Click to claim kit.'
  332. - '&7Right-Click to preview Kit.'
  333. - ''
  334. - '&e(2 days cooldown)'
  335. left_click_commands:
  336. - '[player] kit hero'
  337. - '[close]'
  338. right_click_commands:
  339. - '[player] hi'
  340. - '[close]'
  341. 'herooff':
  342. material: barrier
  343. slot: 29
  344. priority: 2
  345. update: true
  346. display_name: '&9Hero &7Kit'
  347. lore:
  348. - ''
  349. - '&cThis kit is on cooldown!'
  350. - ''
  351. - '&7You must wait &e%essentials_kit_time_until_available_hero%'
  352. - '&7Before you can use this kit again.'
  353. 'masteron':
  354. material: 35
  355. data: 9
  356. slot: 30
  357. priority: 1
  358. update: true
  359. hide_attributes: true
  360. view_requirement: '"%essentials_kit_is_available_master%".equalsIgnoreCase("yes")'
  361. display_name: '&3Master &7Kit'
  362. lore:
  363. - ''
  364. - '&7Left-Click to claim kit.'
  365. - '&7Right-Click to preview Kit.'
  366. - ''
  367. - '&e(2 days cooldown)'
  368. left_click_commands:
  369. - '[player] kit master'
  370. - '[close]'
  371. right_click_commands:
  372. - '[player] hi'
  373. - '[close]'
  374. 'masteroff':
  375. material: barrier
  376. slot: 30
  377. priority: 2
  378. update: true
  379. display_name: '&3Master &7Kit'
  380. lore:
  381. - ''
  382. - '&cThis kit is on cooldown!'
  383. - ''
  384. - '&7You must wait &e%essentials_kit_time_until_available_master%'
  385. - '&7Before you can use this kit again.'
  386. 'championon':
  387. material: 35
  388. data: 10
  389. slot: 31
  390. priority: 1
  391. update: true
  392. hide_attributes: true
  393. view_requirement: '"%essentials_kit_is_available_champion%".equalsIgnoreCase("yes")'
  394. display_name: '&5Champion &7Kit'
  395. lore:
  396. - ''
  397. - '&7Left-Click to claim kit.'
  398. - '&7Right-Click to preview Kit.'
  399. - ''
  400. - '&e(2 days cooldown)'
  401. left_click_commands:
  402. - '[player] kit champion'
  403. - '[close]'
  404. right_click_commands:
  405. - '[player] hi'
  406. - '[close]'
  407. 'championoff':
  408. material: barrier
  409. slot: 31
  410. priority: 2
  411. update: true
  412. display_name: '&5Champion &7Kit'
  413. lore:
  414. - ''
  415. - '&cThis kit is on cooldown!'
  416. - ''
  417. - '&7You must wait &e%essentials_kit_time_until_available_champion%'
  418. - '&7Before you can use this kit again.'
  419. 'legendon':
  420. material: 35
  421. data: 1
  422. slot: 32
  423. priority: 1
  424. update: true
  425. hide_attributes: true
  426. view_requirement: '"%essentials_kit_is_available_legend%".equalsIgnoreCase("yes")'
  427. display_name: '&6Legend &7Kit'
  428. lore:
  429. - ''
  430. - '&7Left-Click to claim kit.'
  431. - '&7Right-Click to preview Kit.'
  432. - ''
  433. - '&e(2 days cooldown)'
  434. left_click_commands:
  435. - '[player] kit legend'
  436. - '[close]'
  437. right_click_commands:
  438. - '[player] hi'
  439. - '[close]'
  440. 'legendoff':
  441. material: barrier
  442. slot: 32
  443. priority: 2
  444. update: true
  445. display_name: '&6Legend &7Kit'
  446. lore:
  447. - ''
  448. - '&cThis kit is on cooldown!'
  449. - ''
  450. - '&7You must wait &e%essentials_kit_time_until_available_legend%'
  451. - '&7Before you can use this kit again.'
  452. 'crusheron':
  453. material: 35
  454. data: 5
  455. slot: 33
  456. priority: 1
  457. update: true
  458. hide_attributes: true
  459. view_requirement: '"%essentials_kit_is_available_crusher%".equalsIgnoreCase("yes")'
  460. display_name: '&aCrusher &7Kit'
  461. lore:
  462. - ''
  463. - '&7Left-Click to claim kit.'
  464. - '&7Right-Click to preview Kit.'
  465. - ''
  466. - '&e(2 days cooldown)'
  467. left_click_commands:
  468. - '[player] kit crusher'
  469. - '[close]'
  470. right_click_commands:
  471. - '[player] hi'
  472. - '[close]'
  473. 'crusheroff':
  474. material: barrier
  475. slot: 33
  476. priority: 2
  477. update: true
  478. display_name: '&aCrusher &7Kit'
  479. lore:
  480. - ''
  481. - '&cThis kit is on cooldown!'
  482. - ''
  483. - '&7You must wait &e%essentials_kit_time_until_available_crusher%'
  484. - '&7Before you can use this kit again.'
Advertisement
Add Comment
Please, Sign In to add comment