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

    TfT_02

    Thank you very much! Just updated to 670 :)
     
  3. Offline

    SquallSeeD31

    Okay, well the config looks good, so we're going to have to go to the full details. What version of HeroicDeath? What version of CraftBukkit? What do you see in your console? (If errors, print the stacktrace here. If you die, you should at least see death messages logged to console even if events.only is true)
     
  4. Offline

    thatguy25

    If I open up my config.yml in Notepad++ then all i get are little black NUL boxes all along the first line (CB 617)
     
  5. Offline

    SquallSeeD31

    Hmmm, that's interesting. I just opened up my packaged config.yml in npp and it worked fine, but anything could have happened. HeroicDeath will write its own config file though if it doesn't have one, so I'd recommend backing up your existing config file and letting it create a new one, then see if the problem persists.
     
  6. Offline

    JetlinerX

    One of my favorite plugins to this day!
     
  7. Offline

    thatguy25

    That worked, thanks :)
     
  8. Offline

    phondeux

    I get this error using either 1.7.3 or "Latest Jar Only"
    Code:
    2011-04-10 16:11:12 [SEVERE] ENTITY_DAMAGE (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGE
            at com.herocraftonline.squallseed31.heroicdeath.HeroicDeath.onEnable(Her
    oicDeath.java:69)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:79)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:60)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  9. Offline

    SquallSeeD31

    You are using an older build of cb, you need an older heroic death
     
  10. Offline

    phondeux

    I am an idiot; realized it about five minutes afterwards but haven't been able to get back to the message board until now. :(
     
  11. Offline

    killerbeez

    Any chance for a spam config? We use mcmmo and people keep jumping off cliffs to lvl an ability and it spams the chat, is there anyway to get an option to add a flood option for it. So like if they die 3 times within 1 minute, it will only show the first one. Or 5 mins, 20 seconds etc.
     
  12. Offline

    SquallSeeD31

    I'll consider that; thanks for being more specific with your request, it helps! =)
     
  13. Offline

    denace

    Hi, first, its a very nice plugin. Very funny!
    I have just one question. Is it possible to make the death-messages compatible with german letters like "ö,ä,ü,ß"?
     
  14. Offline

    SquallSeeD31

    All of those letters are included in the ISO-8859-1 (aka latin1) character set, which the death message file is encoded in, so see if your text editor is saving in UTF-8 and save in ISO-8859-1 instead and it should work.

    I may just change the character encoding to UTF-8 since I've received a lot of similar questions about internationalization, but I don't want to erroneously introduce characters that won't render properly in Minecraft. All yours will as long as you save in ISO-8859-1.
     
  15. Offline

    gpisic

    Awesome plugin!!!
     
  16. Offline

    SunyYun

    [​IMG]

    Does not 2byte support?(UTF-8)
     
  17. Offline

    SquallSeeD31

    Not presently, but it's a more and more popular feature, so I'm looking into adding it.
     
  18. Offline

    pyromanic

    Great addition to any server! Customization is usually always a good thing.
     
  19. Offline

    ZeeSquared

    Indeed! This is a fun plugin. Thanks! :)
     
  20. Offline

    valdark

    Working great on 677 thanks
     
  21. Does anybody have a config with a whole bunch of new messages? I have tried to make my own but its harder than I thought...
     
  22. Offline

    Teh_Bucket

    This is a great way to infuse personality into a server. I added some humorous ones if anyone would like them.

    Show Spoiler
    #This file contains custom messages for death events.
    #You can specify as many messages as you want (within reason) for each death type.
    #Just be sure each message is on a new line under the appropriate label.
    #When a player dies, a random message from the appropriate label is chosen.
    #Accepted variables:
    # - %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.
    #Custom item names may be defined in the 'heroicdeath.items' file.
    :drown
    %d drowned
    %d is swimming with the fishes
    %d took a long walk off a short pier
    %d really like hunting squid
    %d found Nemo
    :Cactus
    %d died stuck to a cactus
    %d poked a cactus, but the cactus poked back
    %d tried using aloe vera the hard way
    A cactus hugged %d
    :Fire
    %d burned to death
    %d forgot how to stop, drop and roll
    %d burned the place to the ground
    %d played with matches
    :Explosion
    %d has an explosive personality
    %d exploded
    %d thinks explosions are pretty
    Dynomite and %d don't mix
    :Creeper
    %d was creeper bombed
    %d hugged a creeper
    %d was creeped out
    %d was stalked by a creeper
    :Fall
    %d fell to their death
    %d took a leap of faith
    %d couldn't take life anymore
    %d thought the ground was closer than it was
    The fall didn't hurt %d the ground did
    :pVP
    %a killed %d wielding %i
    %a violently hurt %d with a %i
    %d doesn't like %a anymore because of the %i incident
    %a wants his %i back from the body of %d
    :Void
    %d fell into the Gap
    %d didn't mind the gap
    %d is floating off into space
    :Monsters
    %d was killed by an angry %a
    %d was mauled by a wild %a
    %d shouldn't have played with a %a
    :Lava
    %d was killed by lava
    %d became obsidian
    %d took a bath in a lake of fire
    %d was surprised by melted rock
    lava is now friends with %d
    :Other
    %d died from unknown causes
    %d was killed by Herobrine
    %d says What the Baloney?!?
    :Suffocation
    %d suffocated
    %d forgot to breath
    air is neccessary, %d
    :dispenser
    %d did not need a dispenser there.
    %d got shot by a dispenser.
    %d stepped on the wrong pressure plate.
     
  23. Offline

    Montag

    Working great so far for CB699!
     
  24. Offline

    SquallSeeD31

  25. Offline

    valdark

    I'm running on 706 without issues (haven't checked dev build yet but will give it a go)
     
  26. Offline

    ScottSpittle

    even though i've not touched config at all!
    21:18:59 [INFO] HeroicDeath: Improper color definition in config.yml, using default.
     
  27. Offline

    SquallSeeD31

    Which version of HeroicDeath, which version of CraftBukkit, and please pastebin/pastie your config.yml

    Thanks!
     
  28. Offline

    silvano

    As long as you're in dev. Is there any way to make a pvp kill show coords in-game. It would improve the amount of pvp on my server, y'know. Because people could actually find eachother

    like player1 ran into player2 at [x,y,z]?
     
  29. Offline

    SquallSeeD31

    Well, if you turn logging on, the coordinates will be saved to the log file, but there is currently no option to have the kill coordinates displayed in game. Although not *too* much thought was put into it, it was a conscious decision not to include the death coordinates, because the original design this plugin was built to did not include that and I wanted to keep the information as concise as possible.

    If there is sufficient demand for the feature, it could be easily added as an optional feature.
     
  30. Offline

    silvano

    Well thanks for considering. I hope it could be somehow included. It would improve the quality of pvp. One kill would make two other faction members come your way. Anyway, awesome plugin!
     
  31. Offline

    Trust518

    Thx for it :)
     

Share This Page