Inactive [INACTIVE][INFO] HeroicDeath v1.11.2: Customizable server broadcasts on player death [1185]

Discussion in 'Inactive/Unsupported Plugins' started by SquallSeeD31, Feb 2, 2011.

  1. Offline


    HeroicDeath - Player Death Notification Plugin (v1.11.2)
    Download HeroicDeath v1.11.2 [CraftBukkit 1174+]
    Download HeroicDeath v1.9.1 [CraftBukkit 1035~1173]
    Download HeroicDeath v1.8.2 [CraftBukkit 561~1034]
    Download HeroicDeath v1.6.1 [CraftBukkit 349~560]
    Download HeroicDeath v1.3.1 [CraftBukkit 348-]
    Latest Jar Only | In Development Jar

    Due to API changes, if you are not using the latest Recommended Build of CraftBukkit, DO NOT download the latest build of HeroicDeath. I have provided links to all legacy versions of HeroicDeath based on which CraftBukkit versions they support.

    CraftIRC Integration
    Do you use CraftIRC? Do you want HeroicDeath to send its death messages to your IRC channel? Xon has developed a helper plugin to do just that! I do not maintain or test this plugin, but I am happy to endorse it and link it for any CraftIRC/HeroicDeath users who want to use both together.

    JSONAPI Integration
    Xon has ALSO developed a helper plugin that pushes HeroicDeath messages to JSONAPI, allowing server admins to easily procure deaths via anything capable of reading a JSON string. Thanks, Xon!

    • Broadcast cause of death when a player dies
    • Shows who killed whom in PvP and with what item
    • Shows which kind of monster was responsible for eating a player
    • Optionally shows which world they were killed in!
    • Define an unlimited (within reason) number of custom messages based on cause of death, and a random message will be chosen
    • Log deaths to a configurable file, including timestamp and location of death!
    • Send messages on a per-world basis or to the whole server, configure which worlds should get messages and which shouldn't!
    • Define the text color to be used for the message, the player(s) involved, and the "murder weapon" (for PvP deaths)
    • Customize item names to be displayed for PvP deaths (Ex. "Excalibur" instead of "Gold Sword")
    • Supports items with durability! (wood, coal, dye, wool)
    • Item list doesn't need to be updated for future Minecraft patches! (If an item is not defined in the items file, the name of its Material will be prettified and used by default)
    • Supports following causes of death (all lines below the :Tag will be treated as messages for that type of death):


    1. FAST INSTALL: Drop the JAR in your plugins directory and reload plugins; HeroicDeath will automatically create default files. If you want to edit them before your first run:
    2. Download latest .ZIP archive from the link at the top
    3. Extract the archive into your main server directory (archive contains directory mapping)
    4. Open /plugins/HeroicDeath/config.yml and configure to taste
    5. Open /plugins/HeroicDeath/heroicdeath.messages and add/remove/edit death messages
    6. Open /plugins/HeroicDeath/heroicdeath.items and add/remove/edit item names
    7. Save all configuration files and reload your server

    The config file contains default text colors and logging preferences. You can specify the chat colors that will be used for broadcasting a death message, displaying the name of the dead (and their killer if applicable), and displaying the name of the item used to kill the player (for PvP deaths). You can now also choose whether or not to log death data, death messages, and a few formatting choices for your logs.

    This file is saved in the YAML format, so please be sure to maintain the formatting and change only the element values.
    Default configuration:

    Show Spoiler
    # HeroicDeath Configuration
    # Messages are defined in heroicdeath.messages
    # Items (for PvP kills) are defined in heroicdeath.items
    # This file is for configuration of colors, log preferences and localized mob names
    ## Color options
    ## message: Text color of death notifications, wrapped around names/item.
    ## name: Color for the name of victim and killer.
    ## item: Color for the name of the item used in a PvP death.
    #Color is defined according to the Bukkit enum ChatColor
    #Acceptable entries:
    #If color entered is inappropriate, HeroicDeath will default to the following values:
    ##message: RED
    ##name: DARK_AQUA
    ##item: GOLD
        message: RED
        name: DARK_AQUA
        item: GOLD
    #Logging Preferences:
    ##data: true to log a serialized object representing all the relevant information associated with a death
    ##messages: true to log death messages (as output to the server) to a separate file
    ##time: Whether or not to timestamp messages (if logging messages), and what timestamp format to use for data/messages
    ###stamp: true to timestamp messages
    ###format: Uses format strings from Java SimpleDateFormat.  Read all here:
    ##files: Filenames to store data/messages in.  A server admin could ostensibly change this value daily/weekly/monthly for collection of timed logs
    ###data: Data storage filename
    ###messages: Messages storage filename
        data: true
        messages: true
            stamp: true
            format: MM/dd/yyyy HH:mm:ss z
            data: death_data.log
            messages: death_messages.log
    #Event Support:
    ##If you only want HeroicDeath to send its custom event for other plugins to pick up, and NOT send the death message, set this to true.
        only: false
    #Localized monster names:
    ##If you would like to specify custom localization for the mob names, edit the defaults below
        ghast: Ghast
        slime: Slime
        monster: Monster
        zombie: Zombie
        pigzombie: PigZombie
        spider: Spider
        creeper: Creeper
        skeleton: Skeleton
        wolf: Wolf
        unknown: Unknown
        giant: Giant
    ##useDisplayName: Set to true if you want HeroicDeath to display the player's display name instead of their fixed character name.
    ##serverBroadcast: Set to FALSE if you want HeroicDeath to only broadcast its messages in the world they belong to.
    ##worlds: Lists of quiet/loud worlds for broadcast targeting. NOTE: World names are case-sensitive.
    ###quiet: Worlds listed here will NEVER receive ANY HeroicDeath broadcasts.
    ###loud: Worlds listed here will ALWAYS receive ALL HeroicDeath broadcasts.
        useDisplayName: false
        serverBroadcast: true
            quiet: [peacefulworld, noobworld]
            loud: [pvpworld, nether]

    Contains all the possible messages that can be displayed, sorted by type of death. Every line under a death type label is treated as a message for that death type, until the next label is reached. Labels are prefixed with the colon ":" and are self-explanatory.
    Variables accepted in messages:

    %d holds the name of the dead player.
    %a holds the name of the attacking entity (player or monster) for PVP and Monster deaths.
    %i holds the name of the attacking player's current item for PVP deaths.
    %w holds the world the death occurred in
    This file contains custom names for the item a PvP killer is holding. The names here will be replaced in the %i marker for PvP deaths. If a mapping is not provided for an item in this file, a default name will be used automatically.
    Item Format: NAME:ID:<Optional>DATA
    Item IDs and Data Values may be found on the Minecraft Wiki
    Optional DATA parameter uses hex notation, so purple wool would be "purple wool:35:0xa"

    If you have translated heroicdeath.messages into another language and would like to share your translation with the community, let me know! I'd be happy to share it here in the OP for those looking.

    German - By Keav -

    Changelog (Download Full Changelog)
    Version 1.11.2
    • Added 1.8 mobs Enderman, Cave Spider, Silverfish
    • Added passive mobs Chicken, Cow, Pig, Sheep, Squid
    Version 1.11.1
    • Fixed an exception that would occur if the player dies without being damaged first (such as by a rogue plugin)
    Version 1.11.0
    • Added support for MC 1.8.1 death messages (by removing them)
    • Added new MC 1.8.1 items
    • Added support for STARVATION DamageCause
    Version 1.10.0
    • Added support for SUICIDE DamageCause, mainly for the /suicide and /kill default commands.
    kahlilnc, Chike, SmartyGeek and 20 others like this.
  2. Offline


    Thank you very much! It was driving me crazy; I knew someone had done it before but I was away from my computer.
  3. Offline


    It's a great little thing, never seems to break either with successive RBs.
  4. Offline


    Well, it certainly has in the past, but typically only when they change the way damage events work. It quite intentionally has no external dependencies. It has broken before, but I'm usually pretty quick to get a fix out as I try to keep tabs on the relevant update threads from the Bukkit team.
  5. Offline


  6. Offline


    can we please print co-ords to screen when a player dies? so people can /tppos x y z
  7. Hey, i put the jar file and heroicdeath folder into my plugins folder, but it will give a lot of java error messages when i start the server in terminal... the server still works but it will not show the messages... please help
  8. Offline


    downloads not working kind sir
  9. Offline


    The plugin is not working for me. After putting the .jar in the 'plugins' folder and restarting the server, I get this in the server log:

    2011-07-21 22:52:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-07-21 22:52:42 [SEVERE] Could not load 'plugins\HeroicDeath.jar' in folder 'plugins': error in opening zip file
        at Method)
        at<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(
        at org.bukkit.craftbukkit.CraftServer.<init>(
        at net.minecraft.server.ServerConfigurationManager.<init>(
        at net.minecraft.server.MinecraftServer.init(
  10. Offline


    Could you try re-downloading it from the JAR-only link? See if it's an issue with the ZIP file or with the raw JAR itself. For what it's worth, it works fine for me under XP SP2, XP SP3, Win7 32/64, RHEL 5, and Ubuntu 10.10
  11. Offline


    works fine for me on Build 1000
  12. Offline


    I also have a version which pushes HeroicDeath notifications to the plugin JSONAPI. Jar download link here, this would make it trivial to get the last 50 or so deaths and display them on a webpage and provide a live feed to anything which can read a json string.
  13. Offline


    You know, I actually thought about having the death log record in JSON, but the other devs talked me out of it for the sake of keeping HeroicDeath as lightweight and human-readable as possible. Of course I say that JSON is perfectly human-readable, but meh, I see their point. :p

    Thanks for the link, I've added that to the OP as well!
  14. Offline


    I got these errors using both the JAR file from the JAR-only link, and the JAR file from the v1.8.2 ZIP file, though in the latter case I hadn't bothered copying the 'HeroicDeath' folder (I was planning on using the default messages, so I just followed the "FAST INSTALL" instructions).

    When I actually copy the 'HeroicDeath' folder from the ZIP file, it seems to work fine, so I guess the error is occurring while the plugin is trying to auto-create the config files.

    As for what OS the server is on, I wish I knew. It's being hosted by BroHoster; I've looked all over their site but it doesn't seem to say anywhere what OS they're using for the Minecraft servers.
  15. Offline


    Sorry, I don't see a link to source code so that I can understand how does HeroicDeath API for custom events work, can anybody clarify this?
  16. Offline


    Can you make like the plugin announce when a player killed 2 players at an interval of 2-5 seconds it will announce "<PLAYER> DOUBLE KILL!" or "<PLAYER> TRIPLE KILL! sounds fun?
  17. Offline


    That's not the sort of direction I want to take HeroicDeath in, but since it sends out a custom event when players are killed that has all the information you'd need, someone could make a "PvP Stats" plugin or similar without needing to replicate the kill detection work.
  18. Offline


    suggesting.. can you also add for the Chickens, Pig, Sheep etc..? cause in my server they can kill u..
  19. Offline


    first thing that came to mind @morizuki : "oh look, a harmless sheep. AAAHHH steel wool!! run away!!" haha
    morizuki likes this.
  20. Offline


  21. Offline


    Is it normal that most of the time it shows the death message twice when you die?
  22. Offline


    Not at all, can you get me a screenshot of your chat window showing that?

    I bet there's actually another plugin involved.
  23. Offline


    Here's a screenshot of the chat window as well as my plugins. The 2nd message is almost always Herobrine or unknown causes but sometimes it'll show the same thing twice like "____ has killed with ____". I should also mention that this has been happening ever since I installed it and I've been keeping up to date.

  24. Offline


    If I may make a suggestion, can you please add the human mob to the list? And, if possible, can you also add one so it displays a message whenever somebody types /kill? I know there's the Other tag, but some people like me want to be more specific.
  25. Offline


    I have a lot of requests for non-standard mobs that I need to prioritize.

    With the /kill command, it's a default mc command and doesn't provide a Damage Cause
  26. Offline


  27. Offline


    Consider this a noob question lol, but if I wanted to stick a colon in the item name I would put quotes around it so it wouldn't mess with the syntax right? And if I did, would it be single or double quotes?

    PS: Is there, or can you add a tag for a SpiderJockey kill? Or do they just appear as a skeleton and or spider kill depending. They're rare, but they have appeared on my server before.
  28. Offline


    Does HeroicDeath work for Permissions? If so how? Thanks
  29. Offline


    I don't have a method of escaping colons in item names right now, but if it's a popular request I could consider adding it.

    Spider Jockeys aren't actually a separate mob type; just a Skeleton that is riding a Spider. I'm hesitant to try to distinguish this from individual Spiders and Skeletons (although it *is* possible), because then I'm going to get people whining that they installed a mod that lets pigs ride sheep and attack you and they want *that* case to be represented too. :p
  30. Offline


    Right right. I thought it might be like that, lol. It's obviously not a big deal since I've only ever seen one or two of them, the plugin is still awesome.
  31. Offline


    Can you add a list of exceptions, to remove some names from broadcasting?

Share This Page