Item Condition
With this condition you can check if the player has an item in his inventory.
Set the type to ITEM.
Now you have some options to set.
Material
Material of the item. You can view a list here.
[Optional] Name
Name of the item.
[Optional] Lore
Lore of the item as string list. Example:
lore:
- "First line"
- "Second line"
[Optional] Colors
If set to true color codes like &a
are translated and they are coloured.
Default: false
Here is a full example:
conditions:
itemExample:
type: ITEM
material: STONE
name: "&cExample"
lore:
- "&aExample line"
colors: true
text: "Example condition text"
Last updated
Was this helpful?