public class PlayerCommandPreProcessEvent extends PlayerEvent implements CancellableEvent
Constructor and Description |
---|
PlayerCommandPreProcessEvent(Player p,
String command,
String[] arg,
String prefix,
boolean proxy) |
Modifier and Type | Method and Description |
---|---|
String[] |
getArgument() |
String |
getCommand() |
String |
getPrefix() |
boolean |
isCancelled() |
boolean |
isProxy()
Check if it's run on proxy or not
|
void |
setCancelled(boolean cancelled) |
getPlayer, hasPlayer
public String getCommand()
public String[] getArgument()
public String getPrefix()
public boolean isProxy()
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancelled)
setCancelled
in interface CancellableEvent