Interface IPartyPostDeleteEvent

    • Method Detail

      • 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
      • 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