}
}
private static void printHistory(CommandContext ctx) {
CommandHistory history = ctx.getHistory();
List<String> list = history.asList();
for(String cmd : list) {
ctx.printLine(cmd);
}
ctx.printLine("(The history is currently " + (history.isUseHistory() ? "enabled)" : "disabled)"));
}