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!
@floory565
http:dev.bukkit.org/bukkit-plugins/custom-death-messages/#w-how-to-make-a-death-message
The color code must go first before your text.
Colours aren't working for me :/ So far I have only tried with anvil. Could you please look into this for me? :D
@bilybobby
There are no custom messages pre-installed with this plugin. Only the ones that are already in Minecraft. You have to input your own death messages in the appropriate txt files.
"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."
So I loaded this to my server and it seems to work ok. But once I changed the default text around for the death messages, the old messages still pop up even if I reload the server. No matter what I change it still says the death messages that came pre installed in your plugin.
@Blugga
Do you mean something like "PLAYER was killed while escaping KILLER"?
No this plugin isn't that complex.
Is it possible to see who shoot you in the void? or who shoot you after a fall?
Oh i must thought that meant it would just input nothing rather than cancel the message. thanks!
@ME1312
Read again. I even quoted it in one of my comments to you. And %no-default% goes on its own seperate line.
(sorry if i sound annoyed i worked on the each text file about 10 times before it worked correctly) I read that like a billion times, and still don't see it! It just wont read the file. also, the comment on here didn't space it out correctly. I get this every time (with changed usernames): "SaxoBullDog was slain by Chris_312" thats not even the correct words!
@ME1312
Please read How to make a death message more carefully. You will know why that doesn't work when you see it. However I do have a fix for that now but I haven't tested it yet.
It is, it is as so " %&Dark_Aqua&% %player% %&Dark_Green&% Was Murdered by %&Red&% %killer% %&Dark_Green&% With %&Yellow&% %weapon% %&Dark_Green&%! %no-default% " however I always get the default msg
@ME1312
Make sure the pvp.txt file is in the same folder as the rest of the .txt files. What are your death messages in your pvp.txt file? "Typing %weapon% will display the killer's weapon name. (Must have a named weapon or the message won't show)"
It did very well load, the other death msgs work like a charm. I don't know about my server host but my local server turned up same with java 8. I've tried naming the text file I made up as "pvp.txt" but the plugin refused to read it.
@ME1312
Does it even show it loading in the console? What version of Java is your server running on? I think I know the problem. I'll be rolling out an update soon. It's about time I need to do that.
@teej107 ya really, it wont generate on a private server, a public server, if the folders deleted, nothing! Not a single error message!
@ME1312
no pvp.txt? really? Are there errors in the console? If so PM them to me. Else reload the plugin/delete the CustomDeathMesseges folder and reload.
A PvP.txt isn't generating for me. I made one but what is it to be named?
Could you add a new feature to show the display name of mob which not the mob name?
@LegendaryAdmin
Color first, then killer. like this: %&RED&% %killer% This plugin doesn't support the weapons stats when you click on it.
EDIT: You can always PM me your death message txt file and I can tell you what is wrong.
@teej107
I have no plugins that interact with death messages, change player names, or weapon names. I think the issue is in the color codes. Are we able to change the %killer%'s name color sepperately from the death message color. So I want the killer's name and weapon to be gold, the killed player purple and the message grey lets say. How would that look?
And when the %weapon% is named, shouldn't we see the stats for it when we click on it in chat? Cuz I am not seeing sword stats atm. Thanks for the reply!