items:"ItemName":material: TEXTslot: #
Note:
Each item will have a name, in this example our item is called ItemName
. This name should be unique, so there won't be two or more items with the same name.
material: TEXTSupported material values:
​Material name (
STONE
).Player head (
head-extended_clip
).Placeholder head (
head-%player_name%
).Argument placeholder head (
head-{target}
).​BaseHead (
basehead-<base64 (Value field in the head's give command)>
).​EpicHeads (
heads-<ID>
).​HeadDatabase (
hdb-<ID>
).​Placeholder material (
placeholder-%player_item_in_hand%
).
Sets the material of the item in the menu.
For version 1.12.2 or older:
Check Data option to specify the data of the item (the number after the colon :
). e.g. Lime Wool would be
material: WOOLdata: 5
data: #Supported data values:
Number (
1
).Placeholder that returns a number (
placeholder-%player_item_in_hand_data%
).
Sets the durability of the item (depends on the Material option).
For version 1.12.2 or older:
This option will specify the data value (the number after the colon :
) of the item or the item's durability (depends on the Material option).
amount: #
Sets the item's amount in the menu.
dynamic_amount: '%placeholder%'
Sets the item's amount in the menu using a placeholder.
nbt_string: <Key>:<StringValue>nbt_int: <Key>:<IntegerValue>
Allows you to use your custom models from your resource pack, to display custom items provided from your resource pack.
This option also allows specifying other NBT data if you have any use from them.
banner_meta:- <dyecolor>;<patterntype>- <dyecolor>;<patterntype>
​Dye colors list.
Allows you to create your custom banner (Used if the material is a banner).
potion_effects:- <PotionEffectType>;<duration>;<amplifier>- <PotionEffectType>;<duration>;<amplifier>
​Potion effects list.​
Allows you to set effects (Used if the material is a potion or splash_potion). For potion_effects to work on potions you also need to give it a rgb value.
rgb: #,#,#Example:
rgb: 38,192,210​
​
Sets the RGB (Red, Green, Blue) color for leather armor, potions and splash_potions (For rgb to work on potions you also need to give it a potion_effect).
display_name: "TEXT"
Sets the item's display name. You can use placeholders and color/format codes.
lore:- "TEXT"- "TEXT"
Sets the item's lore (the text shown under the item's name). You can use placeholders and color/format codes and the new line character (\n
) in this option.
slot: #Multiple slots:
slots:- #- #- ## ORslots:- #-#- #-#
Sets in which slot the item should be inside the menu.
Slots start at 0.
Multiple items can be in the same slot, but you'll have to use view requirement and priority options to work properly.
priority: #
Sets the item priority. It's used if you want different items in the same slot (by using the view requirement option). The item that has the highest priority will be checked first if the player has the required view requirement. It will display the item if they have the requirements and if not, it will check the next item and so on.
The highest priority is 0.
The lowest priority is 2147483647.
view_requirement: 'EXPRESSION'
Sets the requirements the player should have to see the item. (Check priority option for setting up multiple items in the same slot). Check the Requirements page for more info about this option's value and how to use it.
update: BOOLEAN # true or false
If set to true, it will update the placeholders in the item's display name and lore only. Check the update interval GUI option to set the update speed.
enchantments:- enchantmentid;level- enchantmentid;level
Enchants the item with the specified enchantments. (Check the hide enchantments option to hide the enchantments)
Some items cannot have the enchanting glow effect
hide_enchantments: BOOLEAN # true or false
If set to true, it will hide the enchantments you set for the item using the enchantments option from the item's tooltip (lore). Used to add the enchanting glow effect to the item without showing the enchantments text.
hide_attributes: BOOLEAN # true or false
If set to true, it will hide the vanilla attributes of an item/armor (e.g. 7 Attack Damage).
hide_effects: BOOLEAN # true or false
If set to true, it will hide the potion's effect text beneath the item name.
unbreakable: BOOLEAN # true or false
If set to true, it will show the item to be at full durability.
# left_click_commands: or# right_click_commands: or# middle_click_commands: or# shift_left_click_commands: orshift_right_click_commands:- "[ACTIONTYPE] ACTION"- "[ACTIONTYPE] ACTION"
Sets the actions/commands that should be executed once the player clicks the item. they get executed in order from top to bottom. Check this for all action types and action tags.
# left_click_requirement: or# right_click_requirement: or# middle_click_requirement: or# shift_left_click_requirement: orshift_right_click_requirement:requirements: 'EXPRESSION'deny_commands:- "[ACTIONTYPE] ACTION"- "[ACTIONTYPE] ACTION"
Sets the requirements the player should have to click the item (Check the Requirements page for more info about the EXPRESSION
value).
Deny commands (optional) are the actions that are going to be executed if the player doesn't have the required requirements. But if (s)he does, it will execute the actions specified in the click commands option.
Check this for all action types and action tags.