Interface PermissionResult


public interface PermissionResult
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<net.kyori.adventure.text.Component>
    Gets the result message.
    Gets the
    invalid reference
    FlagResultType
    of flag action.
    default boolean
    A simple helper method to determine if the ClaimResult was a success.
  • Method Details

    • getResultType

      ResultType getResultType()
      Gets the
      invalid reference
      FlagResultType
      of flag action.
      Returns:
      The result type
    • getMessage

      Optional<net.kyori.adventure.text.Component> getMessage()
      Gets the result message. Note: normally this is set during event cancellations.
      Returns:
      The result message, if available
    • successful

      default boolean successful()
      A simple helper method to determine if the ClaimResult was a success.
      Returns:
      Whether the claim result was a success