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