Advertisement
Mr_redstone5230

exemple.yml

May 30th, 2019
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. ######################
  2. #+ +#
  3. # MENU SETTINGS #
  4. #+ +#
  5. ######################
  6.  
  7. menu-settings:
  8.  
  9. # REQUIRED
  10. # Appears as the title of the menu.
  11. name: '&1Example menu'
  12.  
  13. # REQUIRED
  14. # The number of rows in the menu.
  15. rows: 3
  16.  
  17. # OPTIONAL (you can remove this or set it to '')
  18. # Bind multiple commands using ; (command: 'menu; m; me')
  19. command: 'menu'
  20.  
  21. # OPTIONAL
  22. # How frequently the menu will be refreshed, in seconds.
  23. # Useful if you have variables in items' descriptions.
  24. auto-refresh: 5
  25.  
  26. # OPTIONAL
  27. # This command command will be executed when the menu is opened.
  28. # Supports all the icon command types.
  29. open-action: 'tell: &eYou opened the example menu.'
  30.  
  31. # OPTIONAL
  32. # The menu will open only when right-clicking with a compass.
  33. open-with-item:
  34. id: red_shulker_box
  35. left-click: false
  36. right-click: true
  37.  
  38.  
  39. ######################
  40. #+ +#
  41. # ITEMS #
  42. #+ +#
  43. ######################
  44.  
  45.  
  46. spawncmd:
  47. COMMAND: 'spawn'
  48. NAME: '&e/spawn'
  49. LORE:
  50. - 'It justs executes /spawn'
  51. - 'as the player who clicked.'
  52. ID: enderpearl
  53. POSITION-X: 1
  54. POSITION-Y: 1
  55.  
  56.  
  57. durability-armor:
  58. NAME: '&aDamaged armor'
  59. LORE:
  60. - 'This armor is damaged.'
  61. ID: diamond helmet
  62. DATA-VALUE: 200
  63. POSITION-X: 2
  64. POSITION-Y: 1
  65.  
  66.  
  67. enchanted-sword:
  68. NAME: '&aEnchanted sword'
  69. LORE:
  70. - 'This sword is glowing.'
  71. ID: diamond sword
  72. ENCHANTMENT: durability, 1
  73. POSITION-X: 3
  74. POSITION-Y: 1
  75.  
  76.  
  77. some-arrows:
  78. NAME: '&aSome arrows'
  79. LORE:
  80. - 'You can set the amount of items to display.'
  81. ID: arrow
  82. AMOUNT: 5
  83. POSITION-X: 4
  84. POSITION-Y: 1
  85.  
  86.  
  87. test-from-console:
  88. COMMAND: 'console: say Hello {player}!'
  89. NAME: '&cRuns command from the console.'
  90. LORE:
  91. - 'It broadcasts your name with the command /say.'
  92. ID: command block
  93. POSITION-X: 5
  94. POSITION-Y: 1
  95.  
  96.  
  97. test-as-op:
  98. COMMAND: 'op: say Hello world!'
  99. NAME: '&cRuns command as OP.'
  100. LORE:
  101. - 'Be careful with this type of commands.'
  102. - 'It will ignore nearly all the permissions.'
  103. ID: command block
  104. POSITION-X: 6
  105. POSITION-Y: 1
  106.  
  107.  
  108. test-with-placeholder:
  109. COMMAND: 'tell: &9Online players: &f{online}/{max_players}; tell: &9Your name: &f{player}; tell: &9The world you are in: &f{world}; tell: &9Money: &f{money}'
  110. NAME: '&6This message contains some placeholders'
  111. LORE:
  112. - 'Placeholders will be replaced when the item'
  113. - 'is clicked.'
  114. ID: water bucket
  115. POSITION-X: 7
  116. POSITION-Y: 1
  117.  
  118.  
  119. economy-give:
  120. COMMAND: 'tell: &aYou have paid 50$ for this command!; give: gold_ingot'
  121. NAME: '&eEconomy & Give command'
  122. LORE:
  123. - 'This command will be executed'
  124. - 'only if you have at least 50$!'
  125. - 'It gives you a gold ingot.'
  126. ID: gold ingot
  127. PRICE: 50
  128. POSITION-X: 8
  129. POSITION-Y: 1
  130.  
  131.  
  132. economy-take:
  133. REQUIRED-ITEM: 'gold_ingot'
  134. COMMAND: 'tell: &aYou have been paid 50$; givemoney: 50'
  135. NAME: '&eEconomy & Required item'
  136. LORE:
  137. - 'This command is the opposite of the previous.'
  138. - 'It will take you a gold ingot and give you $50.'
  139. ID: gold ingot
  140. POSITION-X: 9
  141. POSITION-Y: 1
  142.  
  143.  
  144. formatting-codes:
  145. NAME: '&dFormatting codes'
  146. LORE:
  147. - 'You can use all the formatting codes!'
  148. - '&fColors: &c#c &a#a &9#9 &e#e &f... ...'
  149. - '&fRandom (#k): &kfy379!H'
  150. - '&fBold (#l): &lexample'
  151. - '&fStrikethrough (#m): &mexample'
  152. - '&fUnderline (#n): &nexample'
  153. - '&fItalic (#o): &oexample'
  154. ID: paper
  155. POSITION-X: 1
  156. POSITION-Y: 2
  157.  
  158.  
  159. will-not-close:
  160. NAME: '&2Info'
  161. LORE:
  162. - '&7The menu will not close'
  163. - '&7clicking on this item.'
  164. ID: oak_sign
  165. KEEP-OPEN: true
  166. POSITION-X: 2
  167. POSITION-Y: 2
  168.  
  169.  
  170. talking-fish:
  171. COMMAND: 'tell: This is a simple message, without using commands!'
  172. NAME: '&3Tells you something.'
  173. LORE:
  174. - '&7It tells you something without commands.'
  175. ID: torch
  176. POSITION-X: 3
  177. POSITION-Y: 2
  178.  
  179.  
  180. test-multiple-command:
  181. COMMAND: 'console: Say Did you know that...; console: say you can run multiple commands?;'
  182. NAME: '&aMultiple commands'
  183. LORE:
  184. - 'Example of multiple commands.'
  185. ID: golden apple
  186. POSITION-X: 4
  187. POSITION-Y: 2
  188.  
  189.  
  190. permission:
  191. COMMAND: 'tell: &a[v] You have the correct permission!'
  192. NAME: '&8Permission test'
  193. LORE:
  194. - 'To use this item, you need the'
  195. - 'permission "chestcommands.test".'
  196. - 'Otherwise, a configurable error'
  197. - 'message will be displayed.'
  198. ID: iron bars
  199. POSITION-X: 5
  200. POSITION-Y: 2
  201. PERMISSION: chestcommands.test
  202. PERMISSION-MESSAGE: 'You don''t have the correct permission!'
  203.  
  204.  
  205. nbt-tags:
  206. NAME: '&aUsing NBT tags'
  207. LORE:
  208. - 'This item was colored using custom NBT tags.'
  209. - 'All NBT tags valid in Minecraft can be used.'
  210. ID: leather chestplate
  211. NBT-DATA: '{display: {color: 8910400}}'
  212. POSITION-X: 6
  213. POSITION-Y: 2
  214.  
  215.  
  216. menu-close-no-commands-no-lore:
  217. NAME: '&6Close the menu'
  218. ID: redstone lamp
  219. LORE:
  220. - 'Create an item without command,'
  221. - 'the GUI will just close.'
  222. POSITION-X: 9
  223. POSITION-Y: 3
  224.  
  225.  
  226. menu-change:
  227. COMMAND: 'open: mached_potatoes.yml'
  228. NAME: '&6Change menu'
  229. ID: redstone_block
  230. LORE:
  231. - 'Create an item without command,'
  232. - 'the GUI will just close.'
  233. POSITION-X: 1
  234. POSITION-Y: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement