SkyVox

Machines - menu.yml

Feb 15th, 2019 (edited)
636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.47 KB | None | 0 0
  1. # Below contains all menus.
  2. # You can create unlimited menus below.
  3. Menu:
  4.  # Machine Shop menu.
  5.   machine-shop: # Do not change this name.
  6.     info:
  7.       title: "&7Machine Shop"
  8.       rows: 36
  9.     items:
  10.       1:
  11.        # This is the item action
  12.         # If action is 'null' means
  13.         # that this is just an
  14.         # informative item.
  15.         #
  16.         # Available actions: {"OPENMENU:menu", "CLOSEMENU", "SHOP", "UPGRADE"}
  17.         action: "NULL" # Just an informative item.
  18.         type: SIGN
  19.         amount: 1
  20.         name: "&6&l<*> &7Info &6&l<*>"
  21.         lore:
  22.          - ''
  23.           - '&7Click on the items above'
  24.           - '&7To purchase a new Machine.'
  25.         slot: 31
  26.       2:
  27.         action: "OPENMENU:fuel-shop" # OPENMENU:<your_menu_name> It is case sensitive, needs to be exactly the same name as your menu.
  28.         type: COAL
  29.         amount: 1
  30.         name: "&5Fuel Shop"
  31.         lore:
  32.          - ''
  33.           - '&7Click here to see the'
  34.           - '&7available fuels to purchase.'
  35.         slot: 30
  36.       3:
  37.         action: "CLOSEMENU"
  38.         type: WOOL:14
  39.         amount: 1
  40.         name: "&cClose"
  41.         lore:
  42.          - ''
  43.           - '&7Click to close this menu.'
  44.         slot: 32
  45.       4:
  46.         action: "SHOP"
  47.         type: IRON_BLOCK
  48.         amount: 1
  49.         name: "&6Iron Machine"
  50.         lore:
  51.          - ''
  52.           - '&7Click here to purchase'
  53.           - '&72x &6Iron Machine&7.'
  54.           - ''
  55.           - '&ePrice: &a%price%$'
  56.         slot: 11
  57.         price: 1750 # The machine price. (Vault)
  58.         # Below are the commands to be
  59.         # executed when players buys
  60.         # this item.
  61.         commands:
  62.          - '[CONSOLE]/machine send iron-machine %player_name% 2' # /machine send <type> <player> <amount>
  63.       5:
  64.         action: "SHOP"
  65.         type: DIAMOND_BLOCK
  66.         amount: 1
  67.         name: "&bDiamond Machine"
  68.         lore:
  69.          - ''
  70.           - '&7Click here to purchase'
  71.           - '&71x &bDiamond Machine&7.'
  72.           - ''
  73.           - '&ePrice: &a%price%$'
  74.         slot: 15
  75.         price: 5000 # The machine price. (Vault)
  76.         commands:
  77.          - '[CONSOLE]/machine send diamond-machine %player_name% 1'
  78.         # Player will only be able to
  79.         # interact with this item if he
  80.         # has the following permission.
  81.         permission: "skymachines.shop.buy"
  82.  
  83.   # Fuel Shop menu.
  84.   fuel-shop: # Do not change this name.
  85.     info:
  86.       title: "&7Fuel Shop"
  87.       rows: 36
  88.     items:
  89.       1:
  90.         action: "NULL" # Just an informative item.
  91.         type: SIGN
  92.         amount: 1
  93.         name: "&6&l<*> &7Info &6&l<*>"
  94.         lore:
  95.          - ''
  96.           - '&7Click on the coals'
  97.           - '&7above, to buy fuels'
  98.           - '&7for your machine.'
  99.         slot: 31
  100.       2:
  101.         action: "CLOSE"
  102.         type: WOOL:14
  103.         amount: 1
  104.         name: "&cClose"
  105.         lore:
  106.          - ''
  107.           - '&7Click to close this menu.'
  108.         slot: 32
  109.       3:
  110.         action: "SHOP"
  111.         type: COAL
  112.         amount: 1
  113.         name: "&7Iron Fuel"
  114.         lore:
  115.          - ''
  116.           - '&7Click here to purchase'
  117.           - '&7fuel for your &6Iron Machine&7.'
  118.           - ''
  119.           - '&7Amount: 5x'
  120.           - '&ePrice: &a%price%$'
  121.         slot: 12
  122.         price: 150 # The fuel price. (Vault)
  123.         commands:
  124.          - '[CONSOLE]/fuel send fuel-1 %player_name% 5' # /fuel send <type> <player> <amount>
  125.       4:
  126.         action: "SHOP"
  127.         type: "263:1"
  128.         amount: 1
  129.         name: "&7Great Fuel"
  130.         lore:
  131.          - ''
  132.           - '&7Click here to purchase'
  133.           - '&7Great Fuels.'
  134.           - '&7This fuel can active'
  135.           - '&7any Machine.'
  136.           - ''
  137.           - '&7Amount: 2x'
  138.           - '&ePrice: &a%price%$'
  139.         slot: 14
  140.         price: 200
  141.         commands:
  142.          - '[CONSOLE]/fuel send fuel-2 %player_name% 2'
  143.  
  144.   # The Machine upgrade Menu.
  145.   machine-upgrade:
  146.     info:
  147.       title: "&7Machine Customizer"
  148.       rows: 36
  149.     items:
  150.       1:
  151.         action: "NULL"
  152.         type: SIGN
  153.         amount: 1
  154.         name: "&6&l<*> &7Info &6&l<*>"
  155.         lore:
  156.          - ''
  157.           - '&7Click on the green wool'
  158.           - '&7to upgrade your Machine.'
  159.         slot: 31
  160.       2:
  161.         action: "UPGRADE"
  162.         type: WOOL:5
  163.         name: "&aUpgrade"
  164.         lore:
  165.          - ''
  166.           - '&7Click here to upgrade your machine.'
  167.           - '&7Current level: &a%machine_level%&3/&c%machine_last_level%'
  168.           - ''
  169.           - '&7Money Cost: &a%machine_upgrade_cost_money%$'
  170.           - '&7EXP Cost: &a%machine_upgrade_cost_exp%$'
  171.         slot: 12
  172.       3:
  173.         action: "CLOSE"
  174.         type: WOOL:14
  175.         name: "&cClose"
  176.         lore:
  177.          - ''
  178.           - '&7Click to close this menu.'
  179.         slot: 14
  180.       4:
  181.         action: "OPENMENU:custom-menu-1"
  182.         type: WOOD_BUTTON
  183.         name: "&7Custom Menu"
  184.         lore:
  185.          - ''
  186.           - '&7Click here to travel to'
  187.           - '&7your custom menu.'
  188.         slot: 32
  189.         # Player will only be able to
  190.         # interact with this item if he
  191.         # has the following permission.
  192.         permission: "skymachines.custommenu.open"
  193.  
  194.   # Your custom menu.
  195.   custom-menu-1:
  196.     info:
  197.       title: "&7Custom menu #1"
  198.       rows: 9
  199.     items:
  200.       1:
  201.         action: "CLOSE"
  202.         type: SIGN
  203.         name: "&7This is your custom menu."
  204.         lore: {}
  205.         slot: 4
  206.  
  207. # This is the Confirmation menu
  208. # whatever player buys a machine/fuel
  209. # will open this confirmation menu.
  210. Confirmation-Menu:
  211.   info:
  212.     title: "&7Confirmation"
  213.     rows: 27
  214.   items:
  215.     1:
  216.       action: "CONFIRM"
  217.       type: WOOL:5
  218.       name: "&aClick to buy"
  219.       lore:
  220.        - '&7Click here to buy.'
  221.       slot: 11
  222.     2:
  223.       type: "%item%" # %item% will be replaced for the item that the player is trying to buy.
  224.       slot: 13
  225.     3:
  226.       action: "CANCEL"
  227.       type: WOOL:14
  228.       name: "&cClick to cancel"
  229.       lore:
  230.        - '&7Click here to cancel.'
  231.       slot: 15
  232.  
  233. # This is the Player Rewards
  234. # menu. Will be only showed if
  235. # 'use-rewards-menu' on config
  236. # file is enabled.
  237. Machine-Rewards:
  238.   info:
  239.     title: "&7Machine Rewards"
  240.     rows: 54
  241.   items:
  242.     1:
  243.       action: "NULL" # Just an informative item.
  244.       type: SIGN
  245.       amount: 1
  246.       name: "&6&l<*> &7Info &6&l<*>"
  247.       lore:
  248.        - ''
  249.         - '&7This is your personal rewards menu,'
  250.         - '&7here you can claim or sell your machine'
  251.         - '&7drops.'
  252.         - ''
  253.       slot: 45
  254.     2:
  255.       action: "PREVIOUS_PAGE" # Back to the previous page.
  256.       type: ARROW
  257.       amount: 1
  258.       name: "&7Previous page"
  259.       lore:
  260.        - '&7Click to go to previous page.'
  261.       slot: 48
  262.     3:
  263.       action: "NEXT_PAGE" # Travel to next page.
  264.       type: ARROW
  265.       amount: 1
  266.       name: "&7Next page"
  267.       lore:
  268.        - '&7Click to go to next page.'
  269.       slot: 50
  270.     4:
  271.       action: "SELL_REWARDS"
  272.       type: EMERALD
  273.       amount: 1
  274.       name: "&aSell your rewards"
  275.       lore:
  276.        - ''
  277.         - '&7Click here to sell all your'
  278.         - '&7machine reward items.'
  279.         - ''
  280.         - '&7Estimated value: %price%'
  281.       slot: 52
  282.     5:
  283.       action: "CLAIM_REWARDS"
  284.       type: HOPPER
  285.       amount: 1
  286.       name: "&eClaim your rewards"
  287.       lore:
  288.        - ''
  289.         - '&7Click here to claim all'
  290.         - '&7your machine reward items.'
  291.       slot: 53
Advertisement
Add Comment
Please, Sign In to add comment