public class BukkitPartiesPlayerPostJoinEvent extends BukkitPartiesEvent implements IPlayerPostJoinEvent
Constructor and Description |
---|
BukkitPartiesPlayerPostJoinEvent(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, getHandlerList, getHandlers, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isInvited
getApi, setApi
public BukkitPartiesPlayerPostJoinEvent(PartyPlayer player, Party party, JoinCause cause, PartyPlayer inviter)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostJoinEvent
getPartyPlayer
in interface IPlayerPostJoinEvent
PartyPlayer
@NotNull public @NotNull Party getParty()
IPlayerPostJoinEvent
getParty
in interface IPlayerPostJoinEvent
Party
@NotNull public @NotNull JoinCause getCause()
IPlayerPostJoinEvent
getCause
in interface IPlayerPostJoinEvent
JoinCause
of the event@Nullable public @Nullable PartyPlayer getInviter()
IPlayerPostJoinEvent
getInviter
in interface IPlayerPostJoinEvent
PartyPlayer
of the inviter, null
if the player joined via join/ask commandCopyright © 2023. All rights reserved.