mrpack-install
mrpack-install copied to clipboard
How do I install forge?
I've ran the forge installer with --installServer in my server dir (cl5)
If I run this command:
mrpack-install https://cdn.modrinth.com/data/VUmd23oG/versions/OB9wIUXt/Create%20Live%205%201.0.0.mrpack --server-dir cl5 --server-file cl5/libraries/net/minecraftforge/forge/1.20.1-47.2.0/forge-1.20.1-47.2.0-server.jar
I still get this:
Downloading mrpack file from [https://cdn.modrinth.com/data/VUmd23oG/versions/OB9wIUXt/Create%20Live%205%201.0.0.mrpack]
Processing mrpack file cl5/Create Live 5 1.0.0.mrpack
Installing: Create Live 5
Flavor dependencies: {Minecraft:1.20.1 Fabric: Quilt: Forge:47.2.17}
Server file not present, downloading...
(Point --server-dir and --server-file flags to an existing server file to skip this step.)
Please acquire the required forge server file (47.2.17) manually to continue: https://files.minecraftforge.net/net/minecraftforge/forge/index_1.20.1.html
2024/04/05 09:38:10 forge provider not implemented
Hey,
the path supplied to -server-file is relative to the path supplied by --server-dir.
It was a rather unfortunate design decision.
In your case, the command would be:
mrpack-install https://cdn.modrinth.com/data/VUmd23oG/versions/OB9wIUXt/Create%20Live%205%201.0.0.mrpack --server-dir cl5 --server-file libraries/net/minecraftforge/forge/1.20.1-47.2.0/forge-1.20.1-47.2.0-server.jar
You could also try the new beta release v0.17.0-beta, it includes an automated installer for the forge server and the command would look like this:
mrpack-install https://cdn.modrinth.com/data/VUmd23oG/versions/OB9wIUXt/Create%20Live%205%201.0.0.mrpack --server-dir cl5