Solved How to check if player has a full set of armor equiped?

Discussion in 'Plugin Development' started by PandoNeverSaw, May 9, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    PandoNeverSaw

    I want to know when a player has a full set of diamond armor equipped then set there health.
     
  2. Offline

    Tango_

    Do you plan on having an event to detect this, or do you want to use a command?
     
  3. Offline

    KarimAKL

    @PandoNeverSaw You can listen to events that cause the player to equip/unequip armor, then update some field and get the value from that field when you need to use it.
     
  4. Offline

    PandoNeverSaw

    Nevermind i figured it out i used armorequipevent
     
  5. Offline

    KarimAKL

    @PandoNeverSaw There's no event with that name; are you using a util?
     
  6. Offline

    PandoNeverSaw

    Yes, Its a LIB on spigot, This took so long to figure out lol.
     
Thread Status:
Not open for further replies.

Share This Page