issues
search
Nopants
/
ScriptedEvents
Bukkit Plugin
1
stars
0
forks
source link
onDeath()
#6
Closed
Nopants
closed
13 years ago
Nopants
commented
13 years ago
Is triggered if a player dies.
Nopants
commented
13 years ago
done as onRespawn
Nopants
commented
13 years ago
onRespawn doesn't replace onDeath.
add cause of death
CONTACT - when died from a cactus
FALL - when died due to fall
FIRE - when died of fire
FIRE_TICK - when died because player was burning
LAVA - when died in lava
DROWNING/WATER - when died because player drowned in water
SUFFOCATION - when died because player was stuck in a block
EXPLOSION/ENTITY_EXPLOSION - when an explosion killed the player
VOID - when player died in the void
CREEPER - when player was killed by a creeper explosion
PVP/PLAYER - when player was killed by another player (pvp)
MOB/ENTITY - when player was killed by a mob
UNKNOWN - when player was killed without a reason - this is usually useless
Nopants
commented
13 years ago
done
Is triggered if a player dies.