public class UltraChatEvent
extends org.bukkit.event.Event
Note: Since API Version 2.5 this event is only needed when you want specific ultraChat information.
Constructor and Description |
---|
UltraChatEvent(org.bukkit.entity.Player p,
java.lang.String chat,
java.util.Set<org.bukkit.entity.Player> recipients,
ChatType ct,
ChatProperties properties) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getMessage() |
org.bukkit.entity.Player |
getPlayer() |
ChatProperties |
getProperties()
Get the properties.
|
java.util.Set<org.bukkit.entity.Player> |
getRecipients()
Grab the recipients.
|
ChatType |
getType()
Get the type of the chat used.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
void |
setMessage(java.lang.String message)
Set the message
|
void |
setRecipients(java.util.Set<org.bukkit.entity.Player> recipients)
Set the recipients.
|
public UltraChatEvent(org.bukkit.entity.Player p, java.lang.String chat, java.util.Set<org.bukkit.entity.Player> recipients, ChatType ct, ChatProperties properties)
public java.util.Set<org.bukkit.entity.Player> getRecipients()
public void setRecipients(java.util.Set<org.bukkit.entity.Player> recipients)
recipients
- The set of recipients.public org.bukkit.entity.Player getPlayer()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The message.public boolean isCancelled()
public void setCancelled(boolean cancel)
public ChatType getType()
public ChatProperties getProperties()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()