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, setApi
public boolean isCancelled()
Cancellable
isCancelled
in interface Cancellable
true
if the event is cancelledpublic void setCancelled(boolean cancel)
Cancellable
setCancelled
in interface Cancellable
cancel
- true
to cancel@NotNull public @NotNull String getJoinedServer()
Copyright © 2023. All rights reserved.