Interface IPartyPostDeleteEvent

All Superinterfaces:
PartiesEvent
All Known Implementing Classes:
BukkitPartiesPartyPostDeleteEvent, BungeePartiesPartyPostDeleteEvent, VelocityPartiesPartyPostDeleteEvent

public interface IPartyPostDeleteEvent extends PartiesEvent
  • Method Details

    • getParty

      @NotNull @NotNull Party getParty()
      Get the deleted party
      Returns:
      the deleted Party
    • getPartyName

      @Deprecated @NotNull default @NotNull String getPartyName()
      Deprecated.
      use getParty() instead
      Get the deleted party name
      Returns:
      the name of the deleted party
    • getCause

      @NotNull @NotNull DeleteCause getCause()
      Get the delete cause
      Returns:
      the DeleteCause of the delete
    • getKickedPlayer

      @Nullable @Nullable PartyPlayer getKickedPlayer()
      Get the kicked player
      Returns:
      the PartyPlayer of the kicked player, returns null if the delete cause is DeleteCause.DELETE or DeleteCause.TIMEOUT
    • getCommandSender

      @Nullable @Nullable PartyPlayer getCommandSender()
      Get the player who performed the command
      Returns:
      the PartyPlayer who did the command, returns null if the delete cause is DeleteCause.TIMEOUT