> For the complete documentation index, see [llms.txt](https://docs.mantic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mantic.dev/mantic-generators/menu-generator.yml.md).

# menu/generator.yml

Mantic Development's Generator Minecraft Plugin

`menu/generator.yml` controls the panel opened when a player clicks an individual generator (from the Your Generators list, or by interacting with the placed generator).

```yml
title: '&8» &6&lGenerator &8«'
layout:
  - xxxxxxxxx
  - xx-x&x?xx
  - xxxxxxxxx
  - xxxx/xxxx
  - xxxxxxxxx

# Actions: REMOVE, COLLECT, UPGRADE
items:
  - key: x
    material: GRAY_STAINED_GLASS_PANE
    data: 0
    skull: ''
    glow: true
    display-name: ' '
    lore:
      - ' '
    action: ''
    commands: []
  - key: '&'
    material: SUNFLOWER
    data: 0
    skull: ''
    glow: true
    display-name: '&e&l✦ Generator Info'
    lore:
      - '&8&m '
      - '&eBalance: &f{balance}'
      - '&eTotal Generated: &f{total-generated}'
      - '&eTier: &f{tier}'
      - '&eOwner: &f{owner}'
      - '&eNext Payment: &f{next-payment-amount}'
      - '&8&m '
    action: ''
    commands: []
  - key: '?'
    material: BARRIER
    data: 0
    skull: ''
    glow: true
    display-name: '&c&l✖ Remove Generator'
    lore:
      - '&8&m '
      - '&7&oClick to remove your generator.'
      - '&7&o(You will receive all money generated)'
      - '&8&m '
    action: REMOVE
    commands: []
  - key: '-'
    material: GOLD_NUGGET
    data: 0
    skull: ''
    glow: true
    display-name: '&a&l✔ Collect Balance'
    lore:
      - '&8&m '
      - '&7&oClick to collect your balance'
      - '&aAvailable: &f{balance}'
      - '&8&m '
    action: COLLECT
    commands: []
  - key: /
    material: LIME_WOOL
    data: 0
    skull: ''
    glow: true
    display-name: '&e&l⬆ Upgrade Generator'
    lore:
      - '&8&m '
      - '&7&oClick to upgrade.'
      - '&eCurrent Tier: &f{tier}'
      - '&eNext Tier: &f{next-tier}'
      - '&eNext Tier Payment: &f{next-tier-payment-amount}'
      - '&eCost: &f${upgrade-cost}'
      - '&8&m '
    action: UPGRADE
    commands: []
```
