Interface ChatMatchHandler

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 interface ChatMatchHandler
Functional interface for handling chat pattern matches.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a chat message matches a registered pattern.
  • Method Details

    • onMatch

      void onMatch(ChatMatch match)
      Called when a chat message matches a registered pattern.
      Parameters:
      match - The match data containing the original message and captured groups