Class VelocityPartiesPlayerPostJoinEvent
java.lang.Object
com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
com.alessiodp.parties.api.events.velocity.player.VelocityPartiesPlayerPostJoinEvent
- All Implemented Interfaces:
IPlayerPostJoinEvent,PartiesEvent
public class VelocityPartiesPlayerPostJoinEvent
extends VelocityPartiesEvent
implements IPlayerPostJoinEvent
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityPartiesPlayerPostJoinEvent(PartyPlayer player, Party party, JoinCause cause, PartyPlayer inviter) -
Method Summary
Modifier and TypeMethodDescription@NotNull JoinCausegetCause()Get the join cause@Nullable PartyPlayerGet the inviter@NotNull PartygetParty()Get the party@NotNull PartyPlayerGet the player that joined the partyMethods inherited from class com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
getApi, setApiMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.parties.api.events.common.player.IPlayerPostJoinEvent
isInvitedMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
VelocityPartiesPlayerPostJoinEvent
public VelocityPartiesPlayerPostJoinEvent(PartyPlayer player, Party party, JoinCause cause, PartyPlayer inviter)
-
-
Method Details
-
getPartyPlayer
Description copied from interface:IPlayerPostJoinEventGet the player that joined the party- Specified by:
getPartyPlayerin interfaceIPlayerPostJoinEvent- Returns:
- the
PartyPlayer
-
getParty
Description copied from interface:IPlayerPostJoinEventGet the party- Specified by:
getPartyin interfaceIPlayerPostJoinEvent- Returns:
- the
Party
-
getCause
Description copied from interface:IPlayerPostJoinEventGet the join cause- Specified by:
getCausein interfaceIPlayerPostJoinEvent- Returns:
- the
JoinCauseof the event
-
getInviter
Description copied from interface:IPlayerPostJoinEventGet the inviter- Specified by:
getInviterin interfaceIPlayerPostJoinEvent- Returns:
- the
PartyPlayerof the inviter,nullif the player joined via join/ask command
-