Class GameEndEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.GameEndEvent

public class GameEndEvent extends org.bukkit.event.Event
  • Constructor Details

  • Method Details

    • getWinners

      public List<UUID> getWinners()
      Get a list of winners including eliminated teammates
    • getTeamWinner

      public ITeam getTeamWinner()
      Get the winner team
    • getLosers

      public List<UUID> getLosers()
      Get a list with people who played and didn't win. This includes people who leaved the game etc.
    • getArena

      public IArena getArena()
      Get the arena
    • getAliveWinners

      public List<UUID> getAliveWinners()
      Get a list of winners. Teammates killed by final kill excluded.
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

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