Interface ClientSendMessageEvents.CommandCanceled

Enclosing class:
ClientSendMessageEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ClientSendMessageEvents.CommandCanceled
  • Method Details

    • onSendCommandMessageCanceled

      void onSendCommandMessageCanceled(String command)
      Called when sending a command is canceled with ClientSendMessageEvents.ALLOW_COMMAND. The command string does not include a slash at the beginning.
      Parameters:
      command - the command that is being sent to the server, without a slash at the beginning.