DeathMessages (DeathMessagesPrime Remastered) 1.3.4

Allows the formatting of all death messages

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

    DeathMessages
    is a remastered version of DeathMessagesPrime by @CosmoConsole. It is a simple-to-use plugin that is extremely customizable via configs. You are able to completely change any and all death messages in Minecraft till the latest version.

    This new version DeathMessages1.0.0 is a beta build. It is the brand new version of this plugin. If there are issues or things that I failed to add in the new remastered plugin. Join my discord and make a DeathMessages ticket. Be sure to assign yourself a role in #roles!

    If you have a major issue with the remastered version, just revert back to DeathMessagesPrime in the versions tab above till your issue is resolved.

    My Discord: https://discord.gg/K9zVDwt

    CraftBukkit is NOT supported. Please use Spigot instead. This plugin requires the BungeeCord API for messages, which is not present on CraftBukkit.

    Commands and Permissions:

    [​IMG]

    More about /dm edit

    /dm edit <player> <mobName> <solo, gang> <damage-type> <add, remove, list> (remove only=Placeholder)
    1. <player> is the config type. Just player for now, this will allow you to change other configs in the future
    2. <mobName> - tab completed. So use the mob names I have in the tab-complete.
    3. <solo, gang> - change the messages in solo or gang
    4. <Damage-type> - tab completed. Define what damage message you want to change.
    5. <add, remove, list> - Add - will make you type in chat a new message. Remove - will require an extra argument which placeholder message you want to remove. (See placeholders with List) List - Lists all the messages in your search query with placeholders in front of them to use Remove.
    6. (remove only=Placeholder) - the placeholder of the message your removing.

    Hooks:
    You can use any placeholder in death messages if you have the plugin installed.
    Available placeholders:
    - %deathmessages_messages_enabled%
    - %deathmessages_is_blacklisted%

    If installed and enabled in your settings.yml, you can flag regions with my custom region flags.
    All of my region flags are set to ALLOW by default.
    Current Flags:
    - broadcast-deathmessage-player
    - broadcast-deathmessage-mobs
    - broadcast-deathmessage-natural
    - broadcast-deathmessage-tameable

    Settings any of these flags to DENY will not broadcast the death message in the region you specify these flags.

    Requires https://www.spigotmc.org/resources/discordbotapi.86518/
    Once you created the bot and are ready to go, configure your channel values in your settings.yml and enable the hook.
    Restart the server.
    Enjoy DiscordBotAPI support :D

    Requires https://www.spigotmc.org/resources/discordsrv.18494/
    Once you created the bot and are ready to go, configure your channel values in your settings.yml and enable the hook.
    Restart the server.
    Enjoy DiscordSRV support :D


    Key Features:
    • Hex color support (Use it as so: #2332d)
    • Multiple configs loaded with comments for easy configuration
    • Gangs (if there x amount of x mob within the player's radius, it will classify as a gang kill) (Configurable)
    • All messages are text components. Meaning you can build them how you want with hover text and click actions.
    • completely customization of the mobs and damage type messages. (See FAQ for more info)
    • Configurable expire mob damage. If the specified time runs out after a mob interacted with a player, it will be a natural death.
    • Customize message handle if the weapon used to kill a player is not custom
    • Default To config option: "weapon kills will default to a defined kill if the weapon does not have a custom display name"
    • World Group customization
    • Disabled Worlds list
    • Per-World-Messages
    • Tameable mob kills messages. (Player x has killed Player y's dog) (With a hoverable message fo the tamable animal's name)
    • Multiple Death messages for each death cause.
    • A whole bunch of placeholders you can use that comes with the plugin. (See PlayerDeathMessages.yml for a list of them)
    • Much more... Play around in the configs :D
    FAQ:
    "invalid character, unacceptable code point, special characters are not allowed..."
    - You must save the file as UTF-8. I cannot tell you how to do that because there are a million text editors. Please check google or search around in your editor on how to save as UTF-8

    "ClassNotFoundException: net.md_5.bungee.api..."
    - Your not using a build if spigot or a similar fork. All the messages are text components and need the bungee chat API to create them.

    "Can you add xx to the plugin?"
    - Yes, I will. Under some circumstances. Join my discord https://discord.gg/K9zVDwt and assign yourself the @DeathMessages Role on #roles and create a support ticket. I'll be with you as soon as possible.

    "You didn't add xx to the remastered plugin..."
    - I purposely did not add some features to the new plugin because I think some were not needed and never used. However, there are some things I still need to add that are a necessity to you, I just still need to add them and work out any bugs that are in the new plugin. If you think there is a feature I didn't add and think I probably won't add it. Join my discord and make a ticket :D

    This list will be updated...

    API:
    Events:

    BroadcastDeathMessageEvent (Called when the death message is being broadcasted.

    • getPlayer() returns the victim player
    • getLivingEntity() returns the killer entity
    • getTextComponent() returns the TextComponent death message.
    • isGangDeath() returns true or false if the kill was a gang related kill.
    • getBroadcastedWorlds() returns a ArrayList of worlds that the message was broadcasted to.
    • getMessageType() - returns MessageType (PLAYER, MOB, NATURAL, TAMEABLE)
    BroadcastTameableDeathMessageEvent (Called when the death message is being broadcasted.
    • getPlayer() returns the killer
    • getOwner() returns the owners username of the tameable mob
    • getTameable() returns the tameable mob that was killed
    • getTextComponent() returns the TextComponent death message.
    • getBroadcastedWorlds() returns a ArrayList of worlds that the message was broadcasted to.
    • getMessageType() - returns MessageType (PLAYER, MOB, NATURAL, TAMEABLE)
    PlayerManager - Calling this class returns a bunch of useful information.
    • player, uuid, username, displayname
    • messagesEnabled - boolean
    • isBlacklisted - boolean
    • getLastDamage - DamageCause
    • getLastEntityDamager - Entity
    • getLastExplosiveEntity - Entity
    • getLastProjectileEntity - Projectile
    • getLastClimbing - Material
    • getLastLocation - Location
    DeathMessages.getEventPriority() - returns the event priority set in the settings.yml

    Note from Joshb_:
    "I will no longer be supporting updates on DeathMessagesPrime. I won't delete the old files tho. Pretty soon the new plugin will be up to date and will no longer need it. I also will be removing all the addons when they are all added to the main plugin. If you have any questions, please don't hesitate and join my discord. AND ASSIGN YOUR ROLE in #roles.

    Thanks :D and as always, please report bugs to me in my discord. Don't leave them in the reviews. I may ignore it.

    Language translations by other downloaders:

    PlayerDeathMessages.yml



    [​IMG]

    DeathMessagesPrime
    is a simple-to-use but still versatile death message plugin. It allows to freely format and modify all death messages in Minecraft to date.

    Note from the new author Joshb_: Hello all, excited to take over this project. I will bring a new version for you soon. However, I need to make my current plugins stable until I fully work on this project. I will be picking away at it here and there in between my current projects. In the meantime, the former author did a decent job making it usable in all new plugin versions.

    Join my discord if you have suggestions or problems. Some of the users already joined and are doing a good job helping each other out.

    https://discord.gg/K9zVDwt




    CraftBukkit is NOT supported. Please use Spigot instead. This plugin requires the BungeeCord API for messages, which is not present on CraftBukkit.

    Want to...
    • ...change the death message for someone being blown up a creeper?
    • ...have multiple different death message choices depending on whether people die from a short or long fall?
    • ...add a custom message only for one of your VIP players for dying after being shoved into the void?
    No problem, this plugin can handle all of those cases.

    Commands
    /dmsg allows to reload the configuration. The permission node deathmessagesprime.reload controls the ability to do so. Further, the command without any parameters will display the plugin version and available commands, if the player has the deathmessagesprime.version permission.

    /toggledeathmsg allows players to toggle displaying death messages to themselves, with the deathmessagesprime.toggle permission. Note that this permission is originally for OPs only, which is not what you may want.

    The plugin also has a debug mode which can be enabled from the configuration to aid solving conflicts.

    Examples of some versatile features of this plugin:

    • Allows distinguishing between non-named and named mobs in death messages and displaying forms of them in the death messages.
    • Separates normal and elder Guardians.
    • Supports CrackShot (kind of)
    • Allows to disable PVP and non-PVP messages in specific worlds
    • A world group feature to display death messages in a specific world in its group only
    • Multiple death messages for each reason
    • Biome in death messages
    • Distinguishes between short and long fall kills (like Minecraft does, compare "hit the ground too hard" and "fell from a high place")
    • Allows to specify death messages when 'pushed' by a mob or player
    • Allows changing lightning/enderpearl death messages (same in vanilla Minecraft as fire tick/fall messages)
    • Supports player display names in messages
    • Custom messages for mobs with specific names, per regex (therefore support for custom bosses)
    • Supports item tooltips for when the weapon is displayed in a message
    • Death messages within a radius and 1&1 (only killer and victim receives the message) for PVP deaths
    • heart-compat-mode for plugins that may display a health bar as the mob name
    • API for getting the death message, addons with events and custom tag support (with javadocs)

    Common problems/questions & solutions
    Hearts appear in the death message instead of the mob's name
    Enable heart-compat-mode from within the configuration file (from false to true).


    Adding multiple death messages so that one is picked at random
    Simply add multiple death messages under a specific reason (adding further messages with the same hyphen-first syntax). The plugin will pick one of the messages at random upon a death.


    Various conflicts with compat-mode on or off
    If you're a plugin developer and you modify the death message in PlayerDeathEvent, make sure your plugin's event priority is less than HIGHEST, which is the priority DMP uses to detect and solve conflicts.

    If you are a server administrator, you should contact the developers of both plugins, if possible. DMP so far has a fairly advanced mechanism for detecting conflicts, but it's not perfect.


    Add support for plugin X!
    You should ask the developer of plugin X: DMP has an API. In fact, no API whatsoever is needed, as long as the other plugin uses the standard setDeathMessage via PlayerDeathEvent on any priority lower than HIGHEST, and no extra DMP features (such as messages within DMP configs) are needed. For plugins that check on MONITOR, you can try DMPMonitorCompat.

    invalid character, unacceptable code point, special characters are not allowed...
    Use a text editor that supports UTF-8. Most modern editors and even some older ones should support it (note that Notepad does not fully support it, unless you are on Windows 10 May 2019 or above). If your editor does support it, make sure you're saving the file as UTF-8 (the exact steps depend on your text editor). You should not save with BOM (byte order mark), but without it.

    ClassNotFoundException: net.md_5.bungee.api...
    You are likely running CraftBukkit, which is not supported by this plugin. Please migrate to Spigot instead.

    %weapon_name%, %weapon% display ???

    This happens if you are using them in unsupported messages. Out of PVP messages, only PlayerCustom, PlayerTridentCustom and PlayerProjectileCustom support these two placeholders. The rest are FallKillWeapon, FallFinishKillWeapon, and under mob messages everything ending in Custom.

    These Custom messages are used whenever the weapon used for the kill has a custom name, while the messages without %weapon% are used for hand kills or kills made with weapons without custom names.

    You can make the plugin use the Custom messages, with %weapon%, for the latter by enabling show-custom-death-msg-on-all-weapons. Hand kills will still use the messages without %weapon%.


    Official & featured plugins
    The plugins below may require DeathMessagesPrime or provide extra functionality if it is installed.
    greydayz, Roxgemode64, Flak and 15 others like this.

Recent Updates

  1. 1.3.4
  2. 1.3.3
  3. 1.3.2

Recent Reviews

  1. zfms4188
    zfms4188
    5/5,
    Version: 1.3.3
    This is a nice plugin, but I am currently running bungee, do you have any plans to make it support bungee? XD
    1. Joshb_
      Author's Response
      Yes at some point
  2. Kenneh
    Kenneh
    5/5,
    Version: 1.3.3
    This is a great and very customizable plugin, I have an issue though if you could help, for some reason when the %weapon% is a bow, it doesn't display properly for 1.16.5
  3. Ronin_2d
    Ronin_2d
    5/5,
    Version: 1.3.0
    I have really enjoyed customizing the death messages, but now they aren't showing up. How do I activate them on my server?
    Amazing plugin, Keep up the great work!
    1. Joshb_
      Author's Response
  4. Ananim353
    Ananim353
    4/5,
    Version: 1.2.5
    Please add editing variables like% world_environment%. It looks strange when in sentences in one language I meet words in another
    1. Joshb_
      Author's Response
      I already did, look in messages.yml at the bottom
  5. gapibyte
    gapibyte
    5/5,
    Version: 1.2.4
    The plugin is really easy and fun to use. But the only problem I have is that I can't figure out how to add end crystal kill like: "player" was killed by "player" using an end crystal. Can you help me out with that?
    1. Joshb_
      Author's Response
  6. fffilm
    fffilm
    5/5,
    Version: 1.2.4
    I love this plug-in, can I move it to www.mcbbs.net? I will mark the original link, download only from here, and do Chinese translation
    1. Joshb_
  7. AWEChess1
    AWEChess1
    5/5,
    Version: 1.2.2
    This is an excellent plugin and a must-have if you want a quick and easy way to customize the Vanilla death messages. Works perfectly!
  8. AfkF24
    AfkF24
    5/5,
    Version: 1.2.2
    Amazing continuation of the resource and great updates! Keep up the good work! :)
  9. sadasdasda412332
    sadasdasda412332
    5/5,
    Version: 1.1.8
    You can update to add plugin functionality, for example if I kill someone then the dashboard will give me something that I configure in the plugin file or a command I configure in the plugins fil.
    1. Joshb_
      Author's Response
      Due to the language barrier, maybe have a friend translate for you? I really don't understand what this means. Thanks for the review tho
  10. lordamani
    lordamani
    5/5,
    Version: 1.1.7
    I just downloaded and it's so easy to setup and use... I really love it 10/10. Recommended