Custom Death Messages
Version 2.03
This plugin will give you the option to create custom death messages. You can have more than one death message for each type of death. If you have multiple death messages for one death, it will choose one at random.
This plugin supports deaths from:
Supported deaths are from the DeathCauses and EntityTypes that Bukkit includes. You can see a lists here under "Enum Constant Summary"
Other death causes include:
- Ground - When you die from a fall 5 blocks or less.
Command
- /deathcause <true/false> -Show or hide death cause on death. This does not replace the death message.
- - Permissions: customdeathmessages.deathcause
Use the deathcause command before a death if you don't know what death .txt file to use.
Setup
- Put the plugin in the plugin folder
- Reload the plugins
- The plugin will automatically create .txt files for each death type.
- To make a death message, write at the next available line in the file.
How to make a death message
Type the message in the respective death's .txt file.
- Typing took an arrow to the knee will show up as <player name> took and arrow to the knee
- Having
###
at the beginning of each death message will prevent the killed player's name from automatically showing at the beginning.
###
Such a beautiful day to get blown up by a creeper! will display as Such a beautiful day to get blown up by a creeper!
- Typing %player% will display the killed players name.
was exploded by a green monster. %player% got creepered! will display as <player name> was exploded by a green monster. <player name> got creepered!
- Putting %no-default% on a single line in your text file will prevent the original message from being randomly selected
PvP
- Typing %killer% will display the killer's name. (Will only show if a player was killed by another player)
- Typing %weapon% will display the killer's weapon name. was brutally murdered by %killer% using his %weapon%! will display as <player name> was brutally murdered by <killer's name> using his <killer's weapon name>!
Text Formatting
- To change the message's color or text formatting, use the Minecraft color codes except with '§' as '&'. Ex: &3
&cthis message will be red. That message will be in red.
Note:
- Each death message cannot take up more than one line.
- See http:minecraft.gamepedia.com/Server#Death_messages for a more accurate description of the deaths.
- Please delete the old CustomDeathMessages plugin so they don't conflict with this new one.
- The old death messages .txt files are no longer in use. The new ones will be generated in a new folder "Death Messages" inside of the CustomDeathMessages plugin folder.
- Support for the "other" color codes were removed. Use the Minecraft color codes except with '§' as '&'. Ex: &3
- Some .txt files may be unused with default Minecraft. However some other plugins may use those death types associated with the txt file. To see what kind of text file to use for a certain type of death, see the command.
- You do not need to reload the plugins after editing a death message text file!
does not work
@teej107:
Is there any way to set this up with GroupManager, so that members of a certain rank (who have coloured names) who get killed have that colour displayed in the death message? I have seen it done before but not necessarily using this plugin.
Like I said, it's important that it is only players of a certain group/rank have a coloured name upon death :)
EDIT: although I'd still like this, I have a Vanilla workaround if it isn't possible.
@floory565
Thanks! I updated those links. To answer your question: Even though new things have been added to the game (like shulker), the way to get all the entity types and damage causes didn't change.
Hey man, been using this plugin since launch!
Anyway, I observed that the release date of the latest download was back in 2014, so my question to you is: how come there are 1.9-related death .txt files (like shulker)?
Thanks in advance!
Edit: It seems as though you need to update the Death Causes links:
Entity Type: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html DamageCause: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
Used these links to figure out everything else that I needed, but still curious in regards to my original question! :P
@Hackzilla_2
Are you sure you are using the right death? Is the plugin loading?
Hi! I followed the instructions, but the death messages don't play
@Ebins
It should.
Is this compatible with 1.8.8?
Recieving an error since with suicides:
http://pastebin.com/3Fc7fuak
Is this something I can fix from my end?
Thanks for the update! For some reason though, /suicide is being read as a 'ground' death.
@TiTech1
You have to install the plugin and then reload or restart the server. The txt files will be in the Custom Death Messages folder.
Where are the txt files?
@anqin1995
Nevermind, I figured out how to do it. Just set encoding to UTF-8.
This plugin is great since it automatically supports newest mobs and death causes which other plugins don't. However I would kindly ask if you could add non-ascii character support for death messages. Now it shows question mark when I entered non-ascii characters in the txt document. Thank you in advance!
@iJoeyMonster
Are you using the most updated version? Are you sure you put the right message in the appropriate file? Are there any other plugins that you are using? They may conflict with the plugin.
The custom death messages don't work for Creepers. When someone is blown up by a creeper it just says the person fell out of the world. My version is 1.7.10.
@gecko16300
No
Hello, is it possible to use the color of the team (set by /scoreboard teams option team color color) for the player name ? How ?
@Dadus2000
Are you using the latest version? Post one of your files with the colors that aren't working.
I've got a problem... For some reason my colored messages don't work. They only show up as normal, non-colored messages.