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

    Tanite

    Ah, no problems. At least you do test before releasing (not everyone does)! :p
     
  3. Offline

    SygnusX1

    Sometimes, death messages don't show up for people. Some people apparently never see them at all. What could be the problem? Running RB 1.8.1
     
  4. Offline

    SquallSeeD31

    I'm not sure what you mean by that. Is the message displayed to some--but not all--players?

    Also which version of HeroicDeath, and are there any plugins that conflict with damage events (such as RPG-style plugins)?
     
  5. Offline

    SygnusX1

    Indeed. Sometimes, some players see it and others don't. It's really odd, and I've never had this problem with this great plugin before. We have the latest JAR, and plugins should not be conflicting..

    New info here: upon removing CommandBook, everyone appears to be able to see the messages. I'd really rather not remove it though..any ideas?

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

    Lama_0

    Hey, I have the Updater plugin 'CraftBukkitUpToDate' and it says it needs you to add this plugin (I got it! Woohoo!) to dev.bukkit.org so it can update automatically. You think you can do this?
    Take care.
     
  7. Offline

    SquallSeeD31

    Hmmm...

    That's really confusing to me. Do you use multiple worlds on your server?
     
  8. Offline

    Zach Hinchy

    Is HeroicDeath ever going to support CraftBukkit display names? My server makes heavy use of display names and it's always bugged me that it never worked with HeroicDeath.

    All it would take is a minute change in the plugin to use Player.getDisplayName() instead of Player.getName(). Bukkit does the rest of the work, and it wouldn't affect people not using display names.
     
  9. Offline

    SquallSeeD31

    This has been supported since HeroicDeath 1.8.3 by setting "options.useDisplayName" to true in your config.yml
     
  10. Offline

    DooBLER

    @SquallSeeD31

    Can you add iConomy5/6 support?
    When player dies defined amout of money will be taken from him.
    I know about iconomydeath, but in your plugin it is possible to differ amount of money due to cause of death.
     
  11. Offline

    SquallSeeD31

    That's the type of feature that I don't want to add to HeroicDeath directly, because it would not be useful to all of HeroicDeath's community and would require HeroicDeath to build against another plugin.

    However, to achieve that functionality, a quick helper plugin could be made that listens for the custom event HeroicDeath sends to all other plugins when a death is recorded. Using this, you can pull the damage cause and deduct an appropriate amount of coin.
     
  12. Offline

    FlyWire

    I have 'events only' set to 'false' and I still don't get in-game messages but the console does. Here is my config: http://pastebin.com/r4bWsZpq

    I haven't changed the config, it is default so i'm not sure why it wouldn't be working.

    Sometimes the messages do display deaths but 90% of the time it doesn't.

    I'm not receiving any errors in console either.
     
  13. Offline

    SquallSeeD31

    If the console is receiving the correct message but it's not going out in game, there are four possibilities:
    1) "events only" is true (your config indicates that it is false)
    2) "server broadcast" is false and/or you've specified which worlds should not receive messages (your config indicates server broadcast is true and there are no worlds specified, so it should go to the whole server)
    3) Another plugin is cancelling HeroicDeathEvent to tell HeroicDeath not to broadcast the message.
    4) It's a weird bug I've never encountered before and that has never been reported to me.

    Without discounting the possibility of #4, my money's on a rogue plugin that listens for CUSTOM_EVENT and doesn't bother checking whether the event was intended for it before cancellation.
     
  14. Offline

    IronPython

    i dont know if this has been said yet or has happened to anyone other then me. but whenever someone gets killed on my server the server crashes ad restarts. no errors really show up just "fepythong killed by angry pig" (oh whatever) then it just restarts no errors really but wanted you to be aware ill try and see if i can get and error log off it but for now i just disabled it
     
  15. Offline

    DoCBeN

    SquallSeeD31:
    i have a same problem to FlyWire
    Never in-game.. but appears in log and no error
     
  16. Offline

    SquallSeeD31

    What version HeroicDeath, what version CraftBukkit, do you use multiple worlds?
     
  17. Offline

    HashWorks

    I got an Error when loading a new nether world and then spawning in it on the last versions.
    I spawn there, and then I always get kicked out.

    Solved the problem with deactivating the plugin and then reactivating it.
    Anyone else got this problem?
     
  18. Offline

    DoCBeN

    SquallSeeD31:

    Forgive me, it's me the error... (i don't selected the good loud) :'( :'(
     
  19. Offline

    Phex

    After i reload my server the console duplicates the death message and stops broadcasting it to the server.

    15:01:18 [INFO] player hugged a creeper
    15:01:18 [INFO] player hugged a creeper
    15:01:18 [INFO] player hugged a creeper
    15:01:18 [INFO] player hugged a creeper
    15:01:18 [INFO] player hugged a creeper
    15:01:18 [INFO] [HeroicDeath] player hugged a creeper

    If i stop the server completely and start it again everything is fine again.
     
  20. Offline

    GLR457

    very nice plugin working perfect on my server.. [diamond]'s for you :cool:
     
  21. Offline

    Zorkin3

    Hello, I have been using this about 4 months, its awesome. But Its kinda buggy after update to 1.8, (1185). I've tried development and recommended jars, no one works.

    The problem is:
    After the server starts, all players see the deaths. But after one player relog, he doesn't see it anymore. In console, its okay, but not for the relogged player. They all relog and they can't see anything.

    Also, I tested it with this plugin only on my test realm. So this must be a bug of Heroic Death. Using debian linux and bukkit 1185.
     
  22. Offline

    wassilij

    Try Craftbukkit Build 1221
     
  23. Offline

    Zorkin3

    Thanks. It works.
     
    wassilij likes this.
  24. Please add support for " é, è, à" etc ... :'(
     
  25. Offline

    Juze

    I have one slightly unrelated problem, but I'm still getting duplicated death messages (probably from another plugin) after latest major server update with loads of plugins. HeroicDeath 1.11.2 in console, CB#1185.

    For example:

    Juze hugged a creeper (My name is white)
    Juze got blown up by creeper (Or something. This is HeroicDeath).

    101 plugins, not going to test them all. :p
     
  26. Offline

    Quackster

    Awesome release, one of my friends had this on their server and you just lol! everytime you see a player die with a message like that :D
     
  27. Open the file in Notepad++ and click on "Encoding" in the top menubar. Change UTF-8 to Ansi. After this, try to use Å Ä Ö á ó... Save and check if it worked :)
     
    Auy658 likes this.
  28. Offline

    Sayshal

    Work with 1317?
     
  29. Offline

    pacmanjones

    @SquallSeeD31

    Would it be possible to include an option for PvP streaks?

    ie

    Bob shanked Tim with a Bone
    Bob is on a killstreak of 6!
     
  30. Offline

    godgodgodgo

    Can you make an option so that any deaths in certain listed worlds aren't broadcasted?
    e.g.
    Disable world broadcast: world, skyland
     
  31. Offline

    Redlac31

    I seem to be only getting the generic messages...
    I'm using a bunch of plugins, though... Maybe one is messing with it?
     

Share This Page