FateHub
  • FateHub Overview
  • Commands & Permissions
  • Placeholders
  • Christmas Features
  • Supported Cores
  • Armor Colors
  • HEX Colors
  • Common Queue Questions
  • World Backup System
  • Menu & Item Actions
  • Skulls in Menus
  • Custom Menu Item Data
  • Default Config Files
    • settings.yml
    • data.yml
    • menus.yml
    • messages.yml
    • gadgets.yml
    • prefs.yml
    • scoreboard.yml
    • cores.yml
    • status.yml
  • Main Wiki
Powered by GitBook
On this page
  • Adding To Menus
  • Step 1
  • Step 2
  • Example Item

Was this helpful?

Custom Menu Item Data

PreviousSkulls in MenusNextsettings.yml

Last updated 1 year ago

Was this helpful?

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:

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."
Custom Model Data tutorial + example pack - Changing the model of an item
Logo