public class BungeePartiesPartyFollowEvent extends BungeePartiesEvent implements Cancellable
| Constructor and Description |
|---|
BungeePartiesPartyFollowEvent(Party party,
String joinedServer) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getJoinedServer()
Get the name of the server that the party will join into
|
@NotNull Party |
getParty()
Get the party
|
boolean |
isCancelled()
Is the event cancelled?
|
void |
setCancelled(boolean cancel)
Set the event as cancelled
|
getApi, setApipublic boolean isCancelled()
CancellableisCancelled in interface Cancellabletrue if the event is cancelledpublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true to cancel@NotNull public @NotNull String getJoinedServer()
Copyright © 2023. All rights reserved.