Class SubRemoveHostEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Bungee.Event.SubRemoveHostEvent
- All Implemented Interfaces:
Cancellable
,SubEvent
Host Remove Event
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()
Gets the Host to be RemovedGets the player that triggered the Eventboolean
Gets the Cancelled Statusvoid
setCancelled
(boolean value) Sets the Cancelled Status
-
Constructor Details
-
SubRemoveHostEvent
Host Remove Event- Parameters:
player
- Player Adding Serverhost
- Host to be added
-
-
Method Details
-
getHost
Gets the Host to be Removed- Returns:
- The Host to be Removed
-
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
-