> For the complete documentation index, see [llms.txt](https://calceo.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://calceo.gitbook.io/wiki/hubbly-3.0.0/menus.md).

# Menus

## Creating your first menu

```yaml
# PLAYER HEADS
#   You can have player heads, using player names, URLs or HeadDatabase IDs.
#   Examples
#     Player
#       material: PLAYER_HEAD
#       texture: player
#
#     URL
#       material: PLAYER_HEAD
#       texture: <url>
#
#     HeadDatabase
#       material: PLAYER_HEAD
#       hdb: <hdb id>

# AMOUNT
#    You can change the amount using:
#      amount: 3

# LEATHER ARMOR
#  You can have different color LeatherArmor.
#  Example
#    #8ad592 color
#      material: LEATHER_CHESTPLATE
#      color: 8ad592 <- without the hashtag (#)

title: "&cServer Selector"
size: 36
items:
  survival:
    material: APPLE
    name: "<#CCFFDD>Survival Server"
    url: http://textures.minecraft.net/texture/355e2dc46399b7b9275221fcdc87c66e58d0d3044dcf62af0465122c1cd7e0bc
    model_data: 10001 # <- Model Data ID
    slot: 12 # <- 0-based index
    lore:
      - "&aJoin the Survival Server!"
    actions:
      - "[BUNGEE] survival"
  creative:
    material: PLAYER_HEAD
    texture: http://textures.minecraft.net/texture/bcf2105bb737638833033dd8244071e75870e2e11c2617e542e8924fb2b90180
    name: "&cCreative Server"
    slot: 14
    lore:
      - "&aJoin the Survival Server!"
    actions:
      - "[BUNGEE] creative"
  factions:
    material: PLAYER_HEAD
    name: "&cFactions Server"
    slot: 22
    hdb: "35408" # <- HDB id
    lore:
      - "&aJoin the Survival Server!"
    actions:
      - "[BUNGEE] factions"
  fill:
    slot: -1 # <- use -1 to use as fill item
    material: BLACK_STAINED_GLASS_PANE
    name: " "
    actions:
      - "[CLOSE]"

```

| Field    | Description                                                        | Example                                     |
| -------- | ------------------------------------------------------------------ | ------------------------------------------- |
| name     | The display name of the item, including color codes                | "<#CCFFDD>Survival Server"                  |
| material | The material type of the item                                      | COMPASS, PLAYER\_HEAD, EMERALD\_BLOCK       |
| glow     | If set to true, the item will glow                                 | true                                        |
| lore     | A list of lines that appear when you hover the item                | <ul><li>"Hi!"</li></ul>                     |
| actions  | A list of actions that the item performs when used                 | <ul><li>"\[MENU] socials"</li></ul>         |
| url      | (For PLAYER\_HEAD only) The texture URL for the custom player head | <http://textures.minecraft.net/texture/>... |
| hdb      | (For PLAYER\_HEAD only) The HDB id used for the head               | 30738                                       |
