Tutorial: (Method) Armor Set Bonus - ssomar1607/ExecutableItems GitHub Wiki
Tutorial to how to create Armor Set Bonus
1) Create the armor set pieces
- In this picture, I decided that the armor set will have the ff. armor pieces.
- After deciding the pieces, use the
/ei create
command to create the ei item of the armorset.- I will label the armor pieces 1, 2, 3, 4, for head, chest, legs and boots
2) Create the activator you want to create
- I want to make it so if I left-click, I will dash forward so I will use the
PLAYER_LEFT_CLICK
activator - And I will use the
FRONTDASH 1
to dash forward - For the detailedSlots, I will set it at the head slot
- Then save the item
3) Add the player condition
- Add this under the conditions part of the activator
conditions:
playerConditions:
ifPlayerHasExecutableItem:
- 2:38
- 3:37
- 4:36
ifPlayerHasExecutableItemMsg: '&e'
- The 2, 3, 4 item id are the item id of the armor pieces
- No need to list down the main item
- 38, 37, 36 reprent the slots
4) Save and reload the plugin
- Now the armorset condition is now complete. The activator will only activate if the armor pieces are at the correct slots
If the guide wasn't clear enough or there was a mistake, please contact me (Special70#7668) in discord.