/** * Override this to control replacements * * @param help * @return */ public String[] getHeaderFooterFormatReplacements(CommandHelp help) { return new String[]{ "{search}", help.search != null ? String.join(" ", help.search) : "", "{command}", help.getCommandName(), "{commandprefix}", help.getCommandPrefix(), "{rootcommand}", help.getCommandName(), "{page}", "" + help.getPage(), "{totalpages}", "" + help.getTotalPages(), "{results}", "" + help.getTotalResults() }; }