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:
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."
Last updated
Was this helpful?