Class SubStartEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Bungee.Event.SubStartEvent
- All Implemented Interfaces:
Cancellable
,SubEvent
Server Start Event
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the player that triggered the EventGets the Server Effectedboolean
Gets the Cancelled Statusvoid
setCancelled
(boolean value) Sets the Cancelled Status
-
Constructor Details
-
SubStartEvent
Server Start Event- Parameters:
player
- Player Starting Serverserver
- Server Starting
-
-
Method Details
-
getServer
Gets the Server Effected- Returns:
- The Server Effected
-
getPlayer
Gets the player that triggered the Event- Returns:
- The Player that triggered this Event or null if Console
-
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
-