public interface NucleusStaffChatService
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.spongepowered.api.text.channel.MessageReceiver> |
getStaffChannelMembers()
Gets the memebers of the Staff Chat channel.
|
boolean |
isCurrentlyChattingInStaffChat(org.spongepowered.api.command.CommandSource source)
Gets if the given
CommandSource is currently talking
in staff chat. |
boolean |
isCurrentlyChattingInStaffChat(java.util.UUID uuid)
Gets if a player with the given
UUID is currently talking
in staff chat. |
boolean |
isDirectedToStaffChat(org.spongepowered.api.event.message.MessageChannelEvent.Chat event)
Gets if the provided
MessageChannelEvent.Chat is going to be
sent to the staff chat channel. |
void |
sendMessageFrom(org.spongepowered.api.command.CommandSource source,
org.spongepowered.api.text.Text message)
Sends a message to the Staff Chat channel.
|
boolean isDirectedToStaffChat(org.spongepowered.api.event.message.MessageChannelEvent.Chat event)
MessageChannelEvent.Chat
is going to be
sent to the staff chat channel.event
- The MessageChannelEvent.Chat
boolean isCurrentlyChattingInStaffChat(org.spongepowered.api.command.CommandSource source)
CommandSource
is currently talking
in staff chat.source
- The CommandSource
boolean isCurrentlyChattingInStaffChat(java.util.UUID uuid)
UUID
is currently talking
in staff chat.uuid
- The UUID
of the User
java.util.Collection<org.spongepowered.api.text.channel.MessageReceiver> getStaffChannelMembers()
CommandSource
s who are members of the channel.void sendMessageFrom(org.spongepowered.api.command.CommandSource source, org.spongepowered.api.text.Text message)
source
- The CommandSource
that is sending this message.message
- The message to send.