main_menu.yml (WIP)

A explanation about the main_menu.yml configuration

Config Explanation

Each of the items has its own type. Type is to define what should the plugin do If the item with that type is being clicked and here all available types for this menu:

OPEN_CATEGORY_SHOP - Open category shop main menu when being clicked. OPEN_ROTATING_SHOP - Open rotating shop menu when being clicked. OPEN_CATEGORY - Directly open category shop when being clicked. (Required category: category.yml value on the items)

Title

The title of the main menu GUI

Size

The size of the main menu GUI. Max size is 54 and must be multiple of 9 (9, 18, 27, 36, 45, 54)

Full Configuration

title: '&8Shop Main Menu'
size: 27

items:
  categoryShop:
    type: OPEN_CATEGORY_SHOP
    material: BOOKSHELF
    name: '&eCategory Shop &7(Click to open)'
    glow: false
    slots: [11]
    amount: 1
    lore: []
  rotatingShop:
    type: OPEN_ROTATING_SHOP
    material: CLOCK
    name: '&eRotating Shop &7(Click to open)'
    glow: false
    slots: [15]
    amount: 1
    lore: []
  informationItem:
    type: DUMMY
    material: head;%player_name%
    name: '&eYour Information'
    glow: false
    slots: [13]
    amount: 1
    lore:
      - '&7Ping: &e%player_ping%ms'
      - '&7Mobcoins: &e%mobcoins_balance_formatted% coins'
  dummyItems:
    type: DUMMY
    material: BLACK_STAINED_GLASS_PANE
    name: '&f'
    glow: false
    slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
    amount: 1
    lore: []

Last updated