CustomDeathMessages (CDM) v1.7.2

Customizable Death Messages

  1. Elementeral
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Contributors:
    Pseudo
    [​IMG]

    CustomDeathMessages
    is a lightweight, but highly customizable plugin. It comes with default messages, which you can modify, delete, or add any of your own messages. All you have to do is install the plugin, and everything is all set to go! (Works on all versions 1.8 to 1.16)

    Features
    • Toggleable and configurable messages sent to the victim and the killer for PvP deaths
    • Toggleable and configurable global death messages.
    • All death messages (natural causes, mobs, and players) all have their own spot in config which is configurable with multiple messages.
    • Custom entities get their own messages! (toggleable)
    • Update checker which sends a message when the plugin has an update
    • Toggleable lightning effect when a player is killed.
    • Customizable percent chance for a player to drop their head on death. (Customizable head name)
    • Extensive and very customizable config, see the example below.
    • Built-in placeholders, feel free to request any to be added.
    • In-Game command to change any messages with ease.
    • Hex colors for all messages, to use, use &#hex
    • Toggleable feature where hovering over a message shows the original message.
    • Toggle feature where hovering over the kill-weapons name will display an item tooltip.

    Commands and Permissions

    CDM Command:
    • /cdm reload - allows you to reload config after making a change.
    • permission: cdm.reload

    • /cdm add [path] [new message] - allows you to add messages to config from a command, the 'path' tab autocompletes, so no need to go looking in config.
    • permission: cdm.add.message

    • /cdm list [path] - lists the messages for a death message cause, and numbers them which allows you to delete certain messages.
    • permission: cdm.list

    • /cdm remove [path] [number] - allows you to delete messages from config, the path is tab completed and the number is the number of the message you want to delete, obtainable from /cdm list.
    • permission: cdm.remove.message

    • /cdm toggle [path] - allows you to toggle features in config. The path is tab completed.
    • permission: cdm.remove.message
    IMPORTANT: Use of the command will delete all comments in the config, due to spigot's API. If you need comments, it is suggested you edit messages manually.

    Update Checker:
    • permission: cdm.updates
    • allows players with this permission to receive a message when a plugin update is available.
    You can contact me on my discord - Smoke#8238

    config.yml:
    Code (YAML):
    # Enable Update Messages: Toggles update messages on or off.
    enable-update-messages
    : true

    # To use hex colors: &#hex
    # PvP Messages only for when  a player is killed by another player, enabled by default
    # Placeholders for pvp messages: %victim%, %victim-nick%, %killer%, %killer-nick%, %killer-x%, %killer-y%, %killer-z%, %victim-x%, %victim-y%, %victim-z%
    enable-pvp-messages
    : true
    killer-message
    : '&e[&cDeathMessages&e] &eYou killed &c%victim%'
    victim-message
    : '&e[&cDeathMessages&e] &eYou were killed by &c%killer%'

    # Toggleable features: set true to enable, false to disable. All features except lightning-effect are false by default.
    # Drop Head Percentage: self explanatory, chance of a player head to drop, [0 = 0%, 1 = 100%] 0.5 by default.
    # Do Lightning: creates a lightning effect that will not harm or damage anything when the victim is killed. True by default.
    # Head Name: Sets the name of a head whenever dropped from a player.
    head-name
    : "&c%victim%'s Head"
    do-lightning
    : true

    # Number between 0 and 1
    drop-head-percentage
    : 0.5

    # Enable Global Messages: self explanatory, enables global death messages.
    enable-global-messages
    : true

    # Original Hover Message: Show the original death message when hovering over the custom message.
    original-hover-message
    : false

    # You can add messages or remove any of these messages. Toggleable by boolean above.
    # This chooses a death message at random. You may add %kill-weapon% to any line in killed-death-messages.
    # Placeholders for melee messages: %victim%, %victim-nick%, %killer%, %killer-nick%, %kill-weapon%, %killer-x%, %killer-y%, %killer-z%, %victim-x%, %victim-y%, %victim-z%
    # Enable Item Hover: When hovering over the kill-weapons name, it will display the items enchantments, etc.
    enable-item-hover
    : false
    global-pvp-death-messages
    :
       - "&c%victim% &ehas been killed by &c%killer%"
        - "&c%victim% &ewas slain by &c%killer% &eusing &7[&b%kill-weapon%&7]"
        - "&c%victim% &ehas been put down by &c%killer%"
        - "&c%victim% &ewas slaughtered by &c%killer% &eusing &7[&b%kill-weapon%&7]"
        - "&c%killer% &epulverized &c%victim% &eusing &7[&b%kill-weapon%&7]"
        - "&c%victim% &ewas destroyed by &c%killer%&e"
        - "&c%killer% &egave &c%victim% &ethe L"
        - "&c%victim% &ewas EZ clapped by &c%killer% &eusing &7[&b%kill-weapon%&7]"

    # Placeholders for melee messages: %victim%, %victim-nick%, %killer%, %killer-nick%, %killer-x%, %killer-y%, %killer-z%, %victim-x%, %victim-y%, %victim-z%
    melee-death-messages
    :
       - "&c%victim% &ewas slapped by &c%killer%"
        - "&c%victim% &ewas KO'd &c%killer%"
        - "&c%victim% &egot rocked by &c%killer%"
       
    # Messages for entities with custom names. Will override their mob group message and display these instead, if enabled.
    # Placeholders: %victim%, %victim-nick%, %entity-name%, %victim-x%, %victim-y%, %victim-z%
    enable-custom-name-entity-messages
    : true
    custom-name-entity-messages
    :
       - "&c%victim% &egot rocked by a %entity-name%"
        - "&c%victim% &ewas put to sleep by %entity-name%"
        - "%entity-name% &eate &c%victim%'s &esoul"
        - "&c%victim% &ewish he didn't fight %entity-name%"

    # Placeholders for ALL below messages: %victim%, %victim-nick%, %victim-x%, %victim-y%, %victim-z%
    fall-damage-messages
    :
       - "&c%victim% &emade himself a pancake on the ground"
        - "&c%victim% &efell from a high spot"
       
    drowning-messages
    :
       - "&c%victim% &efound out the hard way he doesn't have gills"
        - "&c%victim% &ethought he could make it to oxygen in time"  

    suffocation-messages
    :
       - "&c%victim% &ecouldn't catch his breath while in a block"
        - "&c%victim% &ecouldn't breathe while inside of a block"
     
    lava-messages
    :
       - "&c%victim% &eburned up in a pit of lava"
        - "&c%victim% &efell into a lava pool... say goodbye to his items"
     
    magma-block-messages
    :
       - "&c%victim% &ewas removed by a hot &6&lmagma block... &ejust crouch?"
        - "&c%victim%'s &efeet were made into bacon by a &6magma block"  
     
    elytra-messages
    :
       - "&c%victim% &eflew into a wall and died...?"
        - "&c%victim% &egot slammed into a wall by his elytra"

    wither-messages
    :
       - "&c%victim% &egot the wither disease"
        - "&c%victim% &ewithered away to the 4th dimension"
     
    suicide-messages
    :
       - "&c%victim% &ekilled himself"
        - "&c%victim% &ehad a mental breakdown and died"
     
    fire-messages
    :
       - "&c%victim% &edecided to stand in the fireplace"
        - "&c%victim% &eplayed with fire"
     
    fire-tick-messages
    :
       - "&c%victim% &ecaught on fire and did not stop, drop, and roll"
     
    starvation-messages
    :
       - "&c%victim% &eforgot to eat"
        - "&c%victim%'s &emom said we have food at home"
     
    cactus-messages
    :
       - "&c%victim% &ewas poked to death"
        - "&c%victim% &edied to a &a&lcactus"
     
    potion-messages
    :
       - "&c%victim% &edied of black magic"
        - "&c%victim% &edied of coronavirus"
     
    void-messages
    :
       - "&c%victim% &ethought it would be fun to take a trip in the void"
     
    lightning-messages
    :
       - "&c%victim% &ewas smitten by the gods"
        - "&c%victim% &ewas struck down by the gods"
     
    falling-block-messages
    :
       - "&c%victim% &ewas crushed by a falling block"
     
    slime-messages
    :
       - "&c%victim% &ewas crushed by a &a&lGIANT SLIME"
        - "&c%victim% &ewas slimed to death while collecting slime balls"
     
    zombie-messages
    :
       - "&c%victim% &ewas eaten alive by a &a&lZombie"
        - "&c%victim% &ethought a &a&lZombie &ewas friendly"

    pigman-messages
    :
       - "&c%victim% &eaggroed the &d&lPigmen, &eso they ate him"
     
    skeleton-messages
    :
       - "&c%victim% &egot sniped by a bony &f&lSkeleton"
        - "&c%victim% &egot shot by a &f&lskeleton"

    magmacube-messages
    :
       - "&c%victim% &egot crushed by a &c&lGIANT MAGMA CUBE"
     
    husk-messages
    :
       - "&c%victim% &egot eaten by a dessert dweller AKA a Husk"
     
    spider-messages
    :
       - "&c%victim% &etried his luck against his worst fear... &c&lA SPIDER!"
     
    cavespider-messages
    :
       - "&c%victim% &egot bitten to death by a &c&lCave Spider"
     
    witherskeleton-messages
    :
       - "&c%victim% &egot destroyed by a &f&lWither Skeleton &ewith a stone sword"
     
    witherboss-messages
    :
       - "&c%victim% &egot his head blown off by the Wither"
     
     
    dragon-messages
    :
       - "&c%victim% &egot his guts ripped out by the &d&lEnder Dragon"
     
    elderguardian-messages
    :
       - "&c%victim% &etried to clear a ocean monument but the &7&lElder Guardian &esaid no"
     
    tnt-messages
    :
       - "&c%victim% &egot his head blown off by &c&lTNT"
     
    creeper-messages
    :
       - "&c%victim% &egot blown up by a &a&lCreeper Ahhhh Man"
     
    ghast-messages
    :
       - "&c%victim% &egot fireballed by a &f&lGhast"
     
    enderman-messages
    :
       - "&c%victim% &elooked an &d&lEnderman &ein the eyes"
     
    silverfish-messages
    :
       - "&c%victim% &egot eaten by a &7&lSilverfish"
     
    witch-messages
    :
       - "&c%victim% &edied to a &d&lWitch named Scarlett"
     
    shulker-messages
    :
       - "&c%victim% &edied trying to get some &d&lshulker &eshells"
     
    guardian-messages
    :
       - "&c%victim% &egot killed by a &7&lGuardian... &esomehow?"
     
    golem-messages
    :
       - "&c%victim% &emade an &7&lIron Golem &emad"
     
    zombievillager-messages
    :
       - "&c%victim% &ewas made dinner of by a &a&lZombie Villager"
     
    endermite-messages
    :
       - "&c%victim% &egot eaten by the &d&lEndermans &ehater, an &d&lEndermite"
     
    phantom-messages
    :
       - "&c%victim% &ewas kidnapped by a &3&lPhantom"
     
    drowned-messages
    :
       - "&c%victim% &ewent for a late night swim and got eaten by a &b&lDrowned Zombie"
     
    pillager-messages
    :
       - "&c%victim% &egot shot by a &7&lPillager"

    ravager-messages
    :
       - "&c%victim% &egot rammed by a &7&lRavager"

    illusioner-messages
    :
       - "&c%victim% &ewas sent to the illusion world by an Illusioner"
     
    bee-messages
    :
       - "&c%victim% &ewas stung by a &lBEE"
     
    wolf-messages
    :
       - "&c%victim% &ewas ripped apart by a &f&lwolf"
        - "&c%victim% &eprovoked a &f&lwolf"
     
    llama-messages
    :
       - "&c%victim% &ewas spit to death by a Llama"
        - "&c%victim% &ecould not handle being spat on by a Llama"
     
    blaze-messages
    :
       - "&c%victim% &ewas charred by a &6&lblaze"
        - "&c%victim% &ewas turned into charcoal by a &6&lblaze"
     
    stray-messages
    :
       - "&c%victim% &ewas domed by a stray"
     
    vex-messages
    :
       - "&c%victim% &ewas eaten by a tiny flying (and annoying) &f&lvex"
     
    vindicator-messages
    :
       - "&c%victim% &ewas hunted down by a &f&lvindicator"
        - "&c%victim% &efound Johnny... a &f&lvindicator?"
     
    pufferfish-messages
    :
       - "&c%victim% &ewas pricked by an expanding sea cactus... please re-evalute your life"
     
    polar-bear-messages
    :
       - "&c%victim% &ewas murdered by a nice &f&lpolar bear... &ewhich means he hit it! (someone kill him)"
        - "&c%victim% &egot turned to snow by a &f&lpolar bear"
     
    dolphin-messages
    :
       - "&c%victim% &eprovoked a nice dolphin... what did they do to you?"
        - "&c%victim% &ehit a dolphin and they retaliated"
     
    panda-messages
    :
       - "&c%victim% &ewas made into a pandas dinner"
        - "&c%victim% &etried stealing a pandas bamboo"
     
    piglin-messages
    :
       - "&c%victim% &emet his maker against the new piglins"
        - "&c%victim% &emade the piglins mad. I mean, we warned you, don't steal from them..."
        - "&c%victim% &emissed the old zombie pigmen so he took his anger out on a piglin... and lost"

    hoglin-messages
    :
       - "&c%victim% &ewas charged by a hoglin, kind of rude?"
        - "&c%victim% &edidn't read patch notes about hoglins"
     
    zoglin-messages
    :
       - "&c%victim% &eate a zoglins horn for dinner"
        - "&c%victim% &ewas rammed by a zoglin"
     
    zombified-piglin-messages
    :
       - "&c%victim% &etook a piglin to the overworld and was murdered by their new, not so friendly pet"
        - "&c%victim% &edied to a transformed piglin"

    # This is for any messages that haven't been added, so if you die to a cause which doesn't have any messages,
    #  one of these messages will display instead. (Please report any missing messages in my spigot discussion)
    unknown-messages
    :
       - "&c%victim% &edied to unknown causes"
        - "&c%victim% &edied"
        - "&c%victim% &ewas killed"
     
    # The following messages only apply to projectiles shot by a mob, and not a player
    fireball-messages
    :
       - "&c%victim% &ewas fireballed until he burnt to death"
     
    arrow-messages
    :
       - "&c%victim% &elooked like a porcupine after getting shot to death"

    # Only here to help me debug my plugin, not suggested you enable.
    developer-mode
    : false
     
    Kingakis and Arstotzko like this.

