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. Offline

    ACStache

    it's fairly simple.
    download the latest recommended build, which is build#1060 from here
    Stop your server
    replace the current Craftbukkit jar with the one from that link
    start up your server
    verify using "/version" again that it's version 1060
     
  3. Offline

    SquallSeeD31

    Okay, you don't necessarily *need* to upgrade to the recommended build, but it is... recommended. :p

    If you want to continue using HeroicDeath with build 1000 (which you have), just download HeroicDeath 1.8.2 from the original post and it will work with your version. =)
     
  4. Offline

    jkernan7553

    Sweet, it now says 980, not 945, is that correct? thanks alot, ill try heroic death now :)
     
  5. Offline

    SquallSeeD31

    CB1060 is: git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)

    980 is the commit, 1060 is the jenkins continuous integration number, which is what we typically go by as a "build number".
     
  6. Offline

    DerekZil

    I am getting two messages of how my players and I die. I also do not think Display name is working.
     
  7. Offline

    SquallSeeD31

    What version of HeroicDeath, what version of CraftBukkit, can I see a screenshot of the output?
     
  8. Offline

    Leemur

    add please an option, to appear the message for each player only once in every x minutes. To evict spam..
     
  9. Offline

    DerekZil

    1.9.1, 1060, and:[​IMG]
     
  10. Offline

    SquallSeeD31

    That is incredibly interesting. Do you have logging turned on? If so, could I get the relevant lines from death_data.log?

    See, the thing about HeroicDeath is that it only broadcasts a message when the ENTITY_DEATH event is called. This should happen only once for very obvious reasons.
     
  11. Offline

    DerekZil

    Here you go: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 15, 2016
  12. Offline

    SquallSeeD31

     
    Last edited by a moderator: Dec 15, 2016
    DerekZil likes this.
  13. Offline

    DerekZil

    Thanks so much about the info, I deleted OKlogger and it seems to have done the trick. I only got one double death message on the 7th try and now I do not get it after about 50.
    Also I forgot to mention it only happens when players jumped off high buildings.

    Now I am getting "Use the /back command to return to your death point." twice.
    Have any idea if Alerter or Pail is doing it?
    Haha, if you do not know it is alright I will figure it out by removing the log recorders one by one. :D


    Sorry to bother you, I love your plugins dude. (I have all three. :p)
     
  14. Offline

    SquallSeeD31

    Getting that "Use the /back command" message sounds like Essentials, actually. But as far as what's causing it to show up twice, you're really just going to have to figure out which plugin is sending its own EntityDeathEvent or why it's causing CraftBukkit to send two.

    It makes no sense to me, but if I had to hazard a guess, I'd say it's an RPG-style plugin.
     
    DerekZil likes this.
  15. Offline

    DerekZil

    I got mcMMO, thanks for all your help.
    I got it from here. :D
     
  16. Offline

    dolmusking

  17. Offline

    lancer611

    Do you have the source code posted somewhere? I'm developing a similar plugin and would probably benefit from using your code for reference, if you are willing to share that is.
     
  18. Offline

    SquallSeeD31

    Yes, sorry it's not linked in the OP: https://github.com/SquallSeeD31/HeroicDeath
     
  19. Offline

    Werzieq

    I keep getting 'other' messages for pvp and mob kills...
     
  20. Offline

    netraameht

    Please, add /suicide and /kill support, cuz the Herobrine messages are irritating me (Yes, i know that you can change them)
     
  21. Offline

    SquallSeeD31

    What version of HeroicDeath, what version of CB?

    These are default Minecraft commands and they operate by setting the player's health to 0, killing them. This has no damage cause associated with it, so both Bukkit and my plugin have no idea where the damage came from; we just know that you were suddenly damaged.
     
  22. Offline

    Werzieq

    CraftBukkit: 1060
    HeroicDeath: v1.9.1
     
  23. Offline

    SquallSeeD31

    Thank you.
    Do you have any RPG-style plugins installed or any plugins that may otherwise interfere with damage events?
    Failing that and/or in addition to that, if you have logging enabled could you attach your death_data.log for reference?
     
  24. Offline

    Werzieq

    Sure, here is part of it:

    http://pastebin.com/qUG3UFNE
     
  25. Offline

    SquallSeeD31

    I notice that in the except provided, "other" deaths only occur on the Worldofthegods world. Is there anything special happening on that world that might affect damage events, especially entity attacks (pvp, mobs)
     
  26. Offline

    Werzieq

    None that I know of, unless maybe Towny?
     
  27. Offline

    pacmanjones

    I have the same problem here. I use Towny Advanced and HeroicDeath 1.9.1. It doesn't happen all the time (sometimes I see a "got hugged by a creeper"), but now 90% of mob kills and pvp kills say "was killed by herobrine" or "died of unknown causes".

    PS This only started happening with the latest build/CB 1060
     
  28. Offline

    tanncamby

    I have just installed this plugin yesterday, configured the settings to my liking, and now whenever me, or someone else dies the message comes up twice in the chat box, but only once in my log. I tried reinstalling it and got the same problem. 2011-09-02_09.47.39.png
     
  29. Offline

    netraameht

    Ah, ok! Is there a way to make in your plugin a /kill or /suicide command, so you can add it better?!?
     
  30. Offline

    godgodgodgo

    No source for HeroicDeath.jar ask the Author to add it to dev.bukkit.org
     
  31. Offline

    SquallSeeD31

    In your case, you have another plugin that's providing death messages. HeroicDeath is giving the lines that start off in teal, the other plugin's start off white.

    I tracked down the support the Bukkit team added for the /kill command, and added support for it in HeroicDeath 1.10.0. It's still being tested on my server, but we haven't discovered any issues with it yet. You're welcome to download and install this indev copy if you'd like: http://dl.dropbox.com/u/1131502/HeroicDeath/plugins/DEV/HeroicDeath.jar

    I maintain source for HeroicDeath on GitHub here: https://github.com/SquallSeeD31/HeroicDeath
     

Share This Page