DeathMessages v1.12.0 [1.7-1.12]

Status
This thread has been locked.

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
04fa753240c40bc49b7c1eb0afa9e7420173039d


DeathMessages allows customization of a variety of different Death Message event broadcasts that occur when players die. Messages can be configured and support color codes, item hovering, viewing killer and dead player inventory at time of death, displaying various killer/dead player stats (health, kills, etc), and more.

This plugin is compatible and has been tested on Spigot versions #1649 and 1.8.3/7/8

b466fda42f6a08318da15f9200fe4f6c4fecfd81


DeathMessages comes packed with various features to set your server apart from others
  • Highly configurable and flexible message system
  • Configurable messages for specific monster deaths
  • Disable any unwanted death event broadcasts
    • Setting messages to blank lines disables broadcasts
  • Display Faction relation colors in broadcasts
  • Control who sees death messages
  • Allow players to toggle death messages
  • Inventory Snapshots - View player inventories at time of death
    • DeathMessages saves a players inventory when they die or kill somebody to allow viewing the players items at a later date
    • View player health, food, exp level, and any active potions at the time of death
  • Configure death messages for specific events
    • Ability to have a random message chosen per event
  • Hoverable weapon placeholders
  • Various placeholders for killer and dead health, kills, etc.

bd8641b6ea9484740ea713563f5c4ee834c6d9f9


Placeholders allow you to replace texts in your broadcasts with variables present at the time a player dies
  • [weapon] - Displays the weapons name or display name (if applicable)
  • as well as a hoverable icon display
  • [killer_kills] - Displays killers kills
  • [killer_deaths] - Displays killers deaths
  • [killer_name] - Displays killers real name
  • [killer_displayname] - Displays killers display name
  • [killer_health] - Displays killers health
  • [killer_faction_name] - Displays killer players Faction name
  • [dead_kills] - Displays dead players kills
  • [dead_deaths] - Displays dead players deaths
  • [dead_name] - Displays dead players real name
  • [dead_displayname] - Displays dead players display name
  • [dead_health] - Displays dead players health
  • [dead_faction_name] - Displays dead players Faction name

4a12cec47ad36a967561fdcd785bf61bd9a0c051


Permissions allow you to control how players interact with the plugin
  • deathmessages.command.inventory: Allow players to view inventory snapshots
  • deathmessages.command.reload: Allow players to use the /deathmessages reload subcommand
  • deathmessages.command.toggle: Allow players to use the deathmessages toggle subcommand
    • NOTE: Players also require the deathmessages.notify permission to use this subcommand
  • deathmessages.notify: Allow players to see death messages

091201b4db681c5cbd6be836aa3801f865fcb070


Fully customize your server to your exact liking
YAML:
#####################
#   DeathMessages   #
#      SainttX      #
#####################

# Various configurable settings related to the plugin
settings:
  # Whether or not to allow players to click the names of the
  # dead/killer player in death messages to view their inventory
  # at the time of death
  useCachedInventories: true
  # The amount of time until cached inventories are removed
  # from memory and will no longer be clickable in messages
  # This time is in seconds
  removeCachedInventoryAfter: 30
  # Whether or not the plugin should parse player names
  # and broadcast them to players displaying their faction
  # relation color. This feature will only work if FactionUUID
  # or if HCFactions are enabled on the server. It will throw
  # errors with any other versions of Factions.
  useFactionRelationColors: false
  # The title of the death inventory GUI
  guiTitle: "&c[player]'s Inventory"
  # A list of worlds to disable the plugin from broadcasting
  # messages in
  disabledWorlds:
  - "test_world1"
  - "test_world2"

