Advertisement
Guest User

dfdd

a guest
Jul 21st, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.16 KB | None | 0 0
  1. # DeluxeMenus 1.12.0 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. # requirements:
  45. # <unique name for this requirement>:
  46. # type: <type for this requirement>
  47. # <unique options per requirement type would go here>
  48. # deny_commands:
  49. # - '[message] you do not meet requirements to open this menu'
  50. # size: <size of this menu, increments of 9, max size is 54>
  51. # update_interval: <time in seconds this gui should update for a player if an item is set to uodate placeholders>
  52. # items:
  53. # <item identifier>:
  54. # material: <name or id>
  55. # material: head-<name of player>
  56. # material: hdb-<HeadDatabase id> (requires plugin HeadDatabase)
  57. # data: <integer, used for data values for wool etc>
  58. # amount: <amount of this item to show>
  59. # slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
  60. # priority: <this is used if you have multiple items set for the same slot>
  61. # view_requirement: <see view requirement info below. The lowest priority item a player meets all view requirements for will be shown>
  62. # update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
  63. # unbreakable: <true/false if this item should be unbreakable>
  64. # hide_attributes: <true/false if this item should display item attributes>
  65. # hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
  66. # hide_effects: <true/false if this item should display item effect attributes>
  67. # hide_unbreakable: <true/false if this item should display item unbreakable attributes>
  68. # banner_meta: (this is used if you want to display a custom banner with specific patterns)
  69. # - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
  70. # - 'RED;BASE'
  71. # - 'WHITE;CREEPER'
  72. # display_name: <display name to show for this item>
  73. # lore:
  74. # - 'placeholders can be used in the name and lore'
  75. # - '%<any placeholder from Papi>% shows the viewer values'
  76. # enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  77. # - '<ENCHANTMENT>;<LEVEL>'
  78. # - 'SILK_TOUCH;1'
  79. # left_click_commands:
  80. # - '[close]'
  81. # left_click_requirement: <see how to use this option below>
  82. # right_click_commands:
  83. # - '[player] spawn'
  84. # right_click_requirement: <see how to use this option below>
  85. #
  86. #
  87. # You can specify if a GUI menu should be loaded from another file:
  88. #
  89. # gui_menus:
  90. # <menuName>:
  91. # file: 'menuName.yml'
  92. #
  93. # This allows you to keep your config clean and not have tons of GUI menus cluttering it.
  94. # The file format the GUI menu is loaded from must end in .yml
  95. # GUI menus loaded from other configuration files must follow a specific format as well...
  96. # 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.
  97. # After that is done, use /dm reload and DeluxeMenus will create a folder and file specific to the GUI menu you specified.
  98. # If the file specified is created by DeluxeMenus (because it did not exist), a default GUI menu layout will be saved to that file.
  99. # From here you can edit it to your liking and use /dm reload to update your GUI menu!
  100. #
  101. # This loading from external config files is only available for gui menus and will not work for click menus yet....
  102. #
  103. # banner_meta must be listed with a specific format:
  104. # banner_meta:
  105. # - <DyeColor>;<PatternType>
  106. #
  107. # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
  108. # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
  109. # ==============================================================
  110. #
  111. # Requirement information
  112. #
  113. # Requirements can be set as the following:
  114. #
  115. # open_requirement: This requirement is checked when a menu is opened
  116. # view_requirement: This requirement determines if an item should be set in a menu slot
  117. # left_click_requirement: This requirement is checked when an item is left clicked
  118. # right_click_requirement: This requirement is checked when an item is right clicked
  119. #
  120. # Requirement types:
  121. # javascript - Evaluates a javascript expression that must return true or false
  122. # configuration options:
  123. # expression
  124. #
  125. # has item - Checks if a player has a specific item
  126. # configuration options:
  127. # material
  128. # amount
  129. # data
  130. # name
  131. # lore
  132. #
  133. # has money - Checks if a player has enough money (Vault required)
  134. # configuration options:
  135. # amount
  136. #
  137. # has permission - Checks if a player has a specific permission
  138. # configuration options:
  139. # permission
  140. #
  141. # string contains - Checks if a string contains another string
  142. # configuration options:
  143. # input
  144. # output
  145. #
  146. # string equals - Checks if a string equals another string
  147. # configuration options:
  148. # input
  149. # output
  150. #
  151. # stringequalsignorecase - Checks if a string equals another string ignoring case
  152. # configuration options:
  153. # input
  154. # output
  155. #
  156. # > - Checks if a number is greater than another number
  157. # configuration options:
  158. # input
  159. # output
  160. #
  161. # >= - Checks if a number is greater than or equal to another number
  162. # configuration options:
  163. # input
  164. # output
  165. #
  166. # == - Checks if a number is equal to another number
  167. # configuration options:
  168. # input
  169. # output
  170. #
  171. # <= - Checks if a number is less than or equal to another number
  172. # configuration options:
  173. # input
  174. # output
  175. #
  176. # < - Checks if a number is less than another number
  177. # configuration options:
  178. # input
  179. # output
  180. #
  181. # regex matches - Checks if a placeholder parsed string matches a regex pattern
  182. # configuration options:
  183. # input
  184. # regex
  185. #
  186. #
  187. #
  188. # So why would we want to use requirements?
  189. # By default, DeluxeMenus does not require a player meet any conditions to open your menu.
  190. # If you want to require a menu need a certain permission node for it to be accessed, or a certain amount of money
  191. # for a menu to be opened, You do that with an 'open_requirement'.
  192. # Below is an example of how you would deny opening a menu if the viewer does not have permission:
  193. #
  194. # menu_title: 'Menu that requires permission to open'
  195. # open_command: testmenu
  196. # size: 9
  197. # open_requirement:
  198. # requirements:
  199. # this_requirement_name:
  200. # type: has permission
  201. # permission: 'testmenu.open'
  202. # deny_commands:
  203. # - '[message] you do not have permission to open testmenu'
  204. #
  205. #
  206. # Below is a full example of use cases for requirements:
  207. #
  208. # menu_title: 'Menu that requires permission to open'
  209. # open_command: testmenu
  210. # size: 9
  211. # open_requirement:
  212. # requirements:
  213. # this_requirement_name:
  214. # type: has permission
  215. # permission: 'testmenu.open'
  216. # deny_commands:
  217. # - '[message] you do not have permission to open testmenu'
  218. # items:
  219. # mymenuitem:
  220. # priority: 2
  221. # material: DIRT
  222. # slot: 0
  223. # name 'You dont have 100 diamonds to view this item'
  224. # mymenuitem:
  225. # priority: 1
  226. # material: DIAMOND
  227. # slot: 0
  228. # name 'You have lots of diamonds so you can see this item'
  229. # view_requirement:
  230. # requirements:
  231. # diamond_requirement:
  232. # type: has item
  233. # material: diamond
  234. # amount: 100
  235. # left_click_requirement:
  236. # requirements:
  237. # money_requirement:
  238. # type: '>='
  239. # input: '%vault_eco_balance_fixed%'
  240. # output: 1000
  241. # deny_commands:
  242. # - '[message] you only have %vault_eco_balance_fixed%'
  243. # left_click_commands:
  244. # - '[message] you have over 1000 dollars!'
  245. # right_click_requirement:
  246. # requirements:
  247. # staff_requirement:
  248. # type: string equals
  249. # input: '%vault_rank%'
  250. # output: staff
  251. # deny_commands:
  252. # - '[message] you are not staff'
  253. # right_click_commands:
  254. # - '[message] you are staff'
  255. #
  256. # deny_commands: are optional and will be executed if the requirement is not met.
  257. # ==============================================================
  258. #
  259. #
  260. # You do not need to specify item options that you don't use!
  261. # The only required entries for a gui menu item to be valid are:
  262. #
  263. # A valid material
  264. # A valid slot
  265. #
  266. # Every item in the items list must have a unique <item identifier>
  267. #
  268. # If you choose to update placeholders for a specific item, you must specify update_interval: <time>
  269. # in the GUI menu options for the specific GUI menu.
  270. # Only GUI menus with at least one item that has update: true will update those specific items placeholders.
  271. #
  272. # Every click_command must start with a specific identifier to know what to do for the execution.
  273. # Valid click_command identifiers:
  274. #
  275. # [console] - Execute a command from the console
  276. # Usage: - '[console] <command with no slash>'
  277. #
  278. # [player] - Execute a command for the menu viewer
  279. # Usage: - '[player] <command with no slash>'
  280. #
  281. # [commandevent] - Fire a PlayerCommandPreprocessEvent for commands that do not use the bukkit command system
  282. # Usage: - '[commandevent] <command with no slash>'
  283. #
  284. # [message] - Send a message to the menu viewer
  285. # Usage: - [message] <message to send to the player
  286. #
  287. # [broadcast] - Broadcast a message to the server
  288. # Usage: - '[broadcast] <message>
  289. #
  290. # [chat] - Send a chat message as the player performing the action
  291. # Usage: - '[chat] <message>
  292. #
  293. # [openguimenu] - Open a GUI menu (can only be used in GUI menu click_commands)
  294. # Usage: - '[openguimenu] <guiMenuName>'
  295. #
  296. # [connect] - Connect to the specified bungee server
  297. # Usage: - '[connect] <serverName>'
  298. #
  299. # [close] - Close the viewers open menu
  300. # Usage: - '[close]
  301. #
  302. # [refresh] - Refresh items in the current menu view
  303. # Usage: - '[refresh]
  304. #
  305. # [broadcastsound] - Broadcast a sound to the server
  306. # Usage: - '[broadcastsound]
  307. #
  308. # [sound] - Play a sound for a the specific player
  309. # Usage: - '[sound]
  310. #
  311. # [takemoney] - Take money from a player (requires Vault)
  312. # Usage: - '[takemoney] <amount>
  313. #
  314. # [json] - Send a json message to the menu viewer
  315. # Usage: - '[json] {"text":"message"}'
  316. #
  317. #
  318. #
  319. # You can delay any of the click command being performed by ending the command with
  320. # <delay=(time in TICKS)>
  321. # example:
  322. # - '[close]'
  323. # - '[message] it has been 5 seconds since the menu closed!<delay=100>'
  324. # - '[message] it has been 10 seconds since the menu closed!<delay=200>'
  325. #
  326. # A delay should NOT be added to the [close] or [openguimenu] actions
  327. # as it could potentially cause unknown issues or glitches with menus.
  328. debug: false
  329. check_updates: true
  330. menu_title: '&9Magic Band'
  331. open_command: magicband
  332. size: 27
  333. items:
  334. '1':
  335. material: 23823
  336. slot: 0
  337. display_name: '&e&lVote'
  338. lore:
  339. - '&aClick to vote!'
  340. left_click_commands:
  341. - '[player] vote'
  342. - '[close]'
  343. right_click_commands:
  344. - '[player] vote'
  345. - '[close]'
  346. '2':
  347. material: 401
  348. slot: 3
  349. display_name: '&6&lShows'
  350. lore:
  351. - '&aClick to see our shows!'
  352. left_click_commands:
  353. - '[player] shows'
  354. - '[close]'
  355. right_click_commands:
  356. - '[player] shows'
  357. - '[close]'
  358. '3':
  359. material: 399
  360. slot: 5
  361. display_name: '&a&lParks and Warps'
  362. lore:
  363. - '&aClick to see our Parks and more Warps!'
  364. left_click_commands:
  365. - '[player] parks'
  366. - '[close]'
  367. right_click_commands:
  368. - '[player] parks'
  369. - '[close]'
  370. '4':
  371. material: 23823
  372. slot: 8
  373. display_name: '&c&You&r&lTube'
  374. lore:
  375. - '&aClick to be redirected to our &cYou&rTube&a channel!'
  376. left_click_commands:
  377. - '[player] youtube'
  378. - '[close]'
  379. right_click_commands:
  380. - '[player] youtube'
  381. - '[close]'
  382. '5':
  383. material: 54
  384. slot: 11
  385. display_name: '&8&lBackpack'
  386. lore:
  387. - '&aClick to open your personal backpack!'
  388. left_click_commands:
  389. - '[player] enderchest'
  390. - '[close]'
  391. right_click_commands:
  392. - '[player] enderchest'
  393. - '[close]'
  394. '8':
  395. material: 421
  396. slot: 13
  397. display_name: '&4&lPlayer Visibility'
  398. lore:
  399. - '&aClick to toggle player visibility!'
  400. left_click_commands:
  401. - '[player] command'
  402. - '[close]'
  403. right_click_commands:
  404. - '[player] command'
  405. - '[close]'
  406. '9':
  407. material: 328
  408. slot: 15
  409. display_name: '&7&lAttractions'
  410. lore:
  411. - '&aClick to see all our rides and attractions!'
  412. left_click_commands:
  413. - '[player] rides'
  414. - '[close]'
  415. right_click_commands:
  416. - '[player] rides'
  417. - '[close]'
  418. '10':
  419. material: 23823
  420. slot: 18
  421. display_name: '&9&lDiscord'
  422. lore:
  423. - '&aClick to be redirected to our discord server!'
  424. left_click_commands:
  425. - '[player] discord'
  426. - '[close]'
  427. right_click_commands:
  428. - '[player] discord'
  429. - '[close]'
  430. '11':
  431. material: 355
  432. slot: 21
  433. display_name: '&2&lResorts and Hotels'
  434. lore:
  435. - '&aClick to see all our resorts and hotels!'
  436. left_click_commands:
  437. - '[player] resorts'
  438. - '[close]'
  439. right_click_commands:
  440. - '[player] resorts'
  441. - '[close]'
  442. '12':
  443. material: 364
  444. slot: 23
  445. display_name: '&5&lFood'
  446. lore:
  447. - '&aClick to see all our food options!'
  448. left_click_commands:
  449. - '[player] food'
  450. - '[close]'
  451. right_click_commands:
  452. - '[player] food'
  453. - '[close]'
  454. '13':
  455. material: 23823
  456. slot: 26
  457. display_name: '&e&lWebsite'
  458. lore:
  459. - '&aClick to be redirected to our website!'
  460. left_click_commands:
  461. - '[player] discord'
  462. - '[close]'
  463. right_click_commands:
  464. - '[player] discord'
  465. - '[close]'
  466. Panel1:
  467. material: 9615
  468. slot: 1
  469. display_name: '&8'
  470. Panel2:
  471. material: 9615
  472. slot: 2
  473. display_name: '&8'
  474. Panel3:
  475. material: 9600
  476. slot: 4
  477. display_name: '&8'
  478. Panel4:
  479. material: 9615
  480. slot: 6
  481. display_name: '&8'
  482. Panel5:
  483. material: 9615
  484. slot: 7
  485. display_name: '&8'
  486. Panel6:
  487. material: 9615
  488. slot: 9
  489. display_name: '&8'
  490. Panel7:
  491. material: 9615
  492. slot: 10
  493. display_name: '&8'
  494. Panel8:
  495. material: 9600
  496. slot: 12
  497. display_name: '&8'
  498. Panel9:
  499. material: 9600
  500. slot: 14
  501. display_name: '&8'
  502. Panel10:
  503. material: 9615
  504. slot: 16
  505. display_name: '&8'
  506. Panel11:
  507. material: 160
  508. data: 15
  509. slot: 17
  510. display_name: '&8'
  511. Panel12:
  512. material: 9615
  513. slot: 19
  514. display_name: '&8'
  515. Panel13:
  516. material: 9615
  517. slot: 20
  518. display_name: '&8'
  519. Panel14:
  520. material: 9600
  521. slot: 22
  522. display_name: '&8'
  523. Panel15:
  524. material: 9615
  525. slot: 24
  526. display_name: '&8'
  527. Panel16:
  528. material: 9615
  529. slot: 25
  530. display_name: '&8'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement