public class ChatEvent extends TargetedEvent implements Cancellable
Constructor and Description |
---|
ChatEvent(Connection sender,
Connection receiver,
String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCommand()
Checks whether this message is valid as a command
|
boolean |
isProxyCommand()
Checks whether this message is run on this proxy server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCancelled, setCancelled
public ChatEvent(Connection sender, Connection receiver, String message)
public boolean isCommand()
public boolean isProxyCommand()
PluginManager.isExecutableCommand(java.lang.String,
net.md_5.bungee.api.CommandSender)
Copyright © 2012–2019 SpigotMC. All rights reserved.