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


    ill downgrade cause of so many plugins with problems with this build
  3. Offline


    Can I use item names as new kill label?
    %d blown up.
    %d got beaten up by %a.
    ^--- would then the message come twice, if PVP is enabled?
    If not, add this as suggestion (=
    KoryuObihiro likes this.
  4. Offline


    No, but I might look into that for the future.
  5. Offline


    This is broken in build 568.
    2011-03-24 20:13:45 [SEVERE] ENTITY_DAMAGED loading HeroicDeath v1.6.2.146 (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
    	at com.herocraftonline.squallseed31.heroicdeath.HeroicDeath.onEnable(
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    	at net.minecraft.server.MinecraftServer.e(
    	at net.minecraft.server.MinecraftServer.a(
    	at net.minecraft.server.MinecraftServer.d(
    Edit: Just saw your post about the dev build, scratch this...
    cengbrecht likes this.
  6. Offline


    Stick with the recommended builds - though we do appreciate any and all testing you do on newer builds - since it is untested we cant say it works.
    cengbrecht likes this.
  7. Offline


    Fixed the issues for me! :)

    Craftbukkit 571 and HeroicDeath 1.6.2
  8. Offline


    Problem: Death messages do not broadcast to players in server. But they are recorded in the console.
    Neither OP's, Admins, or regular players can see them.

    My HeroicDeath Folder (ALL FILES): <Edit by Moderator: Redacted mediafire url>
    Just the config:

    I have no idea what other info I should include....

    CB 556
    HeroicDeath 1.6.1
    Last edited by a moderator: Dec 15, 2016
  9. Offline


    Set events.only in your config to "false". True means you only want HeroicDeath to record the deaths and broadcast an event that another plugin can pick up and do whatever with (like send to IRC).
    Last edited by a moderator: Dec 15, 2016
  10. Offline


    Alright TY i'll try it.
  11. Offline


    Hi there, we really love your plugin, nothing gives us a better laugh than getting notified that someone cooked himself :D.

    Would it be possible to add support for use of the /kill command? something like 'PLAYER has been struck by lightning', or 'PLAYER shouldn't have enraged the Gods'.
    KoryuObihiro likes this.
  12. Offline


    Well unfortunately that's not a natural death, so it doesn't generate an event that I can use. I'll see if I can think of a workaround later...
  13. Offline


    hello! Yours is one of the many plugins that are not working with the [600]+ builds. Here's one of the errors it generates:
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
        at com.herocraftonline.squallseed31.heroicdeath.HeroicDeath.onEnable(
    cengbrecht likes this.
  14. Offline


    See my above post:
    If you promise not to hold me responsible for it, you can have this indev build of HeroicDeath that implements that change, and see if it works for you:

    Now that it's an RB, I can start my own formal testing and certification against 600, but that's a very recent development (10 minutes ago)
  15. Offline


    sorry I didn't see your post last night -- I installed your -DEV version this morning. The plugin loaded OK and properly reported a test death.

    ... but you probably knew that already.
  16. Offline


    The DEV version works for me with CB602
  17. Offline


    600 here, and it works great!
  18. Offline


    KoryuObihiro likes this.
  19. Offline


    Excellent. Thank you, SquallSeeD.
  20. Offline


    This plugin is awesome!

    BUT! I'm not sure if you've been asked this before and I would like help from anyone, but I have all the Essential plugins running basically and this and a few other plugins, but don't deal with the chat. Now, the real question I have is this..


    Previous to installing the great plugin *<3* This stupid tag "{player} was killed by {player}" appears and I am having trouble trying to figure out where the hell it's coming from.

    If anyone has any clue, I would love to get some help :D
  21. Offline


    Someone mentioned that Stats + Achievements had their own death messages? Maybe try looking into that, but I'm not sure exactly what the formatting of theirs was. Obviously mine's on the bottom.
    jeffreylec likes this.
  22. Offline


    Bah! I am going to try this out right now..
    *5 minutes later*
    Yes! I found it. It was under my stats/
    stats-deathnotify = true
    changes to
    stats-deathnotify = false
    I hope this helps anyone that has these following plugins!
    Thanks SquallSeeD!
  23. Offline


    21:02:36 [SEVERE] ENTITY_DAMAGED loading HeroicDeath v1.6.1.145 (Is it up to date?)
  24. Offline


    No, it's not up to date, download the latest version. :p
  25. Offline


    xD didn't see it
  26. Offline


    Is the HeroicDeathToCraftIRC up to date?
  27. Offline


    I'm not sure, but unfortunately that's not actually my plugin; it just uses mine. Sorry!
  28. works for CB 612?
    Can't test it atm :S
  29. Offline


    Works fine in CB617 except that wolves are reported as "monster".
  30. Offline


    Yeah, the build for 602 works fine in later builds of CraftBukkit, but doesn't yet includes Wolves. That'll be added in an upcoming revision. =)
  31. Offline


    You're awesome <3

Share This Page