Class SubNetworkConnectEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Bungee.Event.SubNetworkConnectEvent
- All Implemented Interfaces:
Cancellable,SubEvent
SubData Network Connect Event
-
Constructor Summary
ConstructorsConstructorDescriptionSubNetworkConnectEvent(DataServer network, DataClient client) SubData Network Connect Event -
Method Summary
Modifier and TypeMethodDescriptionGet the connecting clientGet the network the client is trying to connect tobooleanGets the Cancelled StatusvoidsetCancelled(boolean value) Sets the Cancelled Status
-
Constructor Details
-
SubNetworkConnectEvent
SubData Network Connect Event
-
-
Method Details
-
getNetwork
Get the network the client is trying to connect to- Returns:
- SubData Network
-
getClient
Get the connecting client- Returns:
- Client
-
isCancelled
public boolean isCancelled()Gets the Cancelled Status- Specified by:
isCancelledin interfaceCancellable- Returns:
- Cancelled Status
-
setCancelled
public void setCancelled(boolean value) Sets the Cancelled Status- Specified by:
setCancelledin interfaceCancellable
-