Changing death messages

Discussion in 'Plugin Development' started by Phinary, Jul 14, 2012.

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

    Phinary

    How would I go about cancelling the current death messages and changing it with custom ones? I am guessing I need to do a EntityDeathEvent and somehow cancel the chat message or something. Thanks
     
  2. Offline

    Njol

    Use PlayerDeatheEvent and set the message with event.setDeathMessage(String)

    BTW: I did not know of this before but I easily found this by looking at the Javadocs: http://jd.bukkit.org/apidocs/
     
  3. Offline

    Darq

    PlayerDeathEvent.setDeathMessage(String message)
    Edit: FLJAHSJGKASG. Too late.
     
Thread Status:
Not open for further replies.

Share This Page