Do something on player death: help

Discussion in 'Plugin Development' started by Choltfo, May 22, 2012.

Thread Status:
Not open for further replies.
  1. Alright, so I cannot for the life of me figure this out.
    How do I get a portion of script ( e.g, println(Player.getName() + " died"); ) to run when a player dies? I have looked in quite a few places and found nothing that is exactly geared towards the lower end of the programming knowledge scale, where I currently reside. Any explanation whatsoever would be a large step , so thank you in advance.

  2. Offline


  3. Thanks for the reply, but I am confused by this whole thing. I've looked at it, and had very littl success and understanding. Is there some function that get's called or something?
  4. Offline


    The PlayerDeathEvent is the "function" (method in Java) that is called when a player dies..
  5. Offline


    Yeah, you have to register the event.
  6. n-n-n-necro!
Thread Status:
Not open for further replies.

Share This Page