sendResponse(ctx, FAILURE, TYPE_COMMAND, "");
return;
}
try {
RemoteServerCommandEvent event = new RemoteServerCommandEvent(commandSender, payload);
EventFactory.callEvent(event);
rconServer.getServer().dispatchCommand(commandSender, event.getCommand());
String message = commandSender.flush();
if (!rconServer.getServer().useRconColors()) {
message = ChatColor.stripColor(message);
}