Guest User

Untitled

a guest
Aug 19th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.32 KB | None | 0 0
  1. # DeluxeMenus 1.9.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>
  52. # material: head-<name of player>
  53. # material: hdb-<HeadDatabase id> (requires plugin HeadDatabase)
  54. # data: <integer, used for data values for wool etc>
  55. # amount: <amount of this item to show>
  56. # slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
  57. # priority: <this is used if you have multiple items set for the same slot>
  58. # view_requirement: <the lowest priority item a player meets this requirement for ex: 1, will be shown>
  59. # update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
  60. # hide_attributes: <true/false if this item should display item attributes>
  61. # hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
  62. # hide_effects: <true/false if this item should display item effect attributes>
  63. # hide_unbreakable: <true/false if this item should display item unbreakable attributes>
  64. # banner_meta: (this is used if you want to display a custom banner with specific patterns)
  65. # - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
  66. # - 'RED;BASE'
  67. # - 'WHITE;CREEPER'
  68. # display_name: <display name to show for this item>
  69. # lore:
  70. # - 'placeholders can be used in the name and lore'
  71. # - '%<any placeholder from Papi>% shows the viewer values'
  72. # enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  73. # - '<ENCHANTMENT>;<LEVEL>'
  74. # - 'SILK_TOUCH;1'
  75. # left_click_commands:
  76. # - '[close]'
  77. # right_click_commands:
  78. # - '[player] spawn'
  79. #
  80. #
  81. # You can specify if a GUI menu should be loaded from another file:
  82. #
  83. # gui_menus:
  84. # <menuName>:
  85. # file: 'menuName.yml'
  86. #
  87. # This allows you to keep your config clean and not have tons of GUI menus cluttering it.
  88. # The file format the GUI menu is loaded from must end in .yml
  89. # GUI menus loaded from other configuration files must follow a specific format as well...
  90. # 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.
  91. # After that is done, use /dm reload and DeluxeMenus will create a folder and file specific to the GUI menu you specified.
  92. # If the file specified is created by DeluxeMenus (because it did not exist), a default GUI menu layout will be saved to that file.
  93. # From here you can edit it to your liking and use /dm reload to update your GUI menu!
  94. #
  95. # This loading from external config files is only available for gui menus and will not work for click menus yet....
  96. #
  97. # banner_meta must be listed with a specific format:
  98. # banner_meta:
  99. # - <DyeColor>;<PatternType>
  100. #
  101. # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
  102. # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
  103. # ==============================================================
  104. #
  105. # Click requirement information
  106. #
  107. # You can add 'click requirements' to left and right click commands'
  108. # These are defined per item and must follow a specific format:
  109. #
  110. # 'item_one':
  111. # material: DIAMOND
  112. # slot: 3
  113. # left_click_commands:
  114. # - '[close]'
  115. # - '[message] You were charged 100 dollars for clicking that item!'
  116. # - '[console] eco take %player% 100'
  117. # left_click_requirement:
  118. # expression: '%vaulteco_balance% > 100'
  119. # deny_commands:
  120. # - '[close]'
  121. # - '[message] &cYou dont have 100 dollars to click that item'
  122. # right_click_commands:
  123. # - '[close]'
  124. # - '[message] You had permission to click that item!'
  125. # right_click_requirement:
  126. # expression: 'BukkitPlayer.hasPermission("some.permission.toclick")'
  127. # deny_commands:
  128. # - '[close]'
  129. # - '[message] &cYou dont have permission to click that item'
  130. #
  131. # Every left/right_click_requirement MUST have an expression specified that would return a boolean (true/false)
  132. # These expressions must also follow JavaScript format as they are all javascript based!
  133. #
  134. # deny_commands: are optional and will be executed if the expression returns false.
  135. # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
  136. # 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
  137. #
  138. # BukkitPlayer - references the Player object your expression is evaluating.
  139. # BukkitServer - references Bukkit.getServer() in the Bukkit API.
  140. #
  141. # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
  142. # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
  143. # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
  144. # If you want to check if a player has enough money, simply use an expression like so:
  145. #
  146. # expression: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
  147. # If you want to charge the player, simply run the economy command to take the amount from the players balance in your click_commands
  148. # which will be executed if the player meets the requirement!
  149. # ==============================================================
  150. #
  151. # View requirement information
  152. #
  153. # You can add a 'view requirement' to an item if it has a priority value set for it
  154. # The view requirement has replaced the 'permission' entry for items
  155. # This allows you to specify a specific requirement in javascript for the item to be shown
  156. # In order to use view requirements, the item must have a priority value and a valid javascript expression
  157. # that returns true or false.
  158. #
  159. # 'item_one':
  160. # material: DIAMOND
  161. # slot: 3
  162. # priority: 1
  163. # view_requirement: '%vaulteco_balance% > 100'
  164. # 'item_two':
  165. # material: IRON_INGOT
  166. # slot: 3
  167. # priority: 2
  168. # view_requirement: 'BukkitPlayer.hasPermission("some.permission")'
  169. # 'item_three':
  170. # material: STONE
  171. # slot: 3
  172. # priority: 3
  173. #
  174. # 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.
  175. # 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
  176. # 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
  177. # a higher priority.
  178. #
  179. # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
  180. # 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
  181. #
  182. # BukkitPlayer - references the Player object your expression is evaluating.
  183. # BukkitServer - references Bukkit.getServer() in the Bukkit API.
  184. #
  185. # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
  186. # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
  187. # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
  188. # If you want to check if a player has enough money, simply use an expression like so:
  189. #
  190. # view_requirement: '%vault_eco_balance% >= 100' (checks if players balance is greater than or equal to 100)
  191. # ==============================================================
  192. #
  193. #
  194. # You do not need to specify item options that you don't use!
  195. # The only required entries for a gui menu item to be valid are:
  196. #
  197. # A valid material
  198. # A valid slot
  199. #
  200. # Every item in the items list must have a unique <item identifier>
  201. #
  202. # If you choose to update placeholders for a specific item, you must specify update_interval: <time>
  203. # in the GUI menu options for the specific GUI menu.
  204. # Only GUI menus with at least one item that has update: true will update those specific items placeholders.
  205. #
  206. # Every click_command must start with a specific identifier to know what to do for the execution.
  207. # Valid click_command identifiers:
  208. #
  209. # [console] - Execute a command from the console
  210. # Usage: - '[console] <command with no slash>'
  211. #
  212. # [player] - Execute a command for the menu viewer
  213. # Usage: - '[player] <command with no slash>'
  214. #
  215. # [commandevent] - Fire a PlayerCommandPreprocessEvent for commands that do not use the bukkit command system
  216. # Usage: - '[commandevent] <command with no slash>'
  217. #
  218. # [message] - Send a message to the menu viewer
  219. # Usage: - [message] <message to send to the player
  220. #
  221. # [openguimenu] - Open a GUI menu (can only be used in GUI menu click_commands)
  222. # Usage: - '[openguimenu] <guiMenuName>'
  223. #
  224. # [connect] - Connect to the specified bungee server
  225. # Usage: - '[connect] <serverName>'
  226. #
  227. # [close] - Close the viewers open menu
  228. # Usage: - '[close]
  229. #
  230. # [refresh] - Refresh items in the current menu view
  231. # Usage: - '[refresh]
  232. #
  233. # [json] - Send a json message to the menu viewer
  234. # Usage: - '[json] {"text":"message"}'
  235. #
  236. #
  237. #
  238. # You can delay any of the click command being performed by ending the command with
  239. # <delay=(time in TICKS)>
  240. # example:
  241. # - '[close]'
  242. # - '[message] it has been 5 seconds since the menu closed!<delay=100>'
  243. # - '[message] it has been 10 seconds since the menu closed!<delay=200>'
  244. #
  245. # A delay should NOT be added to the [close] or [openguimenu] actions
  246. # as it could potentially cause unknown issues or glitches with menus.
  247. #
  248. # A NOTE WHEN EDITING THIS OR ANY DeluxeMenus CONFIGURATION FILE:
  249. # This config is sensitive to yaml formatting errors
  250. # KEEP A BACKUP WHEN EDITING YOUR FILE BEFORE UPLOADING TO YOUR SERVER!!!
  251. # Make sure every String you modify or add is enclosed in 'apostrophes
  252. check_updates: true
  253. gui_menus:
  254. Help:
  255. menu_title: '&f[&9Mystrial Player Menu&f]'
  256. open_command: help
  257. size: 36
  258. items:
  259. '1':
  260. material: head;%player_name%
  261. slot: 0
  262. display_name: '&a%player_name%'
  263. lore:
  264. - '&bUsername: &e%player_name%'
  265. - '&bNickname: &e%player_displayname%'
  266. - '&bRank: &e%vault_rank%'
  267. - '&bBalance: &e%vault_eco_balance%'
  268. - '&bGuild: &a%Guilds_name%'
  269. left_click_commands:
  270. - ''
  271. right_click_commands:
  272. - ''
  273. '2':
  274. material: 442
  275. data: 0
  276. amount: 1
  277. slot: 10
  278. priority: 1
  279. display_name: '&aGuild Information'
  280. lore:
  281. - '&9Click here to view your guild information.'
  282. left_click_commands:
  283. - '[close]'
  284. - '[player] guild list'
  285. '3':
  286. material: 381
  287. data: 0
  288. amount: 1
  289. slot: 11
  290. priority: 2
  291. display_name: '&aWarp Menu'
  292. lore:
  293. - '&9Click to open the Warp Menu'
  294. left_click_commands:
  295. - '[close]'
  296. - '[player] deluxemenu open Warp'
  297. '4':
  298. material: 384
  299. slot: 12
  300. display_name: '&aStaff Menu'
  301. lore:
  302. - '&9Click here to view the staff'
  303. left_click_commands:
  304. - '[close]'
  305. - '[player] deluxemenu open staff'
  306. '5':
  307. material: 106
  308. slot: 13
  309. display_name: '&aRandom Teleport'
  310. lore:
  311. - '&9Click here to teleport to a random location'
  312. left_click_commands:
  313. - '[close]'
  314. - '[player] randomtp'
  315. '6':
  316. material: 340
  317. slot: 14
  318. display_name: '&aUseful Commands'
  319. lore:
  320. - '&9Click here to view your commands'
  321. left_click_commands:
  322. - '[close]'
  323. - '[player] ehelp'
  324. '7':
  325. material: 403
  326. slot: 15
  327. display_name: '&aServer Information'
  328. lore:
  329. - '&9Click here to view your commands'
  330. left_click_commands:
  331. - '[close]'
  332. - '[player] deluxemenu open Information'
  333. '8':
  334. material: 130
  335. slot: 16
  336. display_name: '&aServer Shop'
  337. lore:
  338. - '&9Click here to go into the server shop!'
  339. left_click_commands:
  340. - '[close]'
  341. - '[player] shop'
  342. '9':
  343. material: 339
  344. slot: 19
  345. display_name: '&eRequest a nickname!'
  346. lore:
  347. - '&9Click here to request a nickname'
  348. left_click_commands:
  349. - '[close]'
  350. - '[player] t create [Auto] Can I have a nickname please?'
  351. '10':
  352. material: 339
  353. slot: 20
  354. display_name: '&4Request Staff Help'
  355. lore:
  356. - '&9Click here to request a staff member to help you.'
  357. left_click_commands:
  358. - '[close]'
  359. - '[player] t create [Auto] Can a staff member help me please?'
  360. '11':
  361. material: 339
  362. slot: 21
  363. display_name: '&aHow to make a guild'
  364. lore:
  365. - '&2Click here to learn how to make a guild'
  366. left_click_commands:
  367. - '[close]'
  368. - '[message] &f[&9Mystrial Information&f]'
  369. - '[message] &aHow to Make a guild'
  370. - '[message] &fCreating a guild: &2/guild create [name]'
  371. - '[message] &fFor more information type /guild help'
  372. '12':
  373. material: 340
  374. slot: 22
  375. display_name: '&aApply for staff'
  376. lore:
  377. - '&2Click here to apply for staff'
  378. left_click_commands:
  379. - '[close]'
  380. - '[player] deluxemenu open Apply'
  381. '13':
  382. material: 399
  383. slot: 23
  384. display_name: '&a6Choose your Magic'
  385. lore:
  386. - '&2Click here to choose your magic.'
  387. left_click_commands:
  388. - '[close]'
  389. - '[player] deluxemenu open magic'
  390. Staff:
  391. menu_title: '&f[&9Mystrial Staff Menu&f]'
  392. open_command: staff
  393. size: 36
  394. items:
  395. '1':
  396. material: head;Ash10744
  397. slot: 11
  398. display_name: '&4&lAsh10744'
  399. lore:
  400. - '&4Username: &fAsh10744'
  401. - '&4Rank: &fDeveloper + Owner'
  402. left_click_commands:
  403. - ''
  404. right_click_commands:
  405. - ''
  406. '2':
  407. material: head;Kyeee
  408. slot: 12
  409. display_name: '&4&lKyeee'
  410. lore:
  411. - '&4Username: &fKyeee'
  412. - '&4Rank: &fOwner'
  413. left_click_commands:
  414. - ''
  415. right_click_commands:
  416. - ''
  417. '3':
  418. material: head;Zaythen
  419. slot: 13
  420. display_name: '&4&lZaythen'
  421. lore:
  422. - '&4Username: &fZaythen'
  423. - '&4Rank: &fManager'
  424. left_click_commands:
  425. - ''
  426. right_click_commands:
  427. - ''
  428. '4':
  429. material: head;DirtyUnderwear
  430. slot: 14
  431. display_name: '&4&lDirtyUnderwear'
  432. lore:
  433. - '&4Username: &fDirtyUnderwear'
  434. - '&4Rank: &fHead Admin'
  435. left_click_commands:
  436. - ''
  437. right_click_commands:
  438. - ''
  439. '5':
  440. material: head;TipsyPanda_
  441. slot: 15
  442. display_name: '&4&lTipsyPanda_'
  443. lore:
  444. - '&4Username: &fTipsyPanda_'
  445. - '&4Rank: &fHead Moderator'
  446. left_click_commands:
  447. - ''
  448. right_click_commands:
  449. - ''
  450. Information:
  451. menu_title: '&f[&9Mystrial Information Menu&f]'
  452. open_command: plugins
  453. size: 36
  454. items:
  455. '1':
  456. material: 340
  457. slot: 11
  458. display_name: '&9Discord'
  459. lore:
  460. - '&bClick here to get the discord link'
  461. left_click_commands:
  462. - '[close]'
  463. - '[message] &f[&9Mystrial Information&f] &aDiscord Link: &fhttps://discord.gg/VgxH5UQ'
  464. right_click_commands:
  465. - ''
  466. '2':
  467. material: 340
  468. slot: 12
  469. display_name: '&2Website'
  470. lore:
  471. - '&aClick here to get the discord link'
  472. left_click_commands:
  473. - '[close]'
  474. - '[message] &f[&9Mystrial Information&f] &aMystrial Website: &fhttps://Mystrial.co.uk'
  475. right_click_commands:
  476. - ''
  477. Warp:
  478. menu_title: '&f[&9Mystrial Warp Menu&f]'
  479. open_command: warp
  480. size: 36
  481. items:
  482. '1':
  483. material: 340
  484. slot: 11
  485. display_name: '&9Spawn'
  486. lore:
  487. - '&bClick here to teleport '
  488. left_click_commands:
  489. - '[close]'
  490. - '[player] spawn'
  491. right_click_commands:
  492. - ''
  493. Apply:
  494. menu_title: '&f[&9Apply for staff&f]'
  495. open_command: apply
  496. size: 36
  497. items:
  498. '1':
  499. material: 386
  500. slot: 11
  501. display_name: '&aApply!'
  502. lore:
  503. - '&bClick here to start your application'
  504. left_click_commands:
  505. - '[close]'
  506. - 'applymc:apply'
  507. right_click_commands:
  508. - '[close]'
  509. - 'applymc:apply'
  510. '2':
  511. material: 340
  512. slot: 12
  513. display_name: '&4Applications'
  514. lore:
  515. - '&aClick here to view applications'
  516. - '&cStaff Only!'
  517. left_click_commands:
  518. - '[close]'
  519. - '[player] applymc view'
  520. right_click_commands:
  521. - '[close]'
  522. - '[player] applymc view'
  523. Magic:
  524. menu_title: '&f[&9Mystrial Magic Chooser&f]'
  525. open_command: magic
  526. size: 36
  527. items:
  528. '1':
  529. material: 443
  530. slot: 11
  531. display_name: '&fAir'
  532. lore:
  533. - '&7Click here to choose Air!'
  534. left_click_commands:
  535. - '[close]'
  536. - '[player] b choose air'
  537. right_click_commands:
  538. - '[close]'
  539. - '[player] b choose air'
  540. '2':
  541. material: 326
  542. slot: 12
  543. display_name: '&9Water'
  544. lore:
  545. - '&3Click here to choose Water!'
  546. left_click_commands:
  547. - '[close]'
  548. - '[player] b choose water'
  549. right_click_commands:
  550. - '[close]'
  551. - '[player] b choose water'
  552. '3':
  553. material: 2
  554. slot: 13
  555. display_name: '&eEarth'
  556. lore:
  557. - '&6Click here to choose Earth!'
  558. left_click_commands:
  559. - '[close]'
  560. - '[player] b choose earth'
  561. right_click_commands:
  562. - '[close]'
  563. - '[player] b choose earth'
  564. '4':
  565. material: 327
  566. slot: 14
  567. display_name: '&4Fire'
  568. lore:
  569. - '&cClick here to choose Fire!'
  570. left_click_commands:
  571. - '[close]'
  572. - '[player] b choose fire'
  573. right_click_commands:
  574. - '[close]'
  575. - '[player] b choose fire'
  576. '5':
  577. material: 327
  578. slot: 15
  579. display_name: '&eChiblocking'
  580. lore:
  581. - '&fClick here to choose Chiblocking!'
  582. left_click_commands:
  583. - '[close]'
  584. - '[player] b choose chi'
  585. right_click_commands:
  586. - '[close]'
  587. - '[player] b choose chi'
Add Comment
Please, Sign In to add comment