public class ChatExtensions
extends java.lang.Object
Constructor and Description |
---|
ChatExtensions(ProtocolManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
broadcastMessageSilently(java.lang.String message,
java.lang.String permission)
Broadcast a message without invoking any packet listeners.
|
void |
sendMessageSilently(org.bukkit.command.CommandSender receiver,
java.lang.String message)
Send a message without invoking the packet listeners.
|
public ChatExtensions(ProtocolManager manager)
public void sendMessageSilently(org.bukkit.command.CommandSender receiver, java.lang.String message) throws java.lang.reflect.InvocationTargetException
receiver
- - the receiver.message
- - the message to send.java.lang.reflect.InvocationTargetException
- If we were unable to send the message.public void broadcastMessageSilently(java.lang.String message, java.lang.String permission) throws java.lang.reflect.InvocationTargetException
message
- - message to send.permission
- - permission required to receieve the message. NULL to target everyone.java.lang.reflect.InvocationTargetException
- If we were unable to send the message.