mrpack-install icon indicating copy to clipboard operation
mrpack-install copied to clipboard

How do I install forge?

Open Sushi-Mampfer opened this issue 2 years ago • 1 comments

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

Sushi-Mampfer avatar Apr 05 '24 09:04 Sushi-Mampfer

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

nothub avatar Apr 06 '24 16:04 nothub