public interface IPlayerPostLeaveEvent extends PartiesEvent
Modifier and Type | Method and Description |
---|---|
@NotNull LeaveCause |
getCause()
Get the leave cause
|
@Nullable PartyPlayer |
getKicker()
Get the kicker
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player that left the party
|
default boolean |
isKicked()
Deprecated.
use getCause() instead
|
getApi, setApi
@NotNull @NotNull PartyPlayer getPartyPlayer()
PartyPlayer
@NotNull @NotNull LeaveCause getCause()
LeaveCause
of the event@Deprecated default boolean isKicked()
true
if the player has been kicked@Nullable @Nullable PartyPlayer getKicker()
PartyPlayer
that has kicked the player, returns null
if isKicked()
returns false
Copyright © 2023. All rights reserved.