Basic
Collection of basic item properties
Don't forget the namespace! Don't forget to define a namespace for all of your configs!
Enabled
With this setting you can disable an item completely.
If a player has the item in inventory it won't be removed. Same thing for blocks, but when broken they won't drop anymore.
Display name
This is the name user will see on the item
Permission
Lore
Lore lines of the item
Enchants
Enchants of the item. You can set vanilla enchants and custom enchants of other plugins (for example EcoEnchants, GoldenEnchants...). Supports also namespaces (if you are creating custom enchants using Namespaced keys)
Attribute modifiers
These are the vanilla attribute modifiers, you can get more info here https://minecraft.gamepedia.com/Attribute#Attributes_available_on_all_living_entities
Durability
There are pretty self explanatory.
usages
are a special propery which allows you to set a number of usages for the current item. Remember to decrement it using events (check events tutorial).
custom_durability
is the durability amount which the item has on crafting (if not specified is the same as max_custom_durability
)
max_custom_durability
is the max durability the item can reach
Item flags
Special item flags that can hide some vanilla info of the item. You can find a detailed info list here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/ItemFlag.html
blocked_enchants
Special item property that disables enchants for this item, so your users won't be able to enchant it.
events_needed_player_stats
Special attribute to make events work only if the player stat (ItemsAdder player stat, which are usually shown in HUDs) satisfies the set rule.
You can set it to >
, <
ad =
Example:
Magic wandglow
You can make an item glowing when dropped on the ground. Very useful for rare items.
In order to use the glow feature you have to install two APIs.
They are needed because this feature is impossible to implement without writing an extremely long code, someone already did it and we can use their API.
Example
show_name
You can make a drop show its name. Very useful for rare items. Example:
template
Templates and variantsvariant_of
Templates and variantsUse the official files editor to read all the properties
📄Files editorLast updated