Class TeamEliminatedEvent

java.lang.Object
org.bukkit.event.Event

public class TeamEliminatedEvent extends MatchEvent
Called when a GameTeam is fully eliminated from a match (all its members have been killed and it has no bed to respawn from).
  • Constructor Details

    • TeamEliminatedEvent

      public TeamEliminatedEvent(Match match, GameTeam eliminatedTeam, GamePlayer eliminatingPlayer)
  • Method Details

    • getEliminatedTeam

      public GameTeam getEliminatedTeam()
      Returns:
      the team that was fully eliminated.
    • getEliminatingPlayer

      public GamePlayer getEliminatingPlayer()
      Returns:
      the player who dealt the final kill, or null if environmental.
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class MatchEvent
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()