public interface IPlayerPostJoinEvent extends PartiesEvent
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
|
default boolean |
isInvited()
Deprecated.
|
getApi, setApi
@NotNull @NotNull PartyPlayer getPartyPlayer()
PartyPlayer
@NotNull @NotNull JoinCause getCause()
JoinCause
of the event@Deprecated default boolean isInvited()
true
if the player has been invited@Nullable @Nullable PartyPlayer getInviter()
PartyPlayer
of the inviter, null
if the player joined via join/ask commandCopyright © 2023. All rights reserved.