# All configurable messages
# Various placeholders where applicable:
# [dead] - Replaced by messages.format.dead
# [killer] - Replaced by messages.format.killer
# [weapon] - Displays the weapons name or display name (if applicable)
#            as well as a hoverable icon display
# [killer_kills] - Displays killers kills
# [killer_deaths] - Displays killers deaths
# [killer_name] - Displays killers real name
# [killer_displayname] - Displays killers display name
# [killer_health] - Displays killers health
# [dead_kills] - Displays dead players kills
# [dead_deaths] - Displays dead players deaths
# [dead_name] - Displays dead players real name
# [dead_displayname] - Displays dead players display name
# [dead_health] - Displays dead players health
messages:
  # Any messages related to a player dying
  # NOTE: All messages.deathCause messages can be disabled by settings them to empty
  deathCause:
    contact: "[dead] was pricked to death"
    drowning: "[dead] drowned"
    drowningFighting: "[dead] drowned while trying to escape [killer]"
    enderpearl: "[dead] was killed while enderpearling"
    enderpearlFighting: "[dead] was killed while enderpearling away from [killer]"
    explosion: "[dead] blew up"
    fall: "[dead] hit the ground too hard"
    fallPushed: "[dead] was doomed to fall by [killer]"
    fallingBlock: "[dead] was squashed by a falling block"
    fighting: "[dead] was slain by [killer]"
    fightingArrow: "[dead] was shot by [killer]"
    fightingWeapon: "[dead] was slain by [killer] using [weapon]"
    fire: "[dead] went up in flames"
    lava: "[dead] tried to swim in lava"
    lavaPushed: "[dead] tried to swim in lava while trying to escape [killer]"
    lightning: "[dead] was struck by lightning"
    magic: "[dead] was killed by magic"
    mob:
      blaze: "[dead] was killed by a Blaze"
      cavespider: "[dead] was killed by a Cave Spider"
      enderman: "[dead] was killed by a Enderman"
      giant: "[dead] was killed by a Giant"
      pigzombie: "[dead] was killed by a Pig Zombie"
      skeleton: "[dead] was killed by a Skeleton"
      spider: "[dead] was killed by a Spider"
      witch: "[dead] was killed by a Witch"
      zombie: "[dead] was killed by a Zombie"
    poison: "[dead] was killed by poison"
    starvation: "[dead] starved to death"
    suffocation: "[dead] suffocated in a wall"
    suicide: "[dead] committed suicide"
    void: "[dead] fell out of the world"
    voidPushed: "[dead] fell out of the world while fighting [killer]"
    wither: "[dead] withered away"
  # Placeholder formats for [killer] and [dead]
  format:
    killer: "[killer_name] ([killer_kills])"
    dead: "[dead_displayname] ([dead_kills])"
  # Various error messages
  error:
    expired: "&cViewing this players inventory has expired"
    permission: "&cInsufficient permissions"
  # Miscellaneous messages
  misc:
    clickInfo: "&aClick to view players inventory snapshot"
    reload: "&aSuccessfully reloaded config.yml"
    toggleOn: "&aYou will now see death messages"
    toggleOff: "&cYou will no longer see death messages"


d9ffbf675f02a9ec9e6d2d6fd4d6619c2c039d26


79d9a06c112f965828165aad7776673daedee547

An example of a fully configured Death Message and the Item Hover feature

c417d5890ae7533b9db2f36ee8cada718f498fd4

Hoverable player names to indicate that they can view the players inventory snapshot

853588005a187f1672bf8c259b1dc8253de22a3a

Displaying Faction relation colors in message broadcasts

436b12aff0adbfdb804670fc9a84ac7e03e6e7b8

