rest = command.substring(idx);
}
ServerCommand serverCommand = server.getCommandParser().getServerCommand(tokens[0]);
if ((serverCommand != null) && !(serverCommand instanceof InvalidCommand)) {
serverCommand.execute(server, command, feedback);
}
if (serverCommand == null || serverCommand.shouldPassThroughToConsole(server)) {
server.runCommand(tokens[0], rest);
}
}