Better buy-more menu

In this new buy more menu, buy and sell are two different items.

title: 'Select Amount'

layout:
  - '000000000'
  - '012304560'
  - '0000B0000'
  - '000000000'
  - '000D0E000'
  - '00000000A'

amount-items:
  1:
    display-item:
      material: GREEN_WOOL
      name: '&a+1'
      lore:
        - '&7Click to add 1 amount.'
    add-amount: 1
  2:
    display-item:
      material: GREEN_WOOL
      name: '&a+10'
      lore:
        - '&7Click to add 10 amount.'
    add-amount: 10
  3:
    display-item:
      material: GREEN_WOOL
      name: '&a+32'
      lore:
        - '&7Click to add 32 amount.'
    add-amount: 32
  4:
    display-item:
      material: RED_WOOL
      name: '&c-1'
      lore:
        - '&7Click to remove 1 amount.'
    add-amount: -1
  5:
    display-item:
      material: RED_WOOL
      name: '&c-10'
      lore:
        - '&7Click to remove 10 amount.'
    add-amount: -10
  6:
    display-item:
      material: RED_WOOL
      name: '&c-32'
      lore:
        - '&7Click to remove 32 amount.'
    add-amount: -32

display-item: B

confirm-items:
  D:
    display-item:
      material: PAPER
      name: '&aConfirm'
      lore:
        - '&7Click to buy!'
    click-action: buy
  E:
    display-item:
      material: PAPER
      name: '&aConfirm'
      lore:
        - '&7Click to sell!'
    click-action: sell

buttons:
  A:
    display-item:
      material: ARROW
      name: '&cBack'
      lore:
        - '&7Click to back shop!'
    actions:
      - 'shop_menu: {shop}'

Last updated