public class BungeePartiesPlayerPostJoinEvent extends BungeePartiesEvent implements IPlayerPostJoinEvent
| Constructor and Description |
|---|
BungeePartiesPlayerPostJoinEvent(PartyPlayer player,
Party party,
JoinCause cause,
PartyPlayer inviter) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull JoinCause |
getCause()
Get the join cause
|
@Nullable PartyPlayer |
getInviter()
Get the inviter
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player that joined the party
|
getApi, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInvitedgetApi, setApipublic BungeePartiesPlayerPostJoinEvent(PartyPlayer player, Party party, JoinCause cause, PartyPlayer inviter)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostJoinEventgetPartyPlayer in interface IPlayerPostJoinEventPartyPlayer@NotNull public @NotNull Party getParty()
IPlayerPostJoinEventgetParty in interface IPlayerPostJoinEventParty@NotNull public @NotNull JoinCause getCause()
IPlayerPostJoinEventgetCause in interface IPlayerPostJoinEventJoinCause of the event@Nullable public @Nullable PartyPlayer getInviter()
IPlayerPostJoinEventgetInviter in interface IPlayerPostJoinEventPartyPlayer of the inviter, null if the player joined via join/ask commandCopyright © 2022. All rights reserved.