public final class ServerCommandEvent extends ServerEvent implements Cancellable
| Modifier and Type | Field and Description |
|---|---|
protected String |
command |
protected CommandSender |
sender |
| Constructor and Description |
|---|
ServerCommandEvent(CommandSender sender,
String command) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand() |
CommandSender |
getSender() |
void |
setCommand(String command) |
isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledprotected String command
protected final CommandSender sender
public ServerCommandEvent(CommandSender sender, String command)
public CommandSender getSender()
public String getCommand()
public void setCommand(String command)
Copyright © 2021. All rights reserved.