Interface IPartyPostDeleteEvent
-
- All Superinterfaces:
PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPartyPostDeleteEvent,BungeePartiesPartyPostDeleteEvent,VelocityPartiesPartyPostDeleteEvent
public interface IPartyPostDeleteEvent extends PartiesEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description @NotNull DeleteCausegetCause()Get the delete cause@Nullable PartyPlayergetCommandSender()Get the player who performed the command@Nullable PartyPlayergetKickedPlayer()Get the kicked player@NotNull PartygetParty()Get the deleted partydefault @NotNull StringgetPartyName()Deprecated.use getParty() instead-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Method Detail
-
getPartyName
@Deprecated @NotNull default @NotNull String getPartyName()
Deprecated.use getParty() insteadGet the deleted party name- Returns:
- the name of the deleted party
-
getCause
@NotNull @NotNull DeleteCause getCause()
Get the delete cause- Returns:
- the
DeleteCauseof the delete
-
getKickedPlayer
@Nullable @Nullable PartyPlayer getKickedPlayer()
Get the kicked player- Returns:
- the
PartyPlayerof the kicked player, returnsnullif the delete cause isDeleteCause.DELETEorDeleteCause.TIMEOUT
-
getCommandSender
@Nullable @Nullable PartyPlayer getCommandSender()
Get the player who performed the command- Returns:
- the
PartyPlayerwho did the command, returnsnullif the delete cause isDeleteCause.TIMEOUT
-
-