Class BukkitPartiesPlayerPostJoinEvent
java.lang.Object
org.bukkit.event.Event
com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
com.alessiodp.parties.api.events.bukkit.player.BukkitPartiesPlayerPostJoinEvent
- All Implemented Interfaces:
IPlayerPostJoinEvent,PartiesEvent
public class BukkitPartiesPlayerPostJoinEvent
extends BukkitPartiesEvent
implements IPlayerPostJoinEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionBukkitPartiesPlayerPostJoinEvent(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.bukkit.BukkitPartiesEvent
getApi, getHandlerList, getHandlers, setApiMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods 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
-
BukkitPartiesPlayerPostJoinEvent
public BukkitPartiesPlayerPostJoinEvent(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
-