main/Death Messages Setup

CRITICAL NOTE:

In the current version of Bukkit, it is impossible to differentiate between certain scenarios and others, thus the mob_fireball.txt file I do not believe will work, but you can always try it (would only work for Blazes and Ghasts at best though). The others should work fine however.

If you are new to MineReaper Death Messages, please read ALL of the text in it's entirety. I will no longer be helping people who have not read how to set these things up.


Aliasing

An alias is a shortcut to a game variable that you can insert into your custom death messages.

AliasDescription
%pThe player that was killed.
%eThe enemy who killed the player. This can be a mob or a player. (Does not work for some kills currently, like creeper explosions as it is not currently possible in the current Bukkit version to differentiate between a creeper blowing them up vs. a ghast blowing them up, etc.)
%iThe item the enemy player was holding when they killed the player. (pvp_shot.txt, pvp_slain.txt ONLY)

Examples

So let's use an example for creating a death message in the pvp_shot.txt file, I would add:

  • %p took an arrow to the knee from %e

Here is another example for pvp_slain.txt:

  • %p was killed by %e with %i

Note: It's very important that you put each death message on it's own line!


File Descriptions

Note: If you leave out the %p alias, the death message will not display the name of the player who was killed.

FileDescriptionSupported Aliases
block_exploded.txtIs used for block explosion deaths, like TNT killed a player.%p
cactus.txtSelf explanatory.%p
dispenser.txtThis file supports death messages where the player is shot by arrows from a dispenser.%p
drowned.txtAgain self explanatory.%p
fell.txtSelf explanatory.%p
fire_block.txtThese death messages are called for example when a player dies standing on a block of burning nether rock.%p
fire_effect.txtThese death messages are called when the player burns to death.%p
lava.txtCalled when the player dies in lava.%p
mob_exploded.txtCalled when a mob explodes and kills the player.%p
mob_fireball.txtSupposed to be called when a Fireball from Ghast/Blaze kills the player (may not be working, see notes)%p, %e
mob_shot.txtCalled when a player is killed by a mob's ranged attack.%p, %e
mob_slain.txtCalled when a mob melee's a player to death.%p, %e
potion_of_harming.txtCalled when a player is killed by a potion of harming (dispenser or drinking).%p
pvp_killed.txtCalled when a player is pvp killed by Potion of Harming.%p, %e
pvp_shot.txtCalled when a player is killed by another player's bow attack.%p, %e, %i
pvp_slain.txtCalled when a player is killed by another player in melee combat.%p, %e, %i
starvation.txtCalled when a player starves to death.%p
suffocation.txtCalled when a player suffocates.%p
suicide.txtCalled when a player kills themself (i.e. - with Potion of Harming).%p
unknown_death.txtCalled in place of the <Player> died message.%p
void.txt"Called when a player dies in the void.%p

Note: Some plugins come with their own kill commands and custom death messages, such as Essentials /kill command, in these cases, MineReaper will not use it's own custom death message for that command.

Note 2: You will know if an alias is supported or not because when a player dies in game and an unsupported alias is used, it will actually display the alias (%e for example).


Comments

Posts Quoted:
Reply
Clear All Quotes