Advertisement
Guest User

Untitled

a guest
Jan 12th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.58 KB | None | 0 0
  1. # DeluxeMenus 1.10.5 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. # hide_attributes: <true/false if this item should display item attributes>
  64. # hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
  65. # hide_effects: <true/false if this item should display item effect attributes>
  66. # hide_unbreakable: <true/false if this item should display item unbreakable attributes>
  67. # banner_meta: (this is used if you want to display a custom banner with specific patterns)
  68. # - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
  69. # - 'RED;BASE'
  70. # - 'WHITE;CREEPER'
  71. # display_name: <display name to show for this item>
  72. # lore:
  73. # - 'placeholders can be used in the name and lore'
  74. # - '%<any placeholder from Papi>% shows the viewer values'
  75. # enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  76. # - '<ENCHANTMENT>;<LEVEL>'
  77. # - 'SILK_TOUCH;1'
  78. # left_click_commands:
  79. # - '[close]'
  80. # left_click_requirement: <see how to use this option below>
  81. # right_click_commands:
  82. # - '[player] spawn'
  83. # right_click_requirement: <see how to use this option below>
  84. #
  85. #
  86. # You can specify if a GUI menu should be loaded from another file:
  87. #
  88. # gui_menus:
  89. # <menuName>:
  90. # file: 'menuName.yml'
  91. #
  92. # This allows you to keep your config clean and not have tons of GUI menus cluttering it.
  93. # The file format the GUI menu is loaded from must end in .yml
  94. # GUI menus loaded from other configuration files must follow a specific format as well...
  95. # 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.
  96. # After that is done, use /dm reload and DeluxeMenus will create a folder and file specific to the GUI menu you specified.
  97. # If the file specified is created by DeluxeMenus (because it did not exist), a default GUI menu layout will be saved to that file.
  98. # From here you can edit it to your liking and use /dm reload to update your GUI menu!
  99. #
  100. # This loading from external config files is only available for gui menus and will not work for click menus yet....
  101. #
  102. # banner_meta must be listed with a specific format:
  103. # banner_meta:
  104. # - <DyeColor>;<PatternType>
  105. #
  106. # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
  107. # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
  108. # ==============================================================
  109. #
  110. # Requirement information
  111. #
  112. # Requirements can be set as the following:
  113. #
  114. # open_requirement: This requirement is checked when a menu is opened
  115. # view_requirement: This requirement determines if an item should be set in a menu slot
  116. # left_click_requirement: This requirement is checked when an item is left clicked
  117. # right_click_requirement: This requirement is checked when an item is right clicked
  118. #
  119. # Requirement types:
  120. # javascript - Evaluates a javascript expression that must return true or false
  121. # configuration options:
  122. # expression
  123. #
  124. # has item - Checks if a player has a specific item
  125. # configuration options:
  126. # material
  127. # amount
  128. # data
  129. # name
  130. # lore
  131. #
  132. # has money - Checks if a player has enough money (Vault required)
  133. # configuration options:
  134. # amount
  135. #
  136. # has permission - Checks if a player has a specific permission
  137. # configuration options:
  138. # permission
  139. #
  140. # string contains - Checks if a string contains another string
  141. # configuration options:
  142. # input
  143. # output
  144. #
  145. # string equals - Checks if a string equals another string
  146. # configuration options:
  147. # input
  148. # output
  149. #
  150. # stringequalsignorecase - Checks if a string equals another string ignoring case
  151. # configuration options:
  152. # input
  153. # output
  154. #
  155. # > - Checks if a number is greater than another number
  156. # configuration options:
  157. # input
  158. # output
  159. #
  160. # >= - Checks if a number is greater than or equal to another number
  161. # configuration options:
  162. # input
  163. # output
  164. #
  165. # == - Checks if a number is equal to another number
  166. # configuration options:
  167. # input
  168. # output
  169. #
  170. # <= - Checks if a number is less than or equal to another number
  171. # configuration options:
  172. # input
  173. # output
  174. #
  175. # < - Checks if a number is less than another number
  176. # configuration options:
  177. # input
  178. # output
  179. #
  180. #
  181. #
  182. # So why would we want to use requirements?
  183. # By default, DeluxeMenus does not require a player meet any conditions to open your menu.
  184. # If you want to require a menu need a certain permission node for it to be accessed, or a certain amount of money
  185. # for a menu to be opened, You do that with an 'open_requirement'.
  186. # Below is an example of how you would deny opening a menu if the viewer does not have permission:
  187. #
  188. # menu_title: 'Menu that requires permission to open'
  189. # open_command: testmenu
  190. # size: 9
  191. # open_requirement:
  192. # requirements:
  193. # this_requirement_name:
  194. # type: has permission
  195. # permission: 'testmenu.open'
  196. # deny_commands:
  197. # - '[message] you do not have permission to open testmenu'
  198. #
  199. #
  200. # Below is a full example of use cases for requirements:
  201. #
  202. # menu_title: 'Menu that requires permission to open'
  203. # open_command: testmenu
  204. # size: 9
  205. # open_requirement:
  206. # requirements:
  207. # this_requirement_name:
  208. # type: has permission
  209. # permission: 'testmenu.open'
  210. # deny_commands:
  211. # - '[message] you do not have permission to open testmenu'
  212. # items:
  213. # mymenuitem:
  214. # priority: 2
  215. # material: DIRT
  216. # slot: 0
  217. # name 'You dont have 100 diamonds to view this item'
  218. # mymenuitem:
  219. # priority: 1
  220. # material: DIAMOND
  221. # slot: 0
  222. # name 'You have lots of diamonds so you can see this item'
  223. # view_requirement:
  224. # requirements:
  225. # diamond_requirement:
  226. # type: has item
  227. # material: diamond
  228. # amount: 100
  229. # left_click_requirement:
  230. # requirements:
  231. # money_requirement:
  232. # type: '>='
  233. # input: '%vault_eco_balance_fixed%'
  234. # output: 1000
  235. # deny_commands:
  236. # - '[message] you only have %vault_eco_balance_fixed%'
  237. # left_click_commands:
  238. # - '[message] you have over 1000 dollars!'
  239. # right_click_requirement:
  240. # requirements:
  241. # staff_requirement:
  242. # type: string equals
  243. # input: '%vault_rank%'
  244. # output: staff
  245. # deny_commands:
  246. # - '[message] you are not staff'
  247. # right_click_commands:
  248. # - '[message] you are staff'
  249. #
  250. # deny_commands: are optional and will be executed if the requirement is not met.
  251. # ==============================================================
  252. #
  253. #
  254. # You do not need to specify item options that you don't use!
  255. # The only required entries for a gui menu item to be valid are:
  256. #
  257. # A valid material
  258. # A valid slot
  259. #
  260. # Every item in the items list must have a unique <item identifier>
  261. #
  262. # If you choose to update placeholders for a specific item, you must specify update_interval: <time>
  263. # in the GUI menu options for the specific GUI menu.
  264. # Only GUI menus with at least one item that has update: true will update those specific items placeholders.
  265. #
  266. # Every click_command must start with a specific identifier to know what to do for the execution.
  267. # Valid click_command identifiers:
  268. #
  269. # [console] - Execute a command from the console
  270. # Usage: - '[console] <command with no slash>'
  271. #
  272. # [player] - Execute a command for the menu viewer
  273. # Usage: - '[player] <command with no slash>'
  274. #
  275. # [commandevent] - Fire a PlayerCommandPreprocessEvent for commands that do not use the bukkit command system
  276. # Usage: - '[commandevent] <command with no slash>'
  277. #
  278. # [message] - Send a message to the menu viewer
  279. # Usage: - [message] <message to send to the player
  280. #
  281. # [openguimenu] - Open a GUI menu (can only be used in GUI menu click_commands)
  282. # Usage: - '[openguimenu] <guiMenuName>'
  283. #
  284. # [connect] - Connect to the specified bungee server
  285. # Usage: - '[connect] <serverName>'
  286. #
  287. # [close] - Close the viewers open menu
  288. # Usage: - '[close]
  289. #
  290. # [refresh] - Refresh items in the current menu view
  291. # Usage: - '[refresh]
  292. #
  293. # [broadcastsound] - Broadcast a sound to the server
  294. # Usage: - '[broadcastsound]
  295. #
  296. # [sound] - Play a sound for a the specific player
  297. # Usage: - '[sound]
  298. #
  299. # [json] - Send a json message to the menu viewer
  300. # Usage: - '[json] {"text":"message"}'
  301. #
  302. #
  303. #
  304. # You can delay any of the click command being performed by ending the command with
  305. # <delay=(time in TICKS)>
  306. # example:
  307. # - '[close]'
  308. # - '[message] it has been 5 seconds since the menu closed!<delay=100>'
  309. # - '[message] it has been 10 seconds since the menu closed!<delay=200>'
  310. #
  311. # A delay should NOT be added to the [close] or [openguimenu] actions
  312. # as it could potentially cause unknown issues or glitches with menus.
  313. debug: false
  314. check_updates: true
  315. kits:
  316. menu_title: '&8Viewing &n1&r &8kits.'
  317. open_command:
  318. - kit
  319. - kits
  320. - ekit
  321. - ekits
  322. size: 9
  323. items:
  324. basic:
  325. material: 2
  326. data: 5
  327. slot: 0
  328. priority: 2
  329. update: true
  330. hide_attributes: true
  331. view_requirement:
  332. requirements:
  333. name:
  334. type: string equals
  335. input: '%essentials_kit_is_available_basic%'
  336. output: 'yes'
  337. display_name: '&8[&fBasicKit&8]'
  338. lore:
  339. - ''
  340. - '&6* &eCooldown: &f2 hours'
  341. - '&6* &eAvailable in: &aNow'
  342. - ''
  343. - '&6Left-Click &eto claim kit'
  344. - '&6Right-Click &eto preview the kit'
  345. left_click_commands:
  346. - '[player] kit basic'
  347. - '[console] playsound mob.horse.armor %player_name% ~ ~ ~ 1 1.5 1'
  348. - '[close]'
  349. right_click_commands:
  350. - '[player] previewkit basic'
  351. basicoff:
  352. material: 160
  353. data: 1
  354. slot: 0
  355. priority: 3
  356. update: true
  357. hide_attributes: true
  358. display_name: '&8[&fBasicKit&8]'
  359. lore:
  360. - ''
  361. - '&6* &eCooldown: &f2 hours'
  362. - '&6* &eAvailable in: &c&n%essentials_kit_time_until_available_basic%'
  363. - ''
  364. - '&6Left-Click &eto claim kit'
  365. - '&6Right-Click &eto preview the kit'
  366. left_click_commands:
  367. - '[console] playsound mob.bat.takeoff %player_name% ~ ~ ~ 1 1.5 1'
  368. - '[console] playsound mob.horse.armor %player_name% ~ ~ ~ 1 1.5 1'
  369. right_click_commands:
  370. - '[player] previewkit basic'
  371. basicnoperm:
  372. material: 2
  373. data: 14
  374. slot: 0
  375. priority: 1
  376. update: true
  377. hide_attributes: true
  378. view_requirement:
  379. requirements:
  380. name:
  381. type: string equals
  382. input: '%essentials_has_kit_basic%'
  383. output: 'no'
  384. display_name: '&8[&fBasicKit&8]'
  385. lore:
  386. - ''
  387. - '&6* &eCooldown: &f2 hours'
  388. - '&6* &eAvailable in: &c&nUnavailable'
  389. - ''
  390. - '&7To unlock this kit, purchase it'
  391. - '&7at our store at &nstore.server.com'
  392. - ''
  393. - '&6Right-Click &eto preview the kit'
  394. left_click_commands:
  395. - '[console] playsound mob.bat.takeoff %player_name% ~ ~ ~ 1 1.5 1'
  396. - '[console] playsound mob.horse.armor %player_name% ~ ~ ~ 1 1.5 1'
  397. right_click_commands:
  398. - '[player] previewkit basic'
  399. pane:
  400. material: 160
  401. data: 7
  402. slots:
  403. - 1
  404. - 2
  405. - 3
  406. - 4
  407. - 5
  408. - 6
  409. - 7
  410. - 8
  411. display_name: '&7'
  412. gui_menus:
  413. example:
  414. menu_title: '&aExample GUI menu'
  415. open_command: examplemenu
  416. size: 9
  417. open_requirement:
  418. requirements:
  419. permission:
  420. type: has permission
  421. permission: some.permission
  422. deny_commands:
  423. - '[message] You dont have permission to open the example menu'
  424. items:
  425. '1':
  426. material: head;%player_name%
  427. slot: 0
  428. display_name: '&aHey &f%player_name%'
  429. lore:
  430. - '&aYou opened a GUI menu'
  431. - '&aThis menu is just for you!'
  432. left_click_commands:
  433. - '[close]'
  434. right_click_commands:
  435. - '[player] help'
  436. - '[close]'
  437. '2':
  438. material: DIRT
  439. data: 0
  440. amount: 1
  441. slot: 1
  442. priority: 1
  443. view_requirement:
  444. requirements:
  445. permission:
  446. type: has permission
  447. permission: some.permission
  448. display_name: '&bTeleport home'
  449. lore:
  450. - '&bClick to teleport'
  451. - '&bto your home'
  452. left_click_commands:
  453. - '[close]'
  454. right_click_commands:
  455. - '[player] home'
  456. - '[close]'
  457. '3':
  458. material: DIRT
  459. data: 0
  460. amount: 1
  461. slot: 1
  462. priority: 2
  463. display_name: '&bTeleport to spawn'
  464. lore:
  465. - '&bClick to teleport'
  466. - '&bto the server spawn'
  467. click_commands:
  468. - '[player] spawn'
  469. - '[close]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement