# Custom Menu Item Data

If you've ever wanted to add custom item data for your menu items, FateHub now allows you to do so! Please note that you need to be using **Spigot 1.14** **or above** to utilize this feature. Follow the steps below to add custom data to your menu items.

If you have never used model data before please review this site:

{% embed url="<https://www.planetminecraft.com/forums/communities/texturing/new-1-14-custom-item-models-tuto-578834>" %}

## Adding To Menus

There are two steps to using a custom data item within your menu.

### Step 1

Add the following line to the item:

```
customData: true
```

### Step 2

Add the following line to the item:

```
customModelData: YOURIDHERE
```

## Example Item

This is an example item (Golden Apple) with the custom model data of 1234567.

```
      item-2:
        name: "&e&nUHC&b &7| &cSeason I"
        material: "GOLDEN_APPLE"
        durability: 0
        slot: 16
        amount: 1
        customData: true
        customModelData: 1234567
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "joinqueue uhc"
        action: ""
        lore:
          - ""
          - " &7* &6Version&7: &e1.7.x - 1.8.x"
          - " &7* &6Online&7: &e{online-uhc}"
          - " &7* &6Status&7: &e{status-uhc}"
          - " &7* &6In-Queue&7: &e{queued-uhc}"
          - ""
          - "&eClick to join the &6&lUHC &equeue&7."
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fatehub.bghddevelopment.com/custom-menu-item-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
