> For the complete documentation index, see [llms.txt](https://aglerr.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aglerr.gitbook.io/wiki/theonly-series/the-only-mobcoins/plugins-files/shops/main_menu.yml-wip.md).

# main\_menu.yml (WIP)

## Config Explanation

{% hint style="info" %}
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)
{% endhint %}

### 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

```yaml
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: []
```
