public interface IPartyPreDeleteEvent extends PartiesEvent, Cancellable
| Modifier and Type | Method and Description |
|---|---|
@NotNull DeleteCause |
getCause()
Get the cause of delete
|
@Nullable PartyPlayer |
getCommandSender()
Get the player who performed the command
|
@Nullable PartyPlayer |
getKickedPlayer()
Get the kicked player
|
@NotNull Party |
getParty()
Get the party that is getting cancelled
|
getApi, setApiisCancelled, setCancelled@NotNull @NotNull Party getParty()
Party@NotNull @NotNull DeleteCause getCause()
DeleteCause of the delete@Nullable @Nullable PartyPlayer getKickedPlayer()
PartyPlayer of the kicked player, returns null
if the delete cause is DeleteCause.DELETE or
DeleteCause.TIMEOUT@Nullable @Nullable PartyPlayer getCommandSender()
PartyPlayer who did the command, returns
null if the delete cause is DeleteCause.TIMEOUTCopyright © 2022. All rights reserved.