Advertisement
Guest User

DeluxeMenus Config

a guest
Mar 9th, 2017
756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.52 KB | None | 0 0
  1. # DeluxeMenus 1.7.2 main configuration file
  2. #
  3. # check_updates: <true/false>
  4. # Should DeluxeMenus check if there are any updates available on Spigot and inform ops there is an update available.
  5. #
  6. # ==============================================================
  7. #
  8. # PER ITEM PERMISSION AND PRIORITY INFO:
  9. #
  10. # Per item permissions and priorities are optional.
  11. # High priority = 1, Lowest priority = 2147483647.
  12. # This allows you to show different items for a specific menu slot depending on the highest priority
  13. # item permission a player has. This makes your menus very dynamic :)
  14. #
  15. # You CAN NOT specify a permission without a priority!
  16. # You CAN specify a priority without a permission.
  17. # You should always create a low priority item without a permission which will act as the no permission
  18. # item if a player does not have permission for any of the items that require permission, otherwise
  19. # no item will be set in the slot if a player does not have permission for any of the permission items.
  20. #
  21. # ==============================================================
  22. #
  23. # GUI menu configuration:
  24. #
  25. # You can create as many GUI menus you like.
  26. # Every menu name must be unique. There can not be duplicate menu names!
  27. # Players must have permission for a GUI menu to open one!
  28. # Ops should automatically have permission for any GUI menu.
  29. #
  30. # Permission to open a GUI menu is: deluxemenus.guimenu.<menuName>
  31. #
  32. # You specify the command which opens the GUI menu. Make sure this command
  33. # does not conflict with any existing commands on your server!
  34. # A GUI menu without an open command specified will not be loaded!
  35. #
  36. # GUI menus configuration layout:
  37. #
  38. # gui_menus:
  39. # <menuName>:
  40. # menu_title: '<title of menu goes here>'
  41. # command: <command to open this menu goes here>
  42. # inventory_type: '<add this option if you want to create a menu of a different InventoryType aside from chest>'
  43. # open_requirement:
  44. # expression: 'BukkitPlayer.hasPermission("some.permission");'
  45. # deny_commands:
  46. # - '[message] &cYou dont have permission to view that menu!'
  47. # size: <size of this menu, increments of 9, max size is 54>
  48. # update_interval: <time in seconds this gui should update for a player if an item is set to uodate placeholders>
  49. # items:
  50. # <item identifier>:
  51. # material: <name or id, for player heads use the format 'head;<players name/%player_name%>'>
  52. # data: <integer, used for data values for wool etc>
  53. # amount: <amount of this item to show>
  54. # slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
  55. # priority: <this is used if you have multiple items set for the same slot>
  56. # view_requirement: <the lowest priority item a player meets this requirement for ex: 1, will be shown>
  57. # update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
  58. # hide_attributes: <true/false if this item should display item attributes>
  59. # hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
  60. # hide_effects: <true/false if this item should display item effect attributes>
  61. # hide_unbreakable: <true/false if this item should display item unbreakable attributes>
  62. # banner_meta: (this is used if you want to display a custom banner with specific patterns)
  63. # - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
  64. # - 'RED;BASE'
  65. # - 'WHITE;CREEPER'
  66. # display_name: <display name to show for this item>
  67. # lore:
  68. # - 'placeholders can be used in the name and lore'
  69. # - '%<any placeholder from Papi>% shows the viewer values'
  70. # enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  71. # - '<ENCHANTMENT>;<LEVEL>'
  72. # - 'SILK_TOUCH;1'
  73. # left_click_commands:
  74. # - '[close]'
  75. # right_click_commands:
  76. # - '[player] spawn'
  77. #
  78. #
  79. # You can specify if a GUI menu should be loaded from another file:
  80. #
  81. # gui_menus:
  82. # <menuName>:
  83. # file: 'menuName.yml'
  84. #
  85. # This allows you to keep your config clean and not have tons of GUI menus cluttering it.
  86. # The file format the GUI menu is loaded from must end in .yml
  87. # GUI menus loaded from other configuration files must follow a specific format as well...
  88. # To get started loading GUI menus from different files, simply create a GUI menu in this config and specify the file it will load from.
  89. # After that is done, use /dm reload and DeluxeMenus will create a folder and file specific to the GUI menu you specified.
  90. # If the file specified is created by DeluxeMenus (because it did not exist), a default GUI menu layout will be saved to that file.
  91. # From here you can edit it to your liking and use /dm reload to update your GUI menu!
  92. #
  93. # This loading from external config files is only available for gui menus and will not work for click menus yet....
  94. #
  95. # banner_meta must be listed with a specific format:
  96. # banner_meta:
  97. # - <DyeColor>;<PatternType>
  98. #
  99. # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
  100. # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
  101. # ==============================================================
  102. #
  103. # Click requirement information
  104. #
  105. # You can now add 'click requirements' to left and right click commands!'
  106. # These are defined per item and must follow a specific format:
  107. #
  108. # 'item_one':
  109. # material: DIAMOND
  110. # slot: 3
  111. # left_click_commands:
  112. # - '[close]'
  113. # - '[message] You were charged 100 dollars for clicking that item!'
  114. # - '[console] eco take %player% 100'
  115. # left_click_requirement:
  116. # expression: '%vaulteco_balance% > 100'
  117. # deny_commands:
  118. # - '[close]'
  119. # - '[message] &cYou dont have 100 dollars to click that item'
  120. # right_click_commands:
  121. # - '[close]'
  122. # - '[message] You had permission to click that item!'
  123. # right_click_requirement:
  124. # expression: 'BukkitPlayer.hasPermission("some.permission.toclick")'
  125. # deny_commands:
  126. # - '[close]'
  127. # - '[message] &cYou dont have permission to click that item'
  128. #
  129. # Every left/right_click_requirement MUST have an expression specified that would return a boolean (true/false)
  130. # These expressions must also follow JavaScript format as they are all javascript based!
  131. #
  132. # deny_commands: are optional and will be executed if the expression returns false.
  133. # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
  134. # 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
  135. #
  136. # BukkitPlayer - references the Player object your expression is evaluating.
  137. # BukkitServer - references Bukkit.getServer() in the Bukkit API.
  138. #
  139. # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
  140. # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
  141. # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
  142. # If you want to check if a player has enough money, simply use an expression like so:
  143. #
  144. # expression: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
  145. # If you want to charge the player, simply run the economy command to take the amount from the players balance in your click_commands
  146. # which will be executed if the player meets the requirement!
  147. # ==============================================================
  148. #
  149. # View requirement information
  150. #
  151. # You can add a 'view requirement' to an item if it has a priority value set for it
  152. # The view requirement has replaced the 'permission' entry for items
  153. # This allows you to specify a specific requirement in javascript for the item to be shown
  154. # In order to use view requirements, the item must have a priority value and a valid javascript expression
  155. # that returns true or false.
  156. #
  157. # 'item_one':
  158. # material: DIAMOND
  159. # slot: 3
  160. # priority: 1
  161. # view_requirement: '%vaulteco_balance% > 100'
  162. # 'item_two':
  163. # material: IRON_INGOT
  164. # slot: 3
  165. # priority: 2
  166. # view_requirement: 'BukkitPlayer.hasPermission("some.permission")'
  167. # 'item_three':
  168. # material: STONE
  169. # slot: 3
  170. # priority: 3
  171. #
  172. # 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.
  173. # 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
  174. # 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
  175. # a higher priority.
  176. #
  177. # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
  178. # 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
  179. #
  180. # BukkitPlayer - references the Player object your expression is evaluating.
  181. # BukkitServer - references Bukkit.getServer() in the Bukkit API.
  182. #
  183. # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
  184. # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
  185. # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
  186. # If you want to check if a player has enough money, simply use an expression like so:
  187. #
  188. # view_requirement: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
  189. # ==============================================================
  190. #
  191. #
  192. # You do not need to specify item options that you don't use!
  193. # The only required entries for a gui menu item to be valid are:
  194. #
  195. # A valid material
  196. # A valid slot
  197. #
  198. # Every item in the items list must have a unique <item identifier>
  199. #
  200. # If you choose to update placeholders for a specific item, you must specify update_interval: <time>
  201. # in the GUI menu options for the specific GUI menu.
  202. # Only GUI menus with at least one item that has update: true will update those specific items placeholders.
  203. #
  204. # Every click_command must start with a specific identifier to know what to do for the execution.
  205. # Valid click_command identifiers:
  206. #
  207. # [console] - Execute a command from the console
  208. # Usage: - '[console] <command with no slash>'
  209. #
  210. # [player] - Execute a command for the menu viewer
  211. # Usage: - '[player] <command with no slash>'
  212. #
  213. # [commandevent] - Fire a PlayerCommandPreprocessEvent for commands that do not use the bukkit command system
  214. # Usage: - '[commandevent] <command with no slash>'
  215. #
  216. # [message] - Send a message to the menu viewer
  217. # Usage: - [message] <message to send to the player
  218. #
  219. # [openguimenu] - Open a GUI menu (can only be used in GUI menu click_commands)
  220. # Usage: - '[openguimenu] <guiMenuName>'
  221. #
  222. # [connect] - Connect to the specified bungee server
  223. # Usage: - '[connect] <serverName>'
  224. #
  225. # [close] - Close the viewers open menu
  226. # Usage: - '[close]
  227. #
  228. # [json] - Send a json message to the menu viewer
  229. # Usage: - '[json] {"text":"message"}'
  230. #
  231. #
  232. # A NOTE WHEN EDITING THIS OR ANY DeluxeMenus CONFIGURATION FILE:
  233. # This config is sensitive to yaml formatting errors
  234. # KEEP A BACKUP WHEN EDITING YOUR FILE BEFORE UPLOADING TO YOUR SERVER!!!
  235. # Make sure every String you modify or add is enclosed in 'apostrophes
  236. check_updates: true
  237. gui_menus:
  238. help:
  239. menu_title: '&aHelp Menu'
  240. open_command: help
  241. size: 9
  242. items:
  243. '1':
  244. material: BOOK
  245. slot: 0
  246. display_name: '&aRules!'
  247. lore:
  248. - '&aClick To Open'
  249. - '&aThe Rules Menu!'
  250. left_click_commands:
  251. - '[player] rules'
  252. - '[close]'
  253. right_click_commands:
  254. - '[player] rules'
  255. - '[close]'
  256. '2':
  257. material: BED
  258. data: 0
  259. amount: 1
  260. slot: 7
  261. priority: 1
  262. display_name: '&bTeleport Home'
  263. lore:
  264. - '&bClick To Teleport'
  265. - '&bTo Your Home'
  266. left_click_commands:
  267. - '[player] home'
  268. - '[close]'
  269. right_click_commands:
  270. - '[player] home'
  271. - '[close]'
  272. '3':
  273. material: 345
  274. data: 0
  275. amount: 1
  276. slot: 8
  277. priority: 1
  278. display_name: '&bTeleport To Spawn'
  279. lore:
  280. - '&bClick To Teleport'
  281. - '&bTo Server Spawn'
  282. left_click_commands:
  283. - '[player] spawn'
  284. - '[close]'
  285. right_click_commands:
  286. - '[player] spawn'
  287. - '[close]'
  288. '4':
  289. material: 399
  290. data: 0
  291. amount: 1
  292. slot: 1
  293. priority: 2
  294. display_name: '&aStaff'
  295. lore:
  296. - '&aClick To Open'
  297. - '&aStaff Page In Chat'
  298. left_click_commands:
  299. - '[player] stafflist'
  300. - '[close]'
  301. right_click_commands:
  302. - '[close]'
  303. - '[player] stafflist'
  304. '5':
  305. material: head;%player_name%
  306. data: 0
  307. amount: 1
  308. slot: 4
  309. priority: 1
  310. display_name: '&d%player_name%'
  311. lore:
  312. - '&dClick To Open'
  313. - '&dPlayer Menu'
  314. left_click_commands:
  315. - '[openguimenu] player'
  316. - '[close]'
  317. right_click_commands:
  318. - '[close]'
  319. - '[openguimenu] player'
  320. player:
  321. file: Player.yml
  322. menu_title: '&d%player_name%s Menu'
  323. open_command: player
  324. size: 9
  325. update_interval: 1
  326. items:
  327. '1':
  328. material: emerald
  329. slot: 3
  330. display_name: '&aBalance'
  331. lore:
  332. - '&a%vault_eco_balance%'
  333. - '&aYour Balance!'
  334. left_click_commands:
  335. - '[close]'
  336. right_click_commands:
  337. - '[close]'
  338. '2':
  339. material: BED
  340. data: 0
  341. amount: 1
  342. slot: 0
  343. priority: 1
  344. display_name: '&dTeleport Home'
  345. lore:
  346. - '&dClick To Teleport'
  347. - '&dTo Your Home'
  348. left_click_commands:
  349. - '[player] home home'
  350. - '[close]'
  351. right_click_commands:
  352. - '[player] home home'
  353. - '[close]'
  354. '3':
  355. material: iron_sword
  356. data: 0
  357. amount: 1
  358. slot: 7
  359. priority: 1
  360. display_name: '&bKills'
  361. lore:
  362. - '&b%killstats_kills%'
  363. - '&bYour Kills'
  364. left_click_commands:
  365. - '[close]'
  366. right_click_commands:
  367. - '[close]'
  368. '4':
  369. material: bedrock
  370. data: 0
  371. amount: 1
  372. slot: 8
  373. priority: 1
  374. display_name: '&bFaction'
  375. lore:
  376. - '&b%factions_faction%'
  377. - '&bYour Faction'
  378. - '&bClick For More'
  379. left_click_commands:
  380. - '[player] f show'
  381. - '[close]'
  382. right_click_commands:
  383. - '[player] f show'
  384. - '[close]'
  385. '5':
  386. material: redstone
  387. data: 0
  388. amount: 1
  389. slot: 6
  390. priority: 1
  391. display_name: '&bDeaths'
  392. lore:
  393. - '&b%killstats_deaths%'
  394. - '&bYour Deaths'
  395. left_click_commands:
  396. - '[close]'
  397. right_click_commands:
  398. - '[close]'
  399. '6':
  400. material: head;%player_head%
  401. data: 0
  402. amount: 1
  403. slot: 5
  404. priority: 1
  405. update: true
  406. display_name: '&bLife Span'
  407. lore:
  408. - '&b%statistic_time_played%'
  409. - '&bTime Played'
  410. left_click_commands:
  411. - '[close]'
  412. right_click_commands:
  413. - '[close]'
  414. '7':
  415. material: Iron_Pickaxe
  416. data: 0
  417. amount: 1
  418. slot: 4
  419. priority: 1
  420. display_name: '&bMiner'
  421. lore:
  422. - '&b%statistic_mine_block%'
  423. - '&bBlocks Mined'
  424. left_click_commands:
  425. - '[close]'
  426. right_click_commands:
  427. - '[close]'
  428. kits:
  429. file: Kits.yml
  430. menu_title: '&d%player_name%s Menu'
  431. open_command: kit
  432. size: 9
  433. items:
  434. '1':
  435. material: stick
  436. slot: 0
  437. display_name: '&9&lStarter'
  438. lore:
  439. - '&9&lAvailable'
  440. - '&9&l%essentials_has_kit_<starter>%'
  441. left_click_commands:
  442. - '[close]'
  443. right_click_commands:
  444. - '[close]'
  445. '2':
  446. material: wood_sword
  447. data: 0
  448. amount: 1
  449. slot: 1
  450. priority: 1
  451. display_name: '&6&lSupporter'
  452. lore:
  453. - '&6&lAvailable'
  454. - '&6&l%essentials_has_kit_<supporter>%'
  455. left_click_commands:
  456. - '[player] home home'
  457. - '[close]'
  458. right_click_commands:
  459. - '[player] home home'
  460. - '[close]'
  461. '3':
  462. material: stone_sword
  463. data: 0
  464. amount: 1
  465. slot: 2
  466. priority: 1
  467. display_name: '&b&lVip'
  468. lore:
  469. - '&b&lAvailable'
  470. - '&b&l%essentials_has_kit_<vip>%'
  471. left_click_commands:
  472. - '[close]'
  473. right_click_commands:
  474. - '[close]'
  475. '4':
  476. material: gold_sword
  477. data: 0
  478. amount: 1
  479. slot: 3
  480. priority: 1
  481. display_name: '&5&lElite'
  482. lore:
  483. - '&5&lAvailable'
  484. - '&5&l%essentials_has_kit_<elite>%'
  485. left_click_commands:
  486. - '[player] f show'
  487. - '[close]'
  488. right_click_commands:
  489. - '[player] f show'
  490. - '[close]'
  491. '5':
  492. material: iron_sword
  493. data: 0
  494. amount: 1
  495. slot: 4
  496. priority: 1
  497. display_name: '&f&lTitan'
  498. lore:
  499. - '&f&lAvailable'
  500. - '&f&l%essentials_has_kit_<titan>%'
  501. left_click_commands:
  502. - '[close]'
  503. right_click_commands:
  504. - '[close]'
  505. '6':
  506. material: diamond_sword
  507. data: 0
  508. amount: 1
  509. slot: 5
  510. priority: 1
  511. display_name: '&9&lGod'
  512. lore:
  513. - '&9&lAvailable'
  514. - '&9&l%essentials_has_kit_<god>%'
  515. left_click_commands:
  516. - '[close]'
  517. right_click_commands:
  518. - '[close]'
  519. '7':
  520. material: beacon
  521. data: 0
  522. amount: 1
  523. slot: 6
  524. priority: 1
  525. display_name: '&b&lOverlord'
  526. lore:
  527. - '&b&lAvailable'
  528. - '&b&l%essentials_has_kit_<overlord>%'
  529. left_click_commands:
  530. - '[close]'
  531. right_click_commands:
  532. - '[close]'
  533. '8':
  534. material: tnt
  535. data: 0
  536. amount: 1
  537. slot: 7
  538. priority: 1
  539. display_name: '&c&lUltimate'
  540. lore:
  541. - '&c&lAvailable'
  542. - '&c&l%essentials_has_kit_<ultimate>%'
  543. left_click_commands:
  544. - '[close]'
  545. right_click_commands:
  546. - '[close]'
  547. '9':
  548. material: 397
  549. data: 5
  550. amount: 1
  551. slot: 8
  552. priority: 1
  553. display_name: '&4&lMaster'
  554. lore:
  555. - '&4&lAvailable'
  556. - '&4&l%essentials_has_kit_<master>%'
  557. left_click_commands:
  558. - '[close]'
  559. right_click_commands:
  560. - '[close]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement