Skip to content

Chat and text

Rich text components, chat routing, channels and mutes.

Type Kind Description
ChannelRegistry class Plugin messaging channels (Paper’s Messenger, sendPluginMessage).
ChannelSubscription class A listener on a plugin messaging channel (ChannelRegistry.On).
Chat class Chat lines that no player signed: the disguised chat the console’s /say sends.
ChatFilterKind enum How the recipients who filter text see a chat message (vanilla FilterMask).
ChatKind enum The chat type of a line: the vanilla minecraft:chat_type entries the server uses.
ChatMute class Chat mutes.
ChatMuteEntry class An active chat mute: the muted player, when the mute ends and the reason it was given.
ChatRoute class Restricts who gets a chat message while its handler runs.
ClickAction enum What happens when a player clicks a text component.
ClickEvent struct A click event of a text component.
HoverEvent class A hover event of a text component.
TextColor struct A named or RGB text colour.