Uses of Record Class
com.winterhavenmc.library.messagebuilder.model.language.FinalMessageRecord
Packages that use FinalMessageRecord
Package
Description
Provides interfaces and data models that represent entries from the plugin's
language YAML file.
Provides support for message rate limiting through a cooldown mechanism.
Defines the final stage in the message processing pipeline, responsible for converting a structured
ValidMessageRecord
into a fully resolved
FinalMessageRecord
.Defines the final dispatch stage in the message pipeline, responsible for delivering
resolved and formatted messages to recipients.
-
Uses of FinalMessageRecord in com.winterhavenmc.library.messagebuilder.model.language
Methods in com.winterhavenmc.library.messagebuilder.model.language that return FinalMessageRecordModifier and TypeMethodDescriptionValidMessageRecord.withFinalStrings
(String finalMessageString, String finalTitleString, String finalSubTitleString) Creates aFinalMessageRecord
using the current record data, combined with finalized message, title, and subtitle strings after macro resolution. -
Uses of FinalMessageRecord in com.winterhavenmc.library.messagebuilder.pipeline.cooldown
Methods in com.winterhavenmc.library.messagebuilder.pipeline.cooldown with parameters of type FinalMessageRecordModifier and TypeMethodDescriptionvoid
CooldownMap.putExpirationTime
(Recipient.Sendable recipient, FinalMessageRecord messageRecord) Registers a new cooldown expiration time for the given message and recipient. -
Uses of FinalMessageRecord in com.winterhavenmc.library.messagebuilder.pipeline.processor
Methods in com.winterhavenmc.library.messagebuilder.pipeline.processor that return FinalMessageRecordModifier and TypeMethodDescriptionMessageProcessor.process
(ValidMessageRecord messageRecord, MacroObjectMap macroObjectMap) Processes aValidMessageRecord
by replacing all macros in its fields using the providedMacroObjectMap
.Processor.process
(ValidMessageRecord messageRecord, MacroObjectMap macroObjectMap) Processes a valid message record by replacing all macros using the provided macro object map. -
Uses of FinalMessageRecord in com.winterhavenmc.library.messagebuilder.pipeline.sender
Methods in com.winterhavenmc.library.messagebuilder.pipeline.sender with parameters of type FinalMessageRecordModifier and TypeMethodDescriptionvoid
MessageSender.send
(Recipient.Sendable recipient, FinalMessageRecord messageRecord) Sends a chat message to the specified recipient if the message is enabled and contains content.void
Sender.send
(Recipient.Sendable recipient, FinalMessageRecord messageRecord) Sends a processed message to the given recipient using the implementation’s delivery strategy.void
TitleSender.send
(Recipient.Sendable recipient, FinalMessageRecord messageRecord) Sends a title and subtitle to a player if applicable, using values from the given message record.