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