Item Abilities
This page explains the abilities settings for items in the AdvancedItems plugin. Abilities are effects that can be used with triggers.
Last updated
This page explains the abilities settings for items in the AdvancedItems plugin. Abilities are effects that can be used with triggers.
abilities:
RIGHT_CLICK:
chance: 50
cooldown: 5
conditions:
- '%your condition here% = true : %allow%'
effects:
- 'CANCEL_EVENT'
- 'OPEN_CRAFTING_TABLE'abilitiesAbilities are effects that can be used with triggers.
Read more about abilities here: Abilities Wiki
triggersTriggers are what activate effects.
Find all triggers here: Triggers Wiki
In the example above, when a player right-clicks with the item, it will activate the effects in this trigger.
effectsThe effects that will be activated by the trigger.
Find all effects here: Effects Wiki
In the example above, right-clicking with the item will cancel the event and open a crafting table.
Last updated