Package com.winterhavenmc.library.messagebuilder.pipeline.sender


package com.winterhavenmc.library.messagebuilder.pipeline.sender
Defines the final dispatch stage in the message pipeline, responsible for delivering resolved and formatted messages to recipients.

This package abstracts different message delivery strategies, such as chat output or title overlays, using the Sender interface. Implementations are responsible for validating recipient types, formatting message content, and applying cooldown restrictions via a CooldownMap.

Key Components

  • Sender – A functional interface for sending messages to a recipient using a defined delivery channel.
  • MessageSender - Sends the message string to the chat interface of the recipient.
  • TitleSender - Displays the title and subtitle of the message as an overlay (if the recipient is a Player).

All implementations are expected to work with fully processed FinalMessageRecord instances and should not perform macro resolution or placeholder detection themselves.

See Also: