public interface NucleusChatChannel
extends org.spongepowered.api.text.channel.MessageChannel
| Modifier and Type | Interface and Description |
|---|---|
static interface |
NucleusChatChannel.ActionMessage
Indicates that the channel is a /me message.
|
static interface |
NucleusChatChannel.HelpOp
Indicates that the channel is a /helpop messages
|
static interface |
NucleusChatChannel.StaffChat
Indicates that the channel is Staff Chat.
|
| Modifier and Type | Method and Description |
|---|---|
default org.spongepowered.api.text.Text |
format(org.spongepowered.api.command.CommandSource sender,
org.spongepowered.api.text.channel.MessageReceiver receiver,
org.spongepowered.api.text.Text text)
Returns how this channel will format a message bound for the specified
MessageReceiver from the specified CommandSource sender. |
default org.spongepowered.api.text.Text format(org.spongepowered.api.command.CommandSource sender,
org.spongepowered.api.text.channel.MessageReceiver receiver,
org.spongepowered.api.text.Text text)
MessageReceiver from the specified CommandSource sender.receiver - The receiver.text - The message to format.