private HashMap<PermissionFlag, Boolean> getPermissions(ChunkyPlayer cPlayer, String permString) {
        // Converts the flags into an EnumSet<PermissionRelationship.Flags>
        HashMap<PermissionFlag, Boolean> permissions = new HashMap<PermissionFlag, Boolean>();

        if (permString.equalsIgnoreCase("clear")) {
            // Flags of "clear" means it will null out the flag set.  This is necessary to indicate that permissions are "not set" for this relationship.
            permissions = null;
        } else {
            boolean add;
            if (permString.startsWith("+")) {
                add = true;
            } else if (permString.startsWith("-")) {
                add = false;
            } else {
                Language.CMD_CHUNKY_PERMISSION_ADD_SUBTRACT.bad(cPlayer);
                Language.CMD_CHUNKY_PERMISSION_HELP_REMINDER.help(cPlayer);
                return permissions;
            }
            String[] flagsString = permString.toLowerCase().substring(1).split(",");
            for (String flagString : flagsString) {
                PermissionFlag flag = ChunkyPermissions.getFlagByTag(flagString);
                if (flag == null) continue;
                permissions.put(flag, add);
            }
            if (permissions.isEmpty()) {
                Language.CMD_CHUNKY_PERMISSION_SPECIFY_FLAGS.bad(cPlayer);
                Language.CMD_CHUNKY_PERMISSION_HELP_REMINDER.help(cPlayer);
                return permissions;
            }
        }

        return permissions;
    }