Inactive [FUN/INFO] DeathNotifier - BUKKITDEV

Discussion in 'Inactive/Unsupported Plugins' started by Geoff Winans, Jul 9, 2011.

  1. Offline

    Geoff Winans

    DeathNotifier - Broadcast Deaths!

    DeathNotifier is, for now, a very simple plugin that has no external requirements. It does not use, nor care about, Permissions of any sort.

    This is the first official release of this plugin and is the official Death Notification plugin for the GoMinecraft server.

    Features:
    • It broadcasts deaths with a (random) message!
    • You can customize the messages and even add more for each mob type!

    Now on BukkitDev!
    >> Click Here <<
     
    _LB likes this.
  2. Offline

    zecheesy

    @Geoff Winans
    Apparently when I die, it shows BOTH Vanilla message and the DeathNotifier message. Help?
     
  3. Offline

    Geoff Winans

    zecheesy, this plugin is abandoned. Please use HeroicDeath (my recommended alternative).
     
  4. Offline

    Don Redhorse

    hmm nice plugin.. perhaps you could update your op and link to that plugin and mine too? ;)
    DeathTpPlus has broadcast messages too...
     
  5. Offline

    Geoff Winans

    Plugin is updated, folks. Enjoy. It's on bukkitdev as well, but hasn't been approved <the new file>

    Follow the Download link in the main post.
     
  6. Offline

    Don Redhorse

    nice...
     
  7. Offline

    TorbenX

    PROBLEM SOLVED! THANKS!

    I don't think I am the first one to ask this, but I have placed the .jar in the plugins folder. According to the server log the plugins works, but when I try to commit suicide, drown in lava of whatsoever to test the plugin it shows the standard MineCraft Message (like: [playername] tried to swim in lava). On the log it shows this:
    Code:
    2011-12-30 13:34:49 [SEVERE] Could not pass event ENTITY_DEATH to DeathNotifier
    while parsing a block mapping
     in "<string>", line 1, column 1:
        # Available Tags:
        ^
    expected <block end>, but found Anchor
     in "<string>", line 38, column 4:
        - "&2%player &Ejust got killed by a ...
           ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:59)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:235)
        at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:131)
        at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:125)
        at com.gomysql.gwinans.DeathNotifier.DeathNotifierEntityListener.chooseMsg(DeathNotifierEntityListener.java:30)
        at com.gomysql.gwinans.DeathNotifier.DeathNotifierEntityListener.onEntityDeath(DeathNotifierEntityListener.java:156)
        at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:320)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:168)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:609)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:210)
        at net.minecraft.server.EntityLiving.b(EntityLiving.java:657)
        at net.minecraft.server.EntityHuman.b(EntityHuman.java:1173)
        at net.minecraft.server.Entity.a(Entity.java:670)
        at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:433)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:380)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:679)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    I removed one of the #'s in line 1 and completely erased line 38 but I still keep on getting this error.

    Both the DeathNotifier.jar and the CraftBukkit.jar are up to date. What is going wrong?

    SMALL UPDATE: This only happens when I change the config.yml in the .jar document (it doesn't have a separate plugin folder since it doesn't create one)

    Other, less important thing: In this forum post it says it is version 1.0.1., however in the log it says: [DeathNotifier v0.95] Loaded!
     
  8. Offline

    FerrOHShay

    Thats.... Weird. It doesn't seem to generate a folder/config no errors Nothing in Console.​
    But the Plugins Seems Fine to Me. Works Properly in Game. But no Config to Edit :c?​
    RB 1597/1.0.1 R1​
     
  9. Offline

    Geoff Winans

    1.0.1 of the plugin definitely generates the config file/directory. You may have downloaded the one that was missing the saveConfig() option just before I added it to github. Try downloading it again!

    You need to re-download the plugin - in our rush to update it, myself and the other dev forgot to add a saveConfig() to the onEnable method. This was fixed as was the plugin.yml

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  10. Offline

    RugRats

    @Geoff Winans
    Any dispenser death messages? If not can you add them please?
     
  11. Offline

    Geoff Winans

    Will do. I'll add a ticket to the bukkitdev page.
     
  12. Offline

    FerrOHShay

    Re Downloaded. Generated Thanks Works Fine!
     
  13. Offline

    InsaneMurdock

    Hey, was doing some PvP with a friend on a personal server, running Death Notifier. I noticed that after he killed me with an iron sword, when ever I raged and did /kill [name] it showed the death message of him killing me with the iron sword. Also, could you add a death message group for 'unknown' death causes?
    Great Plugin btw.
     
  14. Offline

    Geoff Winans

    I've yet to figure out how to avoid the messages being repeated with /kill and /slay.

    We certainly can add an Unknown tag, but I haven't seen any.. unknown death types in a long time.
     
  15. Killed by plugin would do it :)
    (entity.setHealth(0))
     
  16. Offline

    InsaneMurdock

    Ok, I understand, and as for the Unknown tag, i just remember that HeroicDeath had one, and I think that applied to /kill and /slay commands. Anyway, good work and thanks for the quick reply.
     
  17. Offline

    FerrOHShay

    Ding Ding Ding <3 Error Report!. When i got killed by a wolf:baby this happens fix please :3
    Runnin on CB 1.0.1 RB-1
    Code:
    2012-01-08 14:07:47 [SEVERE] Could not pass event ENTITY_DEATH to DeathNotifier
    java.lang.NullPointerException
        at com.gomysql.gwinans.DeathNotifier.DeathNotifierEntityListener.onEntityDeath(DeathNotifierEntityListener.java:139)
        at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:320)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:168)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:609)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:210)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:352)
        at net.minecraft.server.EntityCreature.m_(EntityCreature.java:70)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:96)
        at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
        at net.minecraft.server.EntityAnimal.d(SourceFile:43)
        at net.minecraft.server.EntityWolf.d(EntityWolf.java:137)
        at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
        at net.minecraft.server.EntityWolf.w_(EntityWolf.java:165)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
        at net.minecraft.server.World.tickEntities(World.java:1142)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  18. Offline

    DragOn1996PL

    when wolf kill me i dont get message ;/ please fix this
     
  19. Offline

    Geoff Winans

    We'll be doing some updates to the plugin soon. We've got a few other projects on our plate. :)
     
  20. Offline

    Fi3t3

    can you add for the config, that it says the coords, where he died?
     
  21. Offline

    Dane250r

    hey i downloaded this and everything works accept for the msgs when ppl die, its a mc1.2.3 server. here is the consol:
    06.03 16:54:48 [Server] INFO Connected players:[A]dane250r, [A]~Capt_G, [A]~Joseph, AllAnime, CraftyGurl, ~EvanAkuma, ~lilly, [OP]~Thor
    06.03 16:54:37 [Multicraft] CraftyGurl ran command Message of the Day
    06.03 16:54:37 [Connect] User CraftyGurl, IP 68.147.253.97
    06.03 16:54:35 [Server] INFO [PLAYER_COMMAND] dane250r: /gamemode
    06.03 16:54:26 [Server] INFO Connected players:[A]dane250r, [A]~Capt_G, [A]~Joseph, AllAnime, ~EvanAkuma, ~lilly, [OP]~Thor
    06.03 16:54:04 [Server] INFO Connected players:[A]dane250r, [A]~Capt_G, [A]~Joseph, AllAnime, ~EvanAkuma, ~lilly, [OP]~Thor
    06.03 16:54:00 [Multicraft] Server ran command Message of the Day
    06.03 16:53:41 [Server] INFO Connected players:[A]dane250r, [A]~Capt_G, [A]~Joseph, AllAnime, ~EvanAkuma, ~lilly, [OP]~Thor
    06.03 16:53:36 [Server] INFO [PLAYER_COMMAND] reese250r: /gamemode
    06.03 16:53:19 [Server] INFO Connected players:[A]dane250r, [A]~Capt_G, [A]~Joseph, AllAnime, ~EvanAkuma, ~lilly, [OP]~Thor
    06.03 16:53:11 [Server] INFO [PLAYER_COMMAND] reese250r: /gamemode
    06.03 16:52:57 [Server] INFO Connected players:[A]dane250r, [A]~Capt_G, [A]~Joseph, AllAnime, ~EvanAkuma, ~lilly, [OP]~Thor
    06.03 16:52:46 [Server] INFO [PLAYER_COMMAND] dane250r: /back
    06.03 16:52:40 [Server] INFO ... 19 more
    06.03 16:52:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    06.03 16:52:40 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:616)
    06.03 16:52:40 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    06.03 16:52:40 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    06.03 16:52:40 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    06.03 16:52:40 [Server] INFO at com.titankingdoms.dev.deathnotifier.DeathNotifierListener.onEntityDeath(DeathNotifierListener.java:246)
    06.03 16:52:40 [Server] INFO at com.titankingdoms.dev.deathnotifier.DeathNotifyEvent.<init>(DeathNotifyEvent.java:13)
    06.03 16:52:40 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.event.Event.<init>(Ljava/lang/String;)V
    06.03 16:52:40 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:413)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:467)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.Entity.a(Entity.java:686)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityHuman.a(EntityHuman.java:1191)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityLiving.a(EntityLiving.java:830)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:215)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:621)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:666)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:173)
    06.03 16:52:40 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:309)
    06.03 16:52:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    06.03 16:52:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    06.03 16:52:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    06.03 16:52:40 [Server] INFO org.bukkit.event.EventException
    06.03 16:52:40 [Server] SEVERE Could not pass event PlayerDeathEvent to DeathNotifier
    06.03 16:52:40 [Server] INFO ... 31 more
    06.03 16:52:40 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:537)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:178)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:229)
    06.03 16:52:40 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:398)
    06.03 16:52:40 [Server] INFO ^
    06.03 16:52:40 [Server] INFO Suffocate:
    06.03 16:52:40 [Server] INFO in "<string>", line 88, column 1:
    06.03 16:52:40 [Server] INFO could not found expected ':'
    06.03 16:52:40 [Server] INFO ^
    06.03 16:52:40 [Server] INFO -&2%player &Elearned to fly! The ...
    06.03 16:52:40 [Server] INFO in "<string>", line 87, column 1:
    06.03 16:52:40 [Server] INFO Caused by: while scanning a simple key
    06.03 16:52:40 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    06.03 16:52:40 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
     
  22. Offline

    FerrOHShay

    1.2.3 isnt Working :c
     
  23. Offline

    NodinChan

    Will people please go to the BukkitDev page to update and stop saying stuff doesn't work on this thread?
     
    Jade likes this.

Share This Page