Bug: Start-scripts for Minecraft 1.17.1 Forge incompatible #619

Closed
opened 2026-06-26 21:15:50 +02:00 by Griefed · 3 comments
Owner

@Griefed on GitHub · https://github.com/Griefed/ServerPackCreator/issues/84

  • What is the current behavior?
    The start-scripts which ServerPackCreator generates are incompatible with Forge versions for Minecraft 1.17.1.
    Forge changed the way their server is started with said version, thus requiring a different setup.

  • If the current behavior is a bug, please provide the steps to reproduce

  1. Generate a Minecraft 1.17.1 Forge server pack and let ServerPackCreator generate start-scripts.
  2. Try to start the server with said start-scripts.
  • What is the expected behavior?

The scripts generated by ServerPackCreator should work for Minecraft 1.17.1 Forge.

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

A fix will be rolled out together with the changes from #81

A user on discord reported:

Linux:
java @libraries/net/minecraftforge/forge/1.17.1-37.0.82/unix_args.txt

Windows:
java @libraries/net/minecraftforge/forge/1.17.1-37.0.82/win_args.txt
Java 16 is also required for this startup.
Forge 1.17 doesn't have a single jar file like forge 1.16 and lower, so you can't do -jar forge.jar, you have to run unix_args.txt or win_args.txt.

<!-- repoman:origin --> > **@Griefed** on **GitHub** · https://github.com/Griefed/ServerPackCreator/issues/84 <!-- Failure to use this template will result in the new issue being immediately closed without comment. --> * **What is the current behavior?** The start-scripts which ServerPackCreator generates are incompatible with Forge versions for Minecraft 1.17.1. Forge changed the way their server is started with said version, thus requiring a different setup. * **If the current behavior is a bug, please provide the steps to reproduce** <!-- providing steps to reproduce is vital in order to verify that it is indeed a bug in the software, and not just a misconfiguration on your part. It helps us track down the source of the problem. --> 1. Generate a Minecraft 1.17.1 Forge server pack and let ServerPackCreator generate start-scripts. 2. Try to start the server with said start-scripts. * **What is the expected behavior?** <!-- How is it supposed to work, but currently isn't? What's the expected outcome of what you are currently trying to do? --> The scripts generated by ServerPackCreator should work for Minecraft 1.17.1 Forge. * **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc) A fix will be rolled out together with the changes from #81 A user on discord reported: > Linux: > java @libraries/net/minecraftforge/forge/1.17.1-37.0.82/unix_args.txt > > Windows: > java @libraries/net/minecraftforge/forge/1.17.1-37.0.82/win_args.txt > Java 16 is also required for this startup. > Forge 1.17 doesn't have a single jar file like forge 1.16 and lower, so you can't do -jar forge.jar, you have to run unix_args.txt or win_args.txt. >
Author
Owner

@Griefed on GitHub

Start scripts generated for Mincraft 1.17+ Forge servers will look almost identical to the regular scripts generated by ServerPackCreator, except some file checks will look for and download files to slightly different locations, as well as the command which finally starts the server being different.

Forge server JAR, for example, is now located at libraries/net/minecraftforge/forge/$MINECRAFT-$FORGE/forge-$MINECRAFT-$FORGE-server.jar

Minecraft server JAR is now located at libraries/net/minecraft/server/$MINECRAFT/server-$MINECRAFT.jar

With $MINECRAFT and $FORGE representing the versions specified by the user generating the server pack.

<!-- repoman:origin --> > **@Griefed** on **GitHub** Start scripts generated for Mincraft 1.17+ Forge servers will look almost identical to the regular scripts generated by ServerPackCreator, except some file checks will look for and download files to slightly different locations, as well as the command which finally starts the server being different. Forge server JAR, for example, is now located at `libraries/net/minecraftforge/forge/$MINECRAFT-$FORGE/forge-$MINECRAFT-$FORGE-server.jar` Minecraft server JAR is now located at `libraries/net/minecraft/server/$MINECRAFT/server-$MINECRAFT.jar` With $MINECRAFT and $FORGE representing the versions specified by the user generating the server pack.
Author
Owner

@Griefed on GitHub

Will be available in the next alpha release.

<!-- repoman:origin --> > **@Griefed** on **GitHub** Will be available in the next alpha release.
Author
Owner

@Griefed on GitHub

See alpha.7

<!-- repoman:origin --> > **@Griefed** on **GitHub** See [alpha.7](https://github.com/Griefed/ServerPackCreator/releases/tag/3.0.0-alpha.7)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Griefed/ServerPackCreator#619
No description provided.