[MISC] DeathMessagePlugin v2.2 - Get a message if someone dies! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by robin0van0der0v, Mar 7, 2011.

  1. Offline

    robin0van0der0v

    DeathMessagePlugin - Get a message if someone dies!
    Version: v2.2

    (Request from T4r4ntul4.)

    Features:
    • Get a message if a player dies.
    Download DeathMessagePlugin!
    Source is inside the jar file.

    Permissions:
    Give the player you want this permissions for sending a message if he dies:
    Code:
    deathmessageplugin.sendmessage
    Give the player you want this permissions for receiving message if anybody dies:
    Code:
    deathmessageplugin.getmessage
    Known bugs:
    None. :D

    Properties:
    This plugin creates a properties file on Plugins/DeathMessagePlugin/config.yml. ;)

    Standard properties:
    Code:
    messages:
        suffocate: §4%name% suffocated in a %item% block!
        pigzombie: §4%name% was killed by a PigZombie!
        skeleton: §4%name% was killed by a Skeleton!
        slime: §4%name% was killed by a Slime!
        zombie: §4%name% was killed by a Zombie!
        spider: §4%name% was killed by a Spider!
        suicide: §4%name% commits suicide!
        water: §4%name% drowned in the water!
        pvp: §4%name% was killed by %othername% with an %item% in a PVP battle!
        monster: §4%name% was killed by a Monster!
        poweredcreeper: §4%name% was blown up by a Powered Creeper!
        void: §4%name% was killed by the void!
        creeper: §4%name% was blown up by a Creeper!
        unknown: §4%name% died with an unknown reason!
        fire: §4%name% burned to death!
        ghast: §4%name% was killed by a Ghast!
        lightning: §4The lightning strikes on %name%!
        wolf: §4%name% was killed by a Wolf!
        lava: §4%name% swimmed in lava and died!
        tnt: §4%name% was killed by an exploding TNT!
        fall: §4%name% jumped of a cliff and died!
        pvpwolf: §4%name% was killed by %othername%'s Wolf!
        firetick: §4%name% didn't find water in time and died by the fire!
        giant: §4%name% was killed by a Giant!
        cactus: §4%name% poked a cactus and died by the poison!
    Dutch (Nederlands) translation by me (open)
    Code:
    messages:
        suffocate: §4%name% stikte in een %item% blok!
        pigzombie: §4%name% werd gedood door een PigZombie!
        skeleton: §4%name% werd gedood door een Skelet!
        slime: §4%name% werd gedood door een Slime!
        water: §4%name% verdronk in het water!
        monster: §4%name% werd gedood door een Monster!
        pvp: §4%name% werd gedood door %othername% met een %item% in een PVP gevecht!
        void: §4%name% is gedood door de void!
        poweredcreeper: §4%name% werd opgeblazen door een Geëlektrocuteerde Creeper!
        unknown: §4%name% ging dood met een onbekende reden!
        suicide: §4%name% pleegt zelfmoord!
        creeper: §4%name% werd opgeblazen door een Creeper!
        fire: §4%name% is verbrand tot de dood!
        ghast: §4%name% werd gedood door een Ghast!
        lightning: §4De blimsem sloeg in op %name%!
        lava: §4%name% zwom in de lava lava en ging dood!
        wolf: §4%name% werd gedood door een Wolf!
        tnt: §4%name% werd gedood door een exploderende TNT!
        fall: §4%name% sprong af een klif en ging dood!
        spider: §4%name% werd gedood door een Spin!
        pvpwolf: §4%name% werd gedood door %othername%'s Wolf!
        firetick: §4%name% kon geen water vinden op tijd en ging door door het vuur!
        cactus: §4%name% raakte een cactus aan en ging dood door het vergif!
        giant: §4%name% werd gedood door een Giant!
        zombie: §4%name% werd gedood door een Zombie
    German (Deutsch) translation by Maddin (open)
    Code:
    messages:
        water: §4%name% ist im Wasser ertrunken!
        suffocate: §4%name% wurde von einem %item%-Block zerquetscht!
        monster: §4%name% wurde von einem Monster getötet!
        pvp: §4%item% wurde von %othername% benutzt, um §4%name% zu töten!
        pigzombie: §4%name% wurde von einem PigZombie getötet!
        void: §4%name% ist im Void gestorben!
        poweredcreeper: §4%name% wurde von einem Powered Creeper hochgejagt!
        unknown: §4%name% starb an einer unbekannten Ursache!
        skeleton: §4%name% wurde von einem Skelett getötet!
        creeper: §4%name% wurde von einem Creeper hochgejagt!
        fire: §4%name% brannte zu Tode!
        ghast: §4%name% wurde von einem Ghast getötet!
        lightning: §4%name% wurde von einem Blitz getroffen!
        slime: §4%name% wurde von einem Slime getötet!
        lava: §4%name% schwomm in Lava und starb!
        zombie: §4%name% wurde von einem Zombie getötet!
        wolf: §4%name% wurde von einem Wolf getötet!
        tnt: §4%name% wurde von explodierendem TNT getötet!
        fall: §4%name% sprang zu tief und starb!
        spider: §4%name% wurde von einer Spinne getötet!
        pvpwolf: §4%name% wurde von %othername%'s Wolf getötet!
        firetick: §4%name% konnte kein Wasser finden und verbrannte!
        cactus: §4Das Gift von einem Kaktus tötete %name%!
        giant: §4%name% wurde von einem Giant getötet!
    Swedish (Svenska) translation by toffo (open)
    Code:
    messages:
        water: §4%name% drunknade under vattnet!
        suffocate: §4%name% kvävdes i ett %item% block!
        monster: §4%name% blev mördad av ett Monster!
        pvp: §4%name% blev mördad av %othername% med en %item% i en PVP fight!
        pigzombie: §4%name% blev mördad av en GrisZombie!
        void: §4%name% blev mördad av voiden!
        poweredcreeper: §4%name% sprängdes i småbitar av en Powered Creeper!
        unknown: §4%name% dog av oförklarliga orsaker!
        skeleton: §4%name% blev mördad av ett Skelett!
        creeper: §4%name% sprängdes i småbitar av en Creeper!
        fire: §4%name% brann upp!
        ghast: §4%name% blev mördad av en Ghast!
        lightning: §4Blixten slog ner i %name%!
        slime: §4%name% blev mördad av en Slime!
        lava: §4%name% simmade i Lava och dog!
        zombie: §4%name% blev mördad av en Zombie!
        wolf: §4%name% blev mördad av en Varg!
        tnt: §4%name% blev mördad av en exploderande TNT!
        fall: §4%name% hoppade från en klippa och dog!
        spider: §4%name% blev mördad av en Spindel!
        pvpwolf: §4%name% blev mördad av %othername%'s Wolf!
        firetick: §4%name% fann inte vatten i tid och dog av eld!
        cactus: §4%name% kittlade en kaktus och dog av giftet!
        giant: §4%name% blev mördad av en Giant!


    Changelog:
    Version 1.0
    • Release.
    Version 1.1
    • Fixed bug with multiple messages.
    Version 1.2
    • Added properties.
    • No Permissions? Then everyone can send a message and receive a message.
    Version 1.3
    • Fixed messages.
    Version 1.4
    • Changed namespace.
    Version 1.5
    • Fixed suffocate-message.
    Version 1.6
    • Works in Beta 1.4.
    Version 1.7
    • Added Giants.
    • Added Monsters.
    • Added Wolves.
    Version 1.8
    • Fixed void-message.
    Version 1.9
    • Added lightning-message.
    Version 2.0
    • Properties file is now saved in YAML format.
    • Added pvpwolf-message.
    Version 2.1
    • Fixed pvp-message.
    • Fixed wolf-message.
    • Fixed pvpwolf-message.
    Version 2.2
    • Fixed the properties file.
    • Added poweredcreeper-message.
     
  2. Offline

    Fille

    I'm having a problem with the plugin

    Code:
    23:28:20 [SEVERE] Could not load 'plugins\DeathMessagePlugin.jar' in folder '
    plugins':
    while parsing a block mapping
     in "<reader>", line 1, column 1:
        messages:
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 15, column 2:
         was unlucky enough to die from l ...
         ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:175)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:199)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:122)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    Nikademus

    Got the following error this morning.

    Code:
    2011-07-05 09:14:24 [SEVERE] Could not pass event ENTITY_DEATH to DeathMessagePlugin
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.x()Ljava/lang/String;
        at nl.robinvandervliet.DeathMessagePlugin.DeathMessagePluginEntityListener.onEntityDeath(DeathMessagePluginEntityListener.java:381)
        at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:346)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
        at net.minecraft.server.World.cleanUp(World.java:1102)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  4. Offline

    robin0van0der0v

    Update the plugin please. ;)
     
  5. Offline

    Bashoogers

    I dont get any messages of users that be killed by Mobs or killed in Lava. :(
    Forget Permissions!
    Never mind ;d
     
  6. Offline

    Liger_XT5

    I love this plugin! Even works with Citizens when they die as well. I've had so many people ask who's this or that because they didn't recognize the mob Citizens lol
     
  7. Offline

    Jobsti

    Huhu,

    I use DeathTpPlus, but no one update it for aktual CB and new deaths/hooks, so I'm searching for a new DeathMessagePlugin.

    Whats about more and random messages like DeathTpPlus ?
    The config from my Plugin
    Code:
    .............
    drowning:
     - '§4%n ist in einer Pfuetze ersoffen.'
     - '§4%n ist abgesoffen.'
     - '§4%n braucht Schwimmunterricht.'
     - '§4%n ist die Luft ausgegangen.'
     - '§4%n hat beim Luft anhalten gewonnen.'
    ...................
    
     
  8. Offline

    Silarn

    There seem to be cases, such as death caused by various plugins in abnormal ways, that cause a null value error in DMP. You should probably catch this and list it the same as an "unknown cause" error.

    Code:
    2011-07-11 14:41:48 [SEVERE] Could not pass event ENTITY_DEATH to DeathMessagePlugin
    java.lang.NullPointerException
        at nl.robinvandervliet.DeathMessagePlugin.DeathMessagePluginEntityListener.onEntityDeath(DeathMessagePluginEntityListener.java:398)
        at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:43)
        at actruncale.SlowHealth.SlowHealth.healPlayer(SlowHealth.java:161)
        at actruncale.SlowHealth.SlowHealth.handleHealth(SlowHealth.java:123)
        at actruncale.SlowHealth.SimpleTimer.run(SimpleTimer.java:37)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)
    Code:
    2011-07-11 14:41:46 [SEVERE] Could not pass event ENTITY_DEATH to DeathMessagePlugin
    java.lang.NullPointerException
        at nl.robinvandervliet.DeathMessagePlugin.DeathMessagePluginEntityListener.onEntityDeath(DeathMessagePluginEntityListener.java:398)
        at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:726)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Code:
    2011-07-11 13:55:12 [SEVERE] Could not pass event ENTITY_DEATH to DeathMessagePlugin
    java.lang.NullPointerException
        at nl.robinvandervliet.DeathMessagePlugin.DeathMessagePluginEntityListener.onEntityDeath(DeathMessagePluginEntityListener.java:398)
        at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at org.bukkit.craftbukkit.entity.CraftLivingEntity.damage(CraftLivingEntity.java:178)
        at com.fullwall.Gastronomic.Hunger.PlayerHunger.damagePlayer(PlayerHunger.java:119)
        at com.fullwall.Gastronomic.Hunger.PlayerHunger.updateHunger(PlayerHunger.java:56)
        at com.fullwall.Gastronomic.Gastronomic$1.run(Gastronomic.java:393)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  9. Offline

    Grrrr159

    Works ob BC#1000
     
  10. Offline

    Musaddict

    broken link
     
  11. Offline

    Punisher1295

    Link is broken!
     
  12. Offline

    Grrrr159

  13. Offline

    Musaddict

  14. Offline

    Grrrr159

    no problem!
     
  15. Offline

    sbeex

    Update it please :)
     
  16. Best Death Message plugin, please update !
     
  17. Offline

    Nikademus

    Got the following error in the server log the other day:
    Code:
    2011-09-05 11:37:08 [SEVERE] Could not pass event ENTITY_DEATH to DeathMessagePlugin
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.x()Ljava/lang/String;
        at nl.robinvandervliet.DeathMessagePlugin.DeathMessagePluginEntityListener.onEntityDeath(DeathMessagePluginEntityListener.java:381)
        at org.bukkit.plugin.java.JavaPluginLoader$60.execute(JavaPluginLoader.java:663)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:142)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:441)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:180)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:346)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1212)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1194)
        at net.minecraft.server.World.cleanUp(World.java:1110)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:450)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  18. Offline

    sbeex

    The same for me...
     
  19. Offline

    Nikademus

    With 1185, is anyone getting two death notifications messages when someone dies? They are different messages as well. Example:

    "Nikademus was blown up by a Creeper!"
    "Nikademus blew up"

    The first one looks like DeathMessage, not sure where the second one is coming from.
     
  20. Offline

    xcanner

    The second deathmessage comes from minecraft :)
     
  21. French translation:
    ---
    messages:
    suffocate: §4%name% s'est étouffé a l'intérieur de %item%!
    pigzombie: §4%name% tué par un PigZombie!
    skeleton: §4%name% tué par un Skeleton!
    slime: §4%name% tué par un Slime!
    zombie: §4%name% tué par un Zombie!
    spider: §4%name% tué par un Spider!
    suicide: §4%name% s'est suicidé!
    water: §4%name% s'est noyé!
    pvp: §4%name% a été tué par %othername% à coups de %item% !
    monster: §4%name% tué par un Monster!
    poweredcreeper: §4%name% s'est fait explosé par un PoweredCreeper!
    void: §4%name% est tombé dans le vide!
    creeper: §4%name% s'est fait explosé par un Creeper!
    unknown: §4%name% mort de raisons inconnues!
    fire: §4%name% brulé vif!
    ghast: §4%name% tué par un Ghast!
    lightning: §4La foudre a frappé sur %name%!
    wolf: §4%name% tué par un Wolf!
    lava: §4%name% nageait dans la lave!
    tnt: §4%name% a sauté avec la TNT!
    fall: §4%name% a sauté d'une falaise!
    pvpwolf: §4%name% tué par le chien de %othername%!
    firetick: §4%name% n'as pas trouvé d'eau a temps et a fini grillé!
    giant: §4%name% tué par un Giant!
    cactus: §4%name% a frolé un cactus, il est mort empoisonné!
     
  22. Offline

    Don Redhorse

  23. Great plugin

    Wait this dosent exxist anymore??? AW MAN ):

    Nevermind its on DEV "im stupid"

    Dude great plugin. Please update this

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

    soundwaveninja

    download link broken
     
  25. Offline

    MC-Zocker

    your downloadlink doesnt works :(
    can you help me pls?
     
  26. Offline

    Don Redhorse

    hmm I have no idea if robin is updating his plugin...

    DeathTpPlus is alive and kicking again.. it offers death messages and the option to teleport you to the place of death.. plus a sign how you died and a lot more in the future... http://dev.bukkit.org/server-mods/deathtpplus/
     
  27. Offline

    leithal7

    Can i, with this plugin configure the message for death by hunger? Didn't see it up above.
     
  28. Offline

    Don Redhorse

    well I guess you will need to bother the developer more... or go for deathtpplus or any other death message plugin
     
  29. Offline

    R34CH

    The Plugin doesn't exists?
     
  30. Offline

    Don Redhorse

    either bother the original developer to update or try one of the other plugins like deathtpplus
     

Share This Page