Class BungeePartiesPlayerPostLeaveEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
com.alessiodp.parties.api.events.bungee.player.BungeePartiesPlayerPostLeaveEvent
- All Implemented Interfaces:
IPlayerPostLeaveEvent,PartiesEvent
public class BungeePartiesPlayerPostLeaveEvent
extends BungeePartiesEvent
implements IPlayerPostLeaveEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBungeePartiesPlayerPostLeaveEvent(PartyPlayer player, Party party, LeaveCause cause, PartyPlayer kicker) -
Method Summary
Modifier and TypeMethodDescription@NotNull LeaveCausegetCause()Get the leave cause@Nullable PartyPlayerGet the kicker@NotNull PartygetParty()Get the party@NotNull PartyPlayerGet the player that left the partyMethods inherited from class com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
getApi, setApiMethods inherited from class net.md_5.bungee.api.plugin.Event
postCallMethods 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.IPlayerPostLeaveEvent
isKickedMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
BungeePartiesPlayerPostLeaveEvent
public BungeePartiesPlayerPostLeaveEvent(PartyPlayer player, Party party, LeaveCause cause, PartyPlayer kicker)
-
-
Method Details
-
getPartyPlayer
Description copied from interface:IPlayerPostLeaveEventGet the player that left the party- Specified by:
getPartyPlayerin interfaceIPlayerPostLeaveEvent- Returns:
- the
PartyPlayer
-
getParty
Description copied from interface:IPlayerPostLeaveEventGet the party- Specified by:
getPartyin interfaceIPlayerPostLeaveEvent- Returns:
- the
Party
-
getCause
Description copied from interface:IPlayerPostLeaveEventGet the leave cause- Specified by:
getCausein interfaceIPlayerPostLeaveEvent- Returns:
- the
LeaveCauseof the event
-
getKicker
Description copied from interface:IPlayerPostLeaveEventGet the kicker- Specified by:
getKickerin interfaceIPlayerPostLeaveEvent- Returns:
- the
PartyPlayerthat has kicked the player, returnsnullifIPlayerPostLeaveEvent.isKicked()returnsfalse
-