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

    Jandalf

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

    BigBlueGER

    Can I use item names as new kill label?
    Like
    :TNT
    %d blown up.
    :fists
    %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

    SquallSeeD31

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

    NotoriousPyro

    This is broken in build 568.
    Code:
    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(HeroicDeath.java:67)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:453)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:203)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:190)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:130)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:245)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    Edit: Just saw your post about the dev build, scratch this...
     
    cengbrecht likes this.
  6. Offline

    Kainzo

    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

    cengbrecht

    Fixed the issues for me! :)

    Craftbukkit 571 and HeroicDeath 1.6.2
     
  8. Offline

    HanzoSanada

    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: http://pastie.org/1716667

    Plugins:
    Code:
    Achievements
    BankAccount
    BigBrother
    BorderGuard
    Colorme
    CBUptoDate
    Essentials
    GroupManager
    HeroicDeath
    HeroSneak
    iChat
    iConomy
    iSee
    LWC
    mcMMO
    Multiverse
    PreciousStones
    RealShop
    SignColours
    SlowHealth
    Spawnr
    Stats
    Towny
    VEGETATION
    War
    WorldEdit
    WorldGuard
    I have no idea what other info I should include....

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

    SquallSeeD31

    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

    HanzoSanada

    Alright TY i'll try it.
     
  11. Offline

    OrtwinS

    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

    SquallSeeD31

    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

    Greylocke

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

    SquallSeeD31

    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: http://dl.dropbox.com/u/1131502/HeroicDeath/plugins/HeroicDeath-DEV.jar

    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

    Greylocke

    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

    NynjaWitay

    The DEV version works for me with CB602
     
  17. Offline

    cengbrecht

    600 here, and it works great!
     
  18. Offline

    SquallSeeD31

    KoryuObihiro likes this.
  19. Offline

    MineralMC

    Excellent. Thank you, SquallSeeD.
     
  20. Offline

    jeffreylec

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

    [​IMG]

    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

    SquallSeeD31

    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

    jeffreylec

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

    Fright01

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

    SquallSeeD31

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

    Fright01

    xD didn't see it
     
  26. Offline

    tremor

    Is the HeroicDeathToCraftIRC up to date?
     
  27. Offline

    SquallSeeD31

    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

    deadlock989

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

    SquallSeeD31

    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

    EwMeep

    Squall!
    You're awesome <3
    Ew
     

Share This Page