Class SubNetworkDisconnectEvent

java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubNetworkDisconnectEvent
All Implemented Interfaces:
SubEvent

public class SubNetworkDisconnectEvent extends Event implements SubEvent
SubData Network Disconnect Event
  • Constructor Details

    • SubNetworkDisconnectEvent

      public SubNetworkDisconnectEvent(DataClient network, DisconnectReason reason)
      SubData Network Disconnect Event
  • Method Details

    • getNetwork

      public DataClient getNetwork()
      Get the SubData network
      Returns:
      SubData Network
    • getReason

      public DisconnectReason getReason()
      Get the reason the client disconnected
      Returns:
      Disconnect Reason
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()