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
ConstructorDescriptionSubNetworkConnectEvent
(DataServer network, DataClient client) SubData Network Connect Event -
Method Summary
Modifier and TypeMethodDescriptionGet the connecting clientGet the network the client is trying to connect toboolean
Gets the Cancelled Statusvoid
setCancelled
(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:
isCancelled
in interfaceCancellable
- Returns:
- Cancelled Status
-
setCancelled
public void setCancelled(boolean value) Sets the Cancelled Status- Specified by:
setCancelled
in interfaceCancellable
-