Player Death Event

Discussion in 'Plugin Development' started by gamer9726, Jul 30, 2013.

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

    Compressions

    EcMiner When I said "checking if the damager kills the player", and we are talking about an EntityDamageByEntityEvent, what do you think I meant?
     
  2. Offline

    EcMiner

    I was checking in the EntityDamageByEntityEvent, i was talking about the health - damage <= 0
     
  3. Offline

    gamer9726

    EcMiner

    Again, thanks for the help. I'm just going to go with Ecminer's solution, but can anybody answer the above question?
     
  4. Offline

    FatAussieFatBoy

    gamer9726
    You Would have to Make it so that the Player when Killed his/her Inventory is Saved.

    I'm not to sure what code would work here but just mess around with ArrayLists and Things like that until it Works :p

    Sorry I'm not a Huge Help but I too am only a Java Newb!
     
  5. Offline

    jeje2

    Is it possible to do the same thing but with a player, when a player kill a player ? Because I would like to do it to give items or money (iConomy) for people who kill somebody.

    Thanks a lot with your help.

    PS: I'm french
     
Thread Status:
Not open for further replies.

Share This Page