Class PlayerKilledPlayerEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.player.PlayerKilledPlayerEvent
public class PlayerKilledPlayerEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerKilledPlayerEvent
(org.bukkit.entity.Player killer, org.bukkit.entity.Player victim, Resident killerRes, Resident victimRes, org.bukkit.Location location, org.bukkit.event.entity.PlayerDeathEvent event) An event fired from a EventPriority.MONITOR listener. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
org.bukkit.Location
org.bukkit.event.entity.PlayerDeathEvent
org.bukkit.entity.Player
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerKilledPlayerEvent
public PlayerKilledPlayerEvent(org.bukkit.entity.Player killer, org.bukkit.entity.Player victim, Resident killerRes, Resident victimRes, org.bukkit.Location location, org.bukkit.event.entity.PlayerDeathEvent event) An event fired from a EventPriority.MONITOR listener. Do not use to un-kill someone or you're likely to cause issues with other plugins.
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getKiller
public org.bukkit.entity.Player getKiller() -
getVictim
public org.bukkit.entity.Player getVictim() -
getKillerRes
-
getVictimRes
-
getLocation
public org.bukkit.Location getLocation() -
getPlayerDeathEvent
public org.bukkit.event.entity.PlayerDeathEvent getPlayerDeathEvent()
-