Class PlayerReJoinEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.proxy.api.event.PlayerReJoinEvent

public class PlayerReJoinEvent
extends org.bukkit.event.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private CachedArena arena  
    private static org.bukkit.event.HandlerList HANDLERS  
    private org.bukkit.entity.Player player  
  • Constructor Summary

    Constructors 
    Constructor Description
    PlayerReJoinEvent​(org.bukkit.entity.Player player, CachedArena arena)
    Called when a player rejoins an arena.
  • Method Summary

    Modifier and Type Method Description
    CachedArena getArena()
    Get arena.
    static org.bukkit.event.HandlerList getHandlerList()
    Bukkit stuff.
    org.bukkit.event.HandlerList getHandlers()
    Bukkit stuff.
    org.bukkit.entity.Player getPlayer()
    Get player.

    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
  • Field Details

    • HANDLERS

      private static final org.bukkit.event.HandlerList HANDLERS
    • player

      private org.bukkit.entity.Player player
    • arena

      private CachedArena arena
  • Constructor Details

    • PlayerReJoinEvent

      public PlayerReJoinEvent​(org.bukkit.entity.Player player, CachedArena arena)
      Called when a player rejoins an arena. This is called before sending him to the server.
      Parameters:
      player - player.
      arena - arena.
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Get player.
      Returns:
      player.
    • getArena

      public CachedArena getArena()
      Get arena.
      Returns:
      arena.
    • getHandlers

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

      public static org.bukkit.event.HandlerList getHandlerList()
      Bukkit stuff.
      Returns:
      handlers.