@Override
    public List<String> getSuggestions(CommandInvocation invocation)
    {
        int tokensLeft = invocation.tokens().size() - invocation.consumed();
        if (tokensLeft == 1)
        {
            ArrayList<String> result = new ArrayList<>();
            String token = invocation.currentToken().toLowerCase();
            for (String name : getNames())
            {
                if (name.startsWith(token))
                {
                    result.add(name);
                }
            }
            return result;
        }
        try
        {
            this.parse(invocation, new ArrayList<ParsedParameter>(), new ArrayList<Parameter>());
        }
        catch (Exception ignored)
        {

        }
        return super.getSuggestions(invocation);
    }