Create an event named PlayerArmorChangeEvent which is fired when the armor of a player changes. This event does not have to be cancellable if that makes our lives easier, but in that case name it PlayerArmorChangedEvent. The cause of this change should also be present, eg. death, breaking, dispenser, inventory click, right click while holding armor piece. Non-goals: detect when another plugin changes a player's equipped armor.
Create an event named
PlayerArmorChangeEvent
which is fired when the armor of a player changes. This event does not have to be cancellable if that makes our lives easier, but in that case name itPlayerArmorChangedEvent
. The cause of this change should also be present, eg. death, breaking, dispenser, inventory click, right click while holding armor piece. Non-goals: detect when another plugin changes a player's equipped armor.