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

    SquallSeeD31

    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

    COMPATIBILITY WARNING
    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.

    https://github.com/Xon/HeroicDeathToCraftIRC/downloads

    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!

    https://github.com/downloads/Xon/HeroicDeathToJSONAPI/HeroicDeathToJSONAPI.jar

    Features
    • 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):
      Code:
      :Drown
                          :Cactus
                          :Fire
                          :Explosion
                          :Creeper
                          :Ghast
                          :Slime
                          :Zombie
                          :PigZombie
                          :Spider
                          :Skeleton
                          :Giant
                          :Wolf
                          :Enderman
                          :CaveSpider
                          :Silverfish
                          :Chicken
                          :Cow
                          :Pig
                          :Sheep
                          :Squid
                          :Fall
                          :PVP
                          :Void
                          :Lava
                          :Other
                          :Suffocation
                          :Dispenser
                          :Lightning
                          :Suicide
                          :Starvation
    Screenshot






    [​IMG]

    Installation
    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
    Configuration


    config.yml
    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
    Code:
    # 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:
    ##BLACK
    ##DARK_BLUE
    ##DARK_GREEN
    ##DARK_AQUA
    ##DARK_RED
    ##DARK_PURPLE
    ##GOLD
    ##GRAY
    ##DARK_GRAY
    ##BLUE
    ##GREEN
    ##AQUA
    ##RED
    ##LIGHT_PURPLE
    ##YELLOW
    ##WHITE
    #
    #If color entered is inappropriate, HeroicDeath will default to the following values:
    ##message: RED
    ##name: DARK_AQUA
    ##item: GOLD
    colors:
        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: http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html
    ##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
    log:
        data: true
        messages: true
        time:
            stamp: true
            format: MM/dd/yyyy HH:mm:ss z
        files:
            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.
    events:
        only: false
    
    #Localized monster names:
    ##If you would like to specify custom localization for the mob names, edit the defaults below
    monsters:
        ghast: Ghast
        slime: Slime
        monster: Monster
        zombie: Zombie
        pigzombie: PigZombie
        spider: Spider
        creeper: Creeper
        skeleton: Skeleton
        wolf: Wolf
        unknown: Unknown
        giant: Giant
    #Options
    ##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.
    options:
        useDisplayName: false
        serverBroadcast: true
        worlds:
            quiet: [peacefulworld, noobworld]
            loud: [pvpworld, nether]
    



    heroicdeath.messages
    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:

    Code:
    %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
    heroicdeath.items
    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"

    Localization
    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 - http://dl.dropbox.com/u/40701071/heroicdeath.messages

    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. Works fine on 935
     
  3. Offline

    korin125

    Is it possible for this plugin not to display deaths during a match in the 'war' plugin? Or if this is already possible could somebody please let me know?
     
  4. Offline

    Andrewkroger1

    can you please update this to RB 953
     
  5. Offline

    Ryannober

    Read the above post, It works for cb 953
     
  6. Offline

    Andrewkroger1

    ok thanks :D!
     
  7. Offline

    Tommy simpson

    we have it on our server very cool :)
     
  8. Offline

    dno221

    is it possible to disable messages for npcs?
     
  9. Offline

    sukosevato

    Great plugin!
     
  10. Offline

    Airo101

    I have a terrible spam in console ,which says (nobody)died by an unknown reason(AKA killed by Herobrine)
    I am using CB953
     
  11. Request:

    Something like: "disabled-worlds: world1,world2"

    Would be great for PVP worlds to prevent spam ;)
     
  12. Offline

    ACStache

    Idea: I found this plugin that makes it so that breaking glass by hand hurts the player. can we add a ":Glass" section to the message file and will it recognize the damage source if we do?
     
  13. Offline

    Kartus

    this is an issue cause you have not UT8 Code file format or something like that. i asked it 2 months ago. but i can't fix it by copy it to UT8 file...

    @SquallSeeD31 can i please send over pastebin my messages-file and you can send it back in UT8 format, so ä,ö,ü works? cause when i try it, it doesn't work.
     
  14. Offline

    SquallSeeD31

    As more and more servers are installing MultiVerse, this seems like a good idea.
     
  15. Offline

    ACStache

    @SquallSeeD31
    any idea if I can or would it be put in the ':Other' section of taking damage if it kills them?
     
  16. Offline

    SquallSeeD31

    It depends on how the plugin developer of "Shattered" classifies the damage. HeroicDeath recognizes the Bukkit ENUM for cause of damage, but if the plugin uses "dumb" damage (that is, it just modifies the player's health instead of telling CraftBukkit where the damage is coming from) there may not be a message at all, or it might trigger an "Unknown" message.
     
  17. Offline

    ACStache

    ah, ok. thanks!
     
  18. Offline

    1hacker

    Download and use Notepad++
    You can convert the file to UTF-8 in the format menu
     
  19. Offline

    Kartus

    thx, it works now.
     
  20. Offline

    Lunar Delta

    I can't get it to display messages for "Monster". Everything is set up correctly, just like the other mobs (which all function properly).
     
  21. Offline

    SquallSeeD31

    Well, the monsters.monster node is a default, for if you are killed by a monster that does not have its own definition. In other words, when you're killed by a monster, it first looks for a message defined for that type of monster. If it doesn't find any such definition, it uses the "Monster" generic messages.

    If you're aware of that and you still have a test case where that isn't the behavior experienced, please let me know because that'd be a bug. =)
     
  22. Offline

    Lunar Delta

    No, by "Monster" I mean the actual human-type mob known as "Monster". I'd like to have death messages available for them, but as you say the node for Monster doesn't point to them, but only serves as a generic message for any monster.

    Perhaps you could change it so that "Monster" points to the Steve mob and the generic message node could be "Creature" or something? I often have the Steves spawning on my server, and I'd love to be able to have the death message be something other than "Player was killed by an angry Monster".
     
  23. Offline

    Hunter46

    yea i like this plugin
    but is there any version für 953?
    or do you stopped workin on this plugin?
     
  24. Offline

    SquallSeeD31

    Oh wow, I wasn't aware that anyone had used that mob or really that it even could be used. I'd have to create a separate check for that.
     
  25. Offline

    lipe123

    Still working on this plugin?

    I was wondering if you could add a setting not to broadcast death messages when players die in a mob arena (see garbagemule's mobareana plugin) or maybe add a death-message just for the arena.
     
  26. Offline

    SquallSeeD31

    Yes I'm still working on it; I just haven't updated the compatible build in a while since the Bukkit team hasn't broken anything in a while.

    Anyway I just released a revision (1.8.2) that makes my custom event "HeroicDeathEvent" cancellable. That means that if you want to selectively turn off death messages, you just need to have another plugin cancel the HeroicDeathEvent.

    I don't want to get into the business of attempting to maintain my plugin against a bunch of other plugins, but I will happily provide an API for those developers--should they wish--to modify the functionality of mine.
     
  27. Offline

    scout109

    I would like to see deathmessages support passive mob names too, i have animals such as pigs and chickens set to aggerissive on my server, but when i die it just says monster
     
  28. Offline

    phondeux

    Any way to get the death messages to show up in IRC?
     
  29. Offline

    SquallSeeD31

    There was another plugin that ties in, I want to say craft irc?
     
  30. Offline

    phondeux

    Yes, I run both but CraftIRC doesn't see the death messages; any way to connect them?
     
  31. Offline

    LlmDl

    @SquallSeeD31

    https://github.com/Xon/HeroicDeathToCraftIRC/downloads

    This thing is great. Squall, great plugin by the way, HeroicDeath ss one of the first plugins I got and I've used it for months now. This should be linked in the first post as it makes craftIRC even better.
     

Share This Page