Closed dd880602 closed 2 years ago
"rules": { "directories": [ { "path": "mods", "mode": "mirror" }, { "path": "resourcepacks", "mode": "mirror" }, { "path": "config", "mode": "push" } ], "files": { "include": [ "mods/" ], "ignore": [ "/serversync-*.jar", "*/serversync-.cfg" ], "redirect": [ "pattern": "resourcepacks/*", "redirectTo": "mods" ] } Where does it need to be modified?
Your redirect array needs to hold a list of objects.
"redirect": [ { "pattern": "...", "redirectTo": "..." } ]
"rules": { "directories": [ { "path": "mods", "mode": "mirror" }, { "path": "resourcepacks", "mode": "mirror" }, { "path": "config", "mode": "push" } ], "files": { "include": [ "mods/" ], "ignore": [ "/serversync-*.jar", "*/serversync-.cfg" ], "redirect": [ "pattern": "resourcepacks/*", "redirectTo": "mods" ] } Where does it need to be modified?