public class ChannelChatService extends java.lang.Object implements ChannelService
http://dev.bukkit.org/server-mods/channel-chat/
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
ChannelChatService() |
| Modifier and Type | Method and Description |
|---|---|
void |
announce(java.lang.String channelID,
java.lang.String message)
Broadcast a message on a given channel.
|
void |
emote(java.lang.String channelID,
java.lang.String message,
org.bukkit.entity.Player sender)
Sends a message with a sender on a given channel.
|
static boolean |
exists()
Determines whether or not the ChannelChat plugin is loaded AND enabled.
|
java.lang.String |
getServiceName()
Retrieves a unique string identifying this service.
|
boolean |
hasChannel(java.lang.String channelID)
Determines whether or not the channel with the given identifier exists.
|
public static final java.lang.String NAME
public java.lang.String getServiceName()
ServiceNote that this identifier must conform to an ENUM convention: upper case only, underscore for space.
A service MUST not alter its identifier once it has been registered.
getServiceName in interface Servicepublic static boolean exists()
public boolean hasChannel(java.lang.String channelID)
ChannelServicehasChannel in interface ChannelServicechannelID - - channel identifier.public void announce(java.lang.String channelID,
java.lang.String message)
ChannelServiceannounce in interface ChannelServicechannelID - - channel identifier.message - - message to broadcast.public void emote(java.lang.String channelID,
java.lang.String message,
org.bukkit.entity.Player sender)
ChannelServiceemote in interface ChannelServicechannelID - - channel identifier.message - - message to broadcast.sender - - sender to include in the message.