Recent Reviews

  1. kktw
    kktw
    5/5,
    Version: v1.7.2
    **********************************
    thank your plugin is good
    *********************************
    can support PlaceholderAPI?
    i want use %_prefix% %_suffix%
    1. Elementeral
      Author's Response
      Sure, I’ll add support for it hopefully by next update!
  2. HavenMC
    HavenMC
    5/5,
    Version: v1.6.3
    There is the rest then there is the best. This one, hands down the winner. Thanks for the updates!
    1. Elementeral
      Author's Response
      Appreciate the kind words. Really made my day a lot better after everything that happened today, and I hope you have a great day! <3
  3. PatrickGamer
    PatrickGamer
    5/5,
    Version: v1.6.3
    bro this is so amazing! Thank you for being for free :)

    Is there a way to display invenotry of the killer and killed placeholder ?
    1. Elementeral
      Author's Response
      Of course, and to answer your question, as of now, there isn't a placeholder that does so :( It may be coming in the future, so stay tuned!
  4. dishit
    dishit
    5/5,
    Version: v1.6.2
    Hey man genuinely awesome plugin. But i wanted add a suggestion, I was wondering if we can hover over the custom death message and it tells us the vanilla death? I was asking since my server is an smp we have inside joke in our death messages and the new player get confused by it lol. But other than this plugin is amazing!
    1. Elementeral
      Author's Response
      Sure, expect this feature by the next update! If you have my other feature requests, hit my discord. Smoke#8238
  5. fighellboy
    fighellboy
    5/5,
    Version: v1.6.0
    the best Death messages plugin of all!..............................80 characters
    1. Elementeral
      Author's Response
      Thanks, this means a lot to me!
  6. CroaBeast
    CroaBeast
    5/5,
    Version: v1.5.4
    I can confirm, that this plugin is awesome. Works perfectly and very customizable. Will be great if it has RGB support and the creator make an announcer plugin for 1.16.1
    I will give 6 stars but Spigot wouldn't let me do it
    1. Elementeral
      Author's Response
      I already had plans to include hex color support! Expect to see it soon. What do you mean by announcer plugin? If you can tell me on my discord I could look into it. Smoke#8238
  7. Kingakis
    Kingakis
    5/5,
    Version: v1.5.3
    Compatible con discordsrv, craftbukkit, actualizado y cumple su funcion exacta simple muy recomendado.
    1. Elementeral
      Author's Response
      Gracias por la revisión, si hay algo que desea agregar, ¡hágamelo saber!
  8. RodriGamer35
    RodriGamer35
    5/5,
    Version: v1.5.2
    Excellent plugin, you could add as a suggestion to be able to change the title of the heads...
    1. Elementeral
      Author's Response
      Can do! Expect this in the next update
  9. D1N60
    D1N60
    5/5,
    Version: v1.4.2
    Completely IDIOTPROOF! plugin. Super easy to use! Thanks! I look forward to the nickname update :D
    1. Elementeral
      Author's Response
      Of course, just let me know if you want anything else!
  10. iron.app
    iron.app
    5/5,
    Version: v1.4.2
    This is awesome! Thank you very much for this useful plugin, 10/10 would recommend to anyone.
    1. Elementeral
      Author's Response
      Thanks! I really appreciate nice reviews :)