Class PlayerFirstSpawnEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.player.PlayerFirstSpawnEvent

public class PlayerFirstSpawnEvent 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

    Constructors
    Constructor
    Description
    PlayerFirstSpawnEvent(org.bukkit.entity.Player player, IArena arena, ITeam team)
    Called when a member is spawned for the first time on his island
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the arena
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
    Get the player
    Get the player's team

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerFirstSpawnEvent

      public PlayerFirstSpawnEvent(org.bukkit.entity.Player player, IArena arena, ITeam team)
      Called when a member is spawned for the first time on his island
  • Method Details

    • getArena

      public IArena getArena()
      Get the arena
    • getTeam

      public ITeam getTeam()
      Get the player's team
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Get the player
    • getHandlers

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

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