Interface IPlayerPostJoinEvent
-
- All Superinterfaces:
PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPlayerPostJoinEvent,BungeePartiesPlayerPostJoinEvent,VelocityPartiesPlayerPostJoinEvent
public interface IPlayerPostJoinEvent extends PartiesEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description @NotNull JoinCausegetCause()Get the join cause@Nullable PartyPlayergetInviter()Get the inviter@NotNull PartygetParty()Get the party@NotNull PartyPlayergetPartyPlayer()Get the player that joined the partydefault booleanisInvited()Deprecated.-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Method Detail
-
getPartyPlayer
@NotNull @NotNull PartyPlayer getPartyPlayer()
Get the player that joined the party- Returns:
- the
PartyPlayer
-
getCause
@NotNull @NotNull JoinCause getCause()
Get the join cause- Returns:
- the
JoinCauseof the event
-
isInvited
@Deprecated default boolean isInvited()
Deprecated.Has been invited?- Returns:
trueif the player has been invited
-
getInviter
@Nullable @Nullable PartyPlayer getInviter()
Get the inviter- Returns:
- the
PartyPlayerof the inviter,nullif the player joined via join/ask command
-
-