Class SubNetworkDisconnectEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Bungee.Event.SubNetworkDisconnectEvent
- All Implemented Interfaces:
SubEvent
SubData Network Disconnect Event
-
Constructor Summary
ConstructorDescriptionSubNetworkDisconnectEvent
(DataServer network, DataClient client, DisconnectReason reason) SubData Network Disconnect Event -
Method Summary
Modifier and TypeMethodDescriptionGet the disconnecting clientGet the network the client is disconnecting fromGet the reason the client disconnected
-
Constructor Details
-
SubNetworkDisconnectEvent
SubData Network Disconnect Event
-
-
Method Details
-
getNetwork
Get the network the client is disconnecting from- Returns:
- SubData Network
-
getClient
Get the disconnecting client- Returns:
- Client
-
getReason
Get the reason the client disconnected- Returns:
- Disconnect Reason
-