Markers are used to change something static, like item attribute modifiers.
Command to modify marker on an item:
/rpgitem marker [operation] [item] [params]
Available operations:
add
Add a markerremove
Remove a specific markerlist
List all markersprop
List details about a specific marker, or modify it with additional parameters
E.g.,
/rpgitem marker prop myhelmet 0-rpgitems:attributemodifier operation:ADDITION slot:HEAD
Attributes:
amount
Amount to calculateattribute
See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.htmloperation
See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/AttributeModifier.Operation.htmlslot
See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html
TBD
Indicates the item deals ranged damage.
Indicates the item deals ranged damage and will not deal melee damage.
TBD
Indicates the item will not break or consumed.
Indicates the item is unique and cannot be stacked.
Note: Items with this marker will be updated with a unique random string when distributed to other players, so that it won't stack even with same type of item.
As a result, item with unique marker cannot be added to NPC trades.