Viewing a players Inventory snapshot (this is what Keg's Inventory was at the exact moment he killed Thug)

Smf_Kgl9.png


This plugin (and any updates it receives) can be purchase for $4.99 at Spigot here: https://www.spigotmc.org/resources/deathmessages.11990/
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Tylerzz

Premium
Feedback score
13
Posts
959
Reactions
515
Resources
0
Nice plugin also whats the point in having the deads health, wouldn't the deads health always show as 0 lol.
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.3.0 Changelog:

Changes in this update:
  • Adds support for Faction relation colors
    • only supported/tested with:
      • Factions UUID v1.6.x.x (drtshock's Factions UUID)
      • HCFactions (drtshock's HCFactions)
    • set config.yml option 'settings.useFactionRelationColors' to true to use this feature
    • default relation color can be found in Factions' conf.json ("colorMember")
    • must use [dead_name] or [killer_name] for proper functioning as displayname may cause issues
    • Example:
      5fVkPaQ.png
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.3.1 Changelog:

Changes in this update:
  • Fixes attempted loading of FactionHelper when "settings.useFactionRelationColors" was undefined/false or if an incompatible version of Factions was found
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.3.2 Changelog:

Changes in this update:
  • Adds [dead_faction_name] placeholder
  • Adds [killer_faction_name] placeholder
  • Fixes NullPointerException when parsing relation colors
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.3.3-1.5.0 Changelog:
  • Added better error handling for fanciful item serialization
    • failed serialization will now output informative messages to console
  • Added config.yml option 'settings.disabledWorlds' to ignore message broadcasts in specific worlds
    • If you already have a generated config.yml file you will have to manually add this value (example below)
    • YAML:
      settings:
        disabledWorlds:
        - "test_world1"
        - "test_world2"
  • Fixes entity "names" not replacing [killer] variable properly
  • Adds per-monster messages for death by various monsters
    • Blaze (messages.deathCause.mob.blaze)
    • Cave Spider (messages.deathCause.mob.cavespider)
    • Enderman (messages.deathCause.mob.enderman)
    • Giant (messages.deathCause.mob.giant)
    • Pig Zombie (messages.deathCause.mob.pigzombie)
    • Skeleton (messages.deathCause.mob.skeleton)
    • Spider (messages.deathCause.mob.spider)
    • Witch (messages.deathCause.mob.witch)
    • Zombie (messages.deathCause.mob.zombie)
  • Fixes death messages by Skeleton and Witch
  • Adds death message entries for death by enderpearl
    • 'messages.deathCause.enderpearl'
    • 'messages.deathCause.enderpearlFighting'
  • Adds icons to death inventory to showcase players statistics
    • Health, Food Level, Experience Level, and Active Potions are currently displayed
    • mP69mAQ.png
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.6.0-1.7.0 Changelog:
  • Adds config.yml entry to edit GUI title
    • respective path is 'settings.guiTitle'
    • [player] placeholder will be replaced by the inventory owners name
    • Example:
      Smf_Kgl9.png
  • Fixes faction tags being disabled when 'settings.useFactionRelationColors' was set to false
  • Fixes 'settings.guiTitle' not being included in default config.yml
  • Adds config.yml value 'settings.disableVanillaMessages' to toggle disabling of vanilla Minecraft death broadcasts
  • Adds config.yml value 'settings.ignoreWhenDeadInventoryEmpty' to ignore players who die with an empty inventory
 
Last edited:

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.8.0 Changelog:
  • Adds config.yml option 'settings.broadcastRadius' that sets a configurable radius for messages
    • Setting to -1 will disable
    • Messages will not be sent to players in other worlds
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
DeathMessages v1.9.0 Changelog:
  • Added message entry 'messages.deathCause.fightingArrowWeapon'
    • Supports the [weapon] placeholder for deaths by arrow/bow
  • Removed command alias /dm
 

Shattered

old-timer
Supreme
Feedback score
5
Posts
3,486
Reactions
2,059
Resources
0
Good suggestion would be a to have a player send message, so then instead of it broadcasting to the entire server, it just says 'You were killed by' or 'You killed'
 

Stylez

Server Owner & World Painter
Premium
Feedback score
3
Posts
725
Reactions
240
Resources
0
Looks Very nice. GLWS
 

jackskate

Setups & Configuration Specialist
Supreme
Feedback score
51
Posts
2,857
Reactions
975
Resources
0
Seems awesome! Good luck!
 

saint

IPVP.ORG
Premium
Feedback score
2
Posts
86
Reactions
87
Resources
0
Missed a few updates:

DeathMessages v1.9.1 Changelog:
  • Fixes NumberFormatException when trying to parse potion effects with too low level

DeathMessages v1.10.0 Changelog:
  • Adds [distance] placeholder to death messages to display distance between killer and dead player
  • Adds configuration option 'settings.showSelfDeaths' to toggle displaying messages when a player kills themselves
  • Adds a section in the configuration to edit the material/appearance of the health, food, exp, and potion icons in the death inventory
  • Adds the option to add entity types that aren't already defined to the config
    • ie. If a message is not defined for a player being killed by wolf, add entry 'messages.deathCause.mob.wolf'
    • Valid entity types are here (must be entered as lowercase in the config)
  • Fixes the 'Click to view inventory' message when inventory snapshots are disabled

DeathMessages v1.11.0 Changelog:
  • Update fanciful to support Minecraft version 1.10

DeathMessages v1.12.0 Changelog:
  • Deprecates usage for legacy servers
    • Servers that do not have the ChatComponent API packaged will be broken
  • Usage of external library fanciful has been replaced by the ChatComponent API
    • Please report any inconsistencies with chat message format or color!
  • Fixes death inventory view not displaying certain stat icons when their amounts are 0
 
Status
This thread has been locked.
Top