Class BungeePartiesPartyFollowEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
com.alessiodp.parties.api.events.bungee.unique.BungeePartiesPartyFollowEvent
- All Implemented Interfaces:
Cancellable,PartiesEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringGet the name of the server that the party will join into@NotNull PartygetParty()Get the partybooleanIs the event cancelled?voidsetCancelled(boolean cancel) Set the event as cancelledMethods inherited from class com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
getApi, setApiMethods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
Constructor Details
-
BungeePartiesPartyFollowEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()Description copied from interface:CancellableIs the event cancelled?- Specified by:
isCancelledin interfaceCancellable- Returns:
trueif the event is cancelled
-
setCancelled
public void setCancelled(boolean cancel) Description copied from interface:CancellableSet the event as cancelled- Specified by:
setCancelledin interfaceCancellable- Parameters:
cancel-trueto cancel
-
getParty
Get the party- Returns:
- the
Party
-
getJoinedServer
Get the name of the server that the party will join into- Returns:
- the name of the server
-