Inactive [FUN/INFO] DeathNotifier - BUKKITDEV

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

     
  1. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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!

    This post has been edited 10 times. It was last edited by Geoff Winans Dec 30, 2011.
    _LB likes this.
  2.  
  3. Offline

    iFreZzAx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @kjhf
    My server seems to tick over fine with 30 people on so thats not an issue atm.
    But I agree with the reload sometimes it takes so long it kicks everyone out for a moment.
  4. Offline

    jmanjones

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great plugin! Works great with no problems whatsoever! :)
  5. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Glad it's working for you!
  6. Offline

    NinjaZidane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nifty plugin here...and I respect another fellow Developer getting started here at bukkit

    I saw your concerns with version numbers....may I make a suggestion?

    Code:
    Top of your main class...
    
    //Description file for the plugin
    public PluginDescriptionFile info = null;
    
    In your onEnable...
    
    @Override
    	public void onEnable() {
    		//Load configuration
    info = getDescription();
                    //rest of your code here
    }
    
    When you need to access the version number....
    
    String version = info.getVersion();
    
    Doing it this way allows your versioning to be handled by your plugin.yml file and not in the config (where an unknowing user is more likely to tinker with it).

    I hope this helped!

    This post has been edited 4 times. It was last edited by NinjaZidane Sep 6, 2011.
  7. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I had actually figured that out a few days ago, just patiently waiting for 1.8 to come out so I can push my updates.

    But thanks anyway!
  8. Offline

    NinjaZidane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No problem....I am on the borderline regarding if I should push an update for mcDeath or not myself...hard when a major update is right around the corner.

    This post has been edited 1 time. It was last edited by NinjaZidane Sep 7, 2011.
  9. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm just waiting because I'm lazy.. and the update I'm going to do isn't really going to do anything other than add support for Enderman.

    One of these days, I'll get around to patching up the PvP side of things so that the messages can support notifying what the person got killed with.
  10. Offline

    NinjaZidane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    *Sigh*

    Go read Jeb's twitter....1.8 on the 8th is now looking high unlikely

    Does anyone else think that having ONE developer working on the ONE biggest update in the history of MC the stupdiest thing ONE company could possibly do?

    That's like saying that Minecraft is their side project...not their flagship >.>
  11. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I didn't expect it to release on the 8th. I kinda felt that was a bit too optimistic of a timeline. I'm fine with it though - hopefully it'll get more polish than 1.7 did when it popped out.
  12. Offline

    javoris767

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    :D this is good i can edit wat it says xD cant wait till u make it so it broadcast the tool or something they get killed with :p
  13. Offline

    langkid1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you make it so it'll turn off the messages from vanilla? Or does it already do that?
  14. Offline

    zecheesy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Geoff Winans
    Apparently when I die, it shows BOTH Vanilla message and the DeathNotifier message. Help?
  15. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    zecheesy, this plugin is abandoned. Please use HeroicDeath (my recommended alternative).
  16. Offline

    Don Redhorse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hmm nice plugin.. perhaps you could update your op and link to that plugin and mine too? ;)
    DeathTpPlus has broadcast messages too...
  17. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    This post has been edited 1 time. It was last edited by Geoff Winans Dec 29, 2011.
  18. Offline

    Don Redhorse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    nice...
  19. Offline

    TorbenX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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!

    This post has been edited 3 times. It was last edited by TorbenX Dec 30, 2011.
  20. Offline

    FerrOHShay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    This post has been edited 1 time. It was last edited by FerrOHShay Dec 30, 2011.
  21. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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!
  22. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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
  23. Offline

    RugRats

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Geoff Winans
    Any dispenser death messages? If not can you add them please?

    This post has been edited 1 time. It was last edited by RugRats Dec 30, 2011.
  24. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will do. I'll add a ticket to the bukkitdev page.
  25. Offline

    FerrOHShay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Re Downloaded. Generated Thanks Works Fine!

    This post has been edited 1 time. It was last edited by FerrOHShay Dec 31, 2011.
  26. Offline

    InsaneMurdock

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  27. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  28. Offline

    kjhf

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Killed by plugin would do it :)
    (entity.setHealth(0))
  29. Offline

    InsaneMurdock

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  30. Offline

    FerrOHShay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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)

    This post has been edited 1 time. It was last edited by FerrOHShay Jan 8, 2012.
  31. Offline

    DragOn1996PL

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    when wolf kill me i dont get message ;/ please fix this
  32. Offline

    Geoff Winans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    We'll be doing some updates to the plugin soon. We've got a few other projects on our plate. :)

Share This Page