@Override
    public void configure(AbstractCommand command, String[] args) {
        TimeBanBanCommand banCommand = (TimeBanBanCommand) command;

        List<String> players = CommandLineParser.getListOfString(args[0]);
        String reason = stdBanReason;
        Calendar until = UntilStringParser.parse(stdBanDuration);

        if (args.length == 2) {
            // What did we get? reason or duration...
            // got a reason
            if (args[1].contains("\"")) {
                reason = CommandLineParser.getPrettyString(args[1]);
                until = UntilStringParser.parse(stdBanDuration);
            } else if (args[1].startsWith("&")) {
                String shortcutName = args[1].substring(1); // remove &
                setAttributesByShortcut(shortcutName, banCommand);
                banCommand.setPlayers(players);
                return;
            } else {
                reason = stdBanReason;
                until = getCalendarFromArg(args[1]);
            }
        } else if (args.length == 3) {
            // every parameter given
            reason = CommandLineParser.getPrettyString(args[2]);
            until = UntilStringParser.parse(args[1]);
        } else if (args.length > 3) {
            log.log(Level.SEVERE, "Error. Wrong syntax!");
        }

        banCommand.setPlayers(players);
        banCommand.setReason(reason);
        banCommand.setUntil(until);
    }