Class SubNetworkDisconnectEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Bungee.Event.SubNetworkDisconnectEvent
All Implemented Interfaces:
SubEvent

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

  • Method Details

    • getNetwork

      public DataServer getNetwork()
      Get the network the client is disconnecting from
      Returns:
      SubData Network
    • getClient

      public DataClient getClient()
      Get the disconnecting client
      Returns:
      Client
    • getReason

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