You can use the EntityArmorChangeEvent (https://github.com/pmmp/PocketMine-...tmine/event/entity/EntityArmorChangeEvent.php).
No, that event is terrible. That event would run any code over and over again when a player is hit or have been damaged. It would be pretty annoying trust me.