Filled KitPVP - /refill and /repair

Discussion in 'Archived: Plugin Requests' started by KonohaKs, Dec 22, 2013.

  1. Offline

    LCastr0

    Whoops, I've set p.getInventory().setLeggings(boots) instead of leggings D: Sorry :p

    I just am not sure how to check if the player died...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  2. Online

    timtower Administrator Administrator Moderator

    PlayerDeathEvent
     
  3. Offline

    LCastr0

    This one fixes the boots: http://sbuttercraft.com/plugins/repair/Repair 2.1.jar

    I'll search about the player died

    I know what's the event, but how would I cancel ANOTHER event (onCommand) if the player died?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  4. Online

    timtower Administrator Administrator Moderator

    Depends, if it is just a loop without a timer then you can't, if it is a timer then you can get the ID of the timer, and cancel that onee
     
  5. Offline

    LCastr0

    It has a timer only for a part of it :/
     
  6. Online

    timtower Administrator Administrator Moderator

    That is the part that you can cancel, the other part is happening to fast to being able to kill somebody
     

Share This Page