# Menu

## Important!

The **Name** and **Item** must be the same. (Spaces in the **Name** are replaced with "\_" when compared to the **Item** and everything is changed to lower case).\
Permissions vary according to the **Item** name, for example, if we change it to "RED", the permission would become tchat.chatcolor.red.

You can add more items to the menu.

```yaml
red: # <- Item
  id: "&c"
  material: "RED_WOOL"
  amount: 1
  slot: 19
  name: "&cRED" # <- Name
  lore-perm:
    - "&aYou have permission to use this format"
  lore-no-perm:
    - "&cYou do not have permission to use this format"
```

* Item: The item name (must be the same as the Name)
* ID: The color/format to save on click
* Material: The [material](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html) that appears in the menu
* Amount: The amount of items that this slot will have
* Slot: The slot of the item
* Name: The name of the item in menu (must be the same as the Item)
* Lore-perm: The lore for players with permission
* Lore-no-perm: The lore for players without permission
