ServerEvents

Replace TwitterEvents, DeathNotify

File Details

1.5.1

  • R
  • Nov 12, 2012
  • 69.89 KB
  • 1.4K
  • CB 1.4.5-R1.0+2

File Name

ServerEvents.jar

Supported Versions

  • CB 1.4.5-R1.0
  • CB 1.4.5-R0.2
  • CB 1.4.2-R0.2
  • Support for new Minecraft 1.4 death causes, along with some previously missed ones: witch, wither boss, wither skeleton, cat, wolf, iron golem, lightning.
  • Fix for infrequent non-fatal NPE caused by Bukkit's Player.getAddress() returning null. The NPE would prevent that particular message from being sent.
  • Default config now stored in JAR as default.xml instead of sourced from a huge string in a java file; easier for me to update and arguably better for a few other reasons.

Here are the new default death messages which existing users might want to add to their server_events.xml file:

<msg killer="irongolem">An iron golem just smashed %n into a pulp.</msg>
<msg killer="irongolem">%n shouldn't have made an enemy of that iron golem.</msg>
<msg killer="cat">%n died from a case of cat scratch fever.</msg>
<msg killer="cat">I bet %n wishes that cat had been declawed.</msg>
<msg killer="wolf">That wolf was definitely not %n's best friend.</msg>
<msg killer="wolf">%n was eaten by wolves on the turnpike.</msg>
<msg killer="witch">%n was turned into a newt by a witch.</msg>
<msg killer="witch">%n was melted by a witch's potion.</msg>
<msg killer="witherskeleton">A wither skeleton has been spotted wearing a head which looks a lot like %n.</msg>
<msg killer="witherskeleton">%n has found that the big black skeletons are pretty nasty.</msg>
<msg killer="wither">%n has been ended by the Wither boss.</msg>
<msg killer="wither">A withered husk is all that is left of %n.</msg>
<msg killer="lightning">%n was struck down by lightning.</msg>
<msg killer="lightning">What are the chances of being killed by lightning? Just ask %n.</msg>