DUYSONGLOI

smore

Oct 28th, 2018
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.70 KB | None | 0 0
  1. # smore 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. #   requirements:
  10. #     <unique name for this requirement>:
  11. #       type: <type for this requirement>
  12. #       <unique options per requirement type would go here>
  13. #       deny_commands:
  14. #      - '[message] you do not meet requirements to open this menu'
  15. # size: <size of this menu, increments of 9, max size is 54>
  16. # update_interval: <time in seconds this gui should update for a player if an item is set to uodate placeholders>
  17. # items:
  18. #   <item identifier>:
  19. #     material: <name or id>
  20. #     material: head-<name of player>
  21. #     material: hdb-<HeadDatabase id> (requires plugin HeadDatabase)
  22. #     entitytype: <name of entity type for mob eggs> https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html'>
  23. #     data: <integer, used for data values for wool etc>
  24. #     amount: <amount of this item to show>
  25. #     slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
  26. #     priority: <this is used if you have multiple items set for the same slot>
  27. #     view_requirement: <see item view requirement info below. The lowest priority item a player meets all view requirements for will be shown>
  28. #     update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
  29. #     hide_attributes: <true/false if this item should display item attributes>
  30. #     hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
  31. #     hide_effects: <true/false if this item should display item effect attributes>
  32. #     hide_unbreakable: <true/false if this item should display item unbreakable attributes>
  33. #     display_name: <display name to show for this item>
  34. #     banner_meta: (this is used if you want to display a custom banner with specific patterns)
  35. #     - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
  36. #     - 'RED;BASE'
  37. #     - 'WHITE;CREEPER'
  38. #     lore:
  39. #     - 'placeholders can be used in the name and lore'
  40. #     - '%<any placeholder from Papi>% shows the viewer values'
  41. #     enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  42. #     - '<ENCHANTMENT>;<LEVEL>'
  43. #     - 'SILK_TOUCH;1'
  44. #     left_click_commands:
  45. #     - '[close]'
  46. #     left_click_requirement: <see how to use this option below>
  47. #     right_click_commands:
  48. #     - '[player] spawn'
  49. #     right_click_requirement: <see how to use this option below>
  50. #
  51. # All keys aside from update_interval are required for this menu to be valid and loaded!
  52. # The only options for an item to be considered valid are material and slot!
  53. #
  54. # banner_meta must be listed with a specific format:
  55. # banner_meta:
  56. # - <DyeColor>;<PatternType>
  57. #
  58. # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
  59. # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
  60. # ==============================================================
  61. #
  62. # Requirement information
  63. #
  64. # Requirements can be set as the following:
  65. #
  66. # open_requirement: This requirement is checked when a menu is opened
  67. # view_requirement: This requirement determines if an item should be set in a menu slot
  68. # left_click_requirement: This requirement is checked when an item is left clicked
  69. # right_click_requirement: This requirement is checked when an item is right clicked
  70. #
  71. # Requirement types:
  72. #   javascript - Evaluates a javascript expression that must return true or false
  73. #     configuration options:
  74. #       expression
  75. #
  76. #   has item - Checks if a player has a specific item
  77. #     configuration options:
  78. #       material
  79. #       amount
  80. #       data
  81. #       name
  82. #       lore
  83. #
  84. #   has money - Checks if a player has enough money (Vault required)
  85. #     configuration options:
  86. #       amount
  87. #
  88. #   has permission - Checks if a player has a specific permission
  89. #     configuration options:
  90. #       permission
  91. #
  92. #   string contains - Checks if a string contains another string
  93. #     configuration options:
  94. #       input
  95. #       output
  96. #
  97. #   string equals - Checks if a string equals another string
  98. #     configuration options:
  99. #       input
  100. #       output
  101. #
  102. #   stringequalsignorecase - Checks if a string equals another string ignoring case
  103. #     configuration options:
  104. #       input
  105. #       output
  106. #
  107. #   > - Checks if a number is greater than another number
  108. #     configuration options:
  109. #       input
  110. #       output
  111. #
  112. #   >= - Checks if a number is greater than or equal to another number
  113. #     configuration options:
  114. #       input
  115. #       output
  116. #
  117. #   == - Checks if a number is equal to another number
  118. #     configuration options:
  119. #       input
  120. #       output
  121. #
  122. #   <= - Checks if a number is less than or equal to another number
  123. #     configuration options:
  124. #       input
  125. #       output
  126. #
  127. #   < - Checks if a number is less than another number
  128. #     configuration options:
  129. #       input
  130. #       output
  131. #
  132. #
  133. #
  134. # So why would we want to use requirements?
  135. # By default, DeluxeMenus does not require a player meet any conditions to open your menu.
  136. # If you want to require a menu need a certain permission node for it to be accessed, or a certain amount of money
  137. # for a menu to be opened, You do that with an 'open_requirement'.
  138. # Below is an example of how you would deny opening a menu if the viewer does not have permission:
  139. #
  140. # menu_title: 'Menu that requires permission to open'
  141. # open_command: testmenu
  142. # size: 9
  143. # open_requirement:
  144. #   requirements:
  145. #     this_requirement_name:
  146. #       type: has permission
  147. #       permission: 'testmenu.open'
  148. #       deny_commands:
  149. #       - '[message] you do not have permission to open testmenu'
  150. #
  151. #
  152. # Below is a full example of use cases for requirements:
  153. #
  154. #               menu_title: 'Menu that requires permission to open'
  155. #                   open_command: testmenu
  156. #                   size: 9
  157. #                   open_requirement:
  158. #                     requirements:
  159. #                       this_requirement_name:
  160. #                         type: has permission
  161. #                         permission: 'testmenu.open'
  162. #                         deny_commands:
  163. #                         - '[message] you do not have permission to open testmenu'
  164. #                   items:
  165. #                     mymenuitem:
  166. #                       priority: 2
  167. #                       material: DIRT
  168. #                       slot: 0
  169. #                       name 'You dont have 100 diamonds to view this item'
  170. #                     mymenuitem:
  171. #                       priority: 1
  172. #                       material: DIAMOND
  173. #                       slot: 0
  174. #                       name 'You have lots of diamonds so you can see this item'
  175. #                       view_requirement:
  176. #                         requirements:
  177. #                           diamond_requirement:
  178. #                             type: has item
  179. #                             material: diamond
  180. #                             amount: 100
  181. #                       left_click_requirement:
  182. #                         requirements:
  183. #                           money_requirement:
  184. #                             type: '>='
  185. #                             input: '%vault_eco_balance_fixed%'
  186. #                             output: 1000
  187. #                             deny_commands:
  188. #                             - '[message] you only have %vault_eco_balance_fixed%'
  189. #                       left_click_commands:
  190. #                       - '[message] you have over 1000 dollars!'
  191. #                       right_click_requirement:
  192. #                         requirements:
  193. #                           staff_requirement:
  194. #                             type: string equals
  195. #                             input: '%vault_rank%'
  196. #                             output: staff
  197. #                             deny_commands:
  198. #                             - '[message] you are not staff'
  199. #                       right_click_commands:
  200. #                       - '[message] you are staff'
  201. #
  202. # deny_commands: are optional and will be executed if the requirement is not met.
  203. # ==============================================================
  204. menu_title: '                 &b&lMORE'
  205. open_command:
  206. - moreshopdada
  207. - mshopadadad
  208. size: 53
  209. open_requirement:
  210.   requirements:
  211.     permission:
  212.       type: has permission
  213.       permission: mine224.perm
  214.       deny_commands:
  215.       - '[message] You dont have permission to open menu: smore'
  216. items:
  217.   'svukhi':
  218.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTBkZmM4YTM1NjNiZjk5NmY1YzFiNzRiMGIwMTViMmNjZWIyZDA0Zjk0YmJjZGFmYjIyOTlkOGE1OTc5ZmFjMSJ9fX0='
  219.     slot: 9
  220.     display_name: '&c&lVũ khí'
  221.     lore:
  222.    - '&b&oClick &fĐể mở Shop VŨ KHÍ'
  223.     - ''
  224.     - '&a&l✔'
  225.     left_click_commands:
  226.    - ''
  227.     right_click_commands:
  228.    - ''
  229.   'stool':
  230.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjRiYTQ5Mzg0ZGJhN2I3YWNkYjRmNzBlOTM2MWU2ZDU3Y2JiY2JmNzIwY2Y0ZjE2YzJiYjgzZTQ1NTcifX19'
  231.     slot: 18
  232.     display_name: '&c&lTools'
  233.     lore:
  234.    - '&b&oClick &fĐể mở Shop TOOLS'
  235.     - ''
  236.     - '&c&l✖'
  237.     left_click_commands:
  238.    - '[openguimenu] stools'
  239.     right_click_commands:
  240.    - '[openguimenu] stools'
  241.   'sweapon':
  242.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmRlNGZlNGJiNWUzNmM5ZWFjOWYyYTc5ZGQ4NjljMTM4NmNhODUzZWYzZDljOWJjYmNiZjA3YTRjY2ZjZDViIn19fQ=='
  243.     slot: 27
  244.     display_name: '&c&lGiáp'
  245.     lore:
  246.    - '&b&oClick &fĐể mở Shop GIÁP'
  247.     - ''
  248.     - '&c&l✖'
  249.     left_click_commands:
  250.    - '[openguimenu] sgiap'
  251.     right_click_commands:
  252.    - '[openguimenu] sgiap'
  253.   'sgift':
  254.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2IzYzE3YjJkZGVjMmI3MjZkNzE3YThiNWE3ZDY4Yjc3NzJmYmQ5YzA5YTNmZjRiZDJhNDEyZDI0Y2NkNDkxYyJ9fX0='
  255.     slot: 36
  256.     display_name: '&c&lKhác'
  257.     lore:
  258.    - '&b&oClick &fĐể mở Shop KHÁC'
  259.     - ''
  260.     - '&c&l✖'
  261.     left_click_commands:
  262.    - '[openguimenu] skhac'
  263.     right_click_commands:
  264.    - '[openguimenu] skhac'
  265.   'ixanh':
  266.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjBhMWNlZWRmNzI5YzRjMjFkMzVhYzQ5YTE4YWEyNWZiM2JmMTU5OGJiNjAwNjI3MzdiODc4NThlNGI1YzAwMiJ9fX0='
  267.     slot: 10
  268.     display_name: ''
  269.     lore:
  270.    - ''
  271.     left_click_commands:
  272.    - ''
  273.     right_click_commands:
  274.    - ''
  275.   'ixam':
  276.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDBkNzJkN2VjZmYzMmYzOWU3MDA0Yjc1OGE1M2IxNzljZmZjMTcwMzUwNGY4MzdmNTUwOTA1NzJiODgxMzkwYiJ9fX0='
  277.     slots:
  278.    - 19
  279.     - 28
  280.     - 37
  281.     display_name: ''
  282.     lore:
  283.    - ''
  284.     left_click_commands:
  285.    - ''
  286.     right_click_commands:
  287.    - ''
  288.   'glass':
  289.     material: '160'
  290.     data: 7
  291.     slots:
  292.    - 0
  293.     - 1
  294.     - 2
  295.     - 11
  296.     - 20
  297.     - 29
  298.     - 39
  299.     - 47
  300.     - 46
  301.     - 45
  302.     - 48
  303.     - 49
  304.     - 50
  305.     - 51
  306.     - 52
  307.     - 53
  308.     display_name: '&7[...]'
  309.     lore:
  310.    - ''
  311.     left_click_commands:
  312.    - ''
  313.     right_click_commands:
  314.    - ''
  315.   'aleftXam':
  316.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTQyZmRlOGI4MmU4YzFiOGMyMmIyMjY3OTk4M2ZlMzVjYjc2YTc5Nzc4NDI5YmRhZGFiYzM5N2ZkMTUwNjEifX19'
  317.     slots:
  318.    - 39
  319.     display_name: '&7⇦'
  320.     lore:
  321.    - ''
  322.     left_click_commands:
  323.    - ''
  324.     right_click_commands:
  325.    - ''
  326.   'arightXanh':
  327.     material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGVmMzU2YWQyYWE3YjE2NzhhZWNiODgyOTBlNWZhNWEzNDI3ZTVlNDU2ZmY0MmZiNTE1NjkwYzY3NTE3YjgifX19'
  328.     slots:
  329.    - 44
  330.     display_name: '&7⇨'
  331.     lore:
  332.    - ''
  333.     left_click_commands:
  334.    - ''
  335.     right_click_commands:
  336.    - ''
Advertisement
Add Comment
Please, Sign In to add comment