Added custom items!
You can now define requirements for specific items based on their name and lore. By default, all items are unlocked. If you want to restrict access to specific custom items, simply define them here.
This works with
any custom items created by
any plugin, as long as they are defined correctly.
Enjoy!
Code (YAML):
items:
exampleItem
:
#Any unique ID. No spaces, no special characters, only numbers and letters.
material
: WOODEN_PICKAXE
name
:
"&bExample item"
#Ingame name of item ingame. Without _ and |
lore
:
"&aThis is example item with requirement"
#Ingame name of item ingame. Without _ and |
lockedUntil
:
"level3"
#Name of level or pack where item is unlocked.
# Test this item ingame!
# /give <player> wooden_pickaxe 1 name:&bExample_item lore:&aThis_is_example_item_with_requirement