public interface IPartyPostDeleteEvent extends PartiesEvent
Modifier and Type | Method and Description |
---|---|
@NotNull DeleteCause |
getCause()
Get the delete cause
|
@Nullable PartyPlayer |
getCommandSender()
Get the player who performed the command
|
@Nullable PartyPlayer |
getKickedPlayer()
Get the kicked player
|
@NotNull Party |
getParty()
Get the deleted party
|
default @NotNull String |
getPartyName()
Deprecated.
use getParty() instead
|
getApi, setApi
@Deprecated @NotNull default @NotNull String getPartyName()
@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.TIMEOUT
Copyright © 2023. All rights reserved.