public class PlayerChatEvent extends PlayerEvent implements CancellableEvent
Constructor and Description |
---|
PlayerChatEvent(Player p,
String message,
String format) |
Modifier and Type | Method and Description |
---|---|
String |
getFormat() |
String |
getMessage() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
void |
setFormat(String format) |
void |
setMessage(String message) |
getPlayer
public String getMessage()
public void setMessage(String message)
public String getFormat()
public void setFormat(String format)
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
setCancelled
in interface CancellableEvent