Interface IPartyPostDeleteEvent
- All Superinterfaces:
PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPartyPostDeleteEvent,BungeePartiesPartyPostDeleteEvent,VelocityPartiesPartyPostDeleteEvent
-
Method Summary
Modifier and TypeMethodDescription@NotNull DeleteCausegetCause()Get the delete cause@Nullable PartyPlayerGet the player who performed the command@Nullable PartyPlayerGet the kicked player@NotNull PartygetParty()Get the deleted partydefault @NotNull StringDeprecated.use getParty() insteadMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Method Details
-
getParty
Get the deleted party- Returns:
- the deleted
Party
-
getPartyName
Deprecated.use getParty() insteadGet the deleted party name- Returns:
- the name of the deleted party
-
getCause
Get the delete cause- Returns:
- the
DeleteCauseof the delete
-
getKickedPlayer
Get the kicked player- Returns:
- the
PartyPlayerof the kicked player, returnsnullif the delete cause isDeleteCause.DELETEorDeleteCause.TIMEOUT
-
getCommandSender
Get the player who performed the command- Returns:
- the
PartyPlayerwho did the command, returnsnullif the delete cause isDeleteCause.TIMEOUT
-