FateHub
Search…
Custom Menu Item Data
Have you ever wanted to add custom item data for your menu items? Well, now you can!
If you have never used custom item data before read over this thread:
Custom Model Data tutorial + example pack - Changing the model of an item

Adding To Menus

You must be using Spigot 1.14+ to use this feature.
There are two steps to using a custom data item within your menu.

Step 1

Add the following to the item
1
customData: true
Copied!

Step 2

Add the following to the item
1
customModelData: YOURIDHERE
Copied!

Example Item

This is an example item (Golden Apple) with the custom model data of 1234567.
1
item-2:
2
name: "&e&nUHC&b &7| &cSeason I"
3
material: "GOLDEN_APPLE"
4
durability: 0
5
slot: 16
6
amount: 1
7
customData: true
8
customModelData: 1234567
9
message:
10
enabled: false
11
text: "&eHello &b<player>!"
12
command:
13
enabled: true
14
#Put command without /
15
execute: "joinqueue uhc"
16
action: ""
17
lore:
18
- ""
19
- " &7* &6Version&7: &e1.7.x - 1.8.x"
20
- " &7* &6Online&7: &e{online-uhc}"
21
- " &7* &6Status&7: &e{status-uhc}"
22
- " &7* &6In-Queue&7: &e{queued-uhc}"
23
- ""
24
- "&eClick to join the &6&lUHC &equeue&7."
Copied!