-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forge installer doesnt get replaced with actual forge server jar #6
Comments
ForgeUpdater has been removed because of this issue. |
We could get the real server jar from this path maybe? Just found the forge installer has a |
@HSGamer yeah just tested it out and it works, the command looks something like this, after downloading the installer: I'm still not sure where the server jar finally is, probably it doesnt exist and all the libs get added to the default mc server jar at boot, thats why autoplug should just update the start command to So can we add the original code for the forge updater back? And also update the command to run the installer? |
The problem is that it creates the full server setup, not a single server jar. |
@HSGamer here is what ChatGPT says about the forge start command: It looks like you've provided a command line configuration for launching a Minecraft Forge server using the Forge Mod Loader (FML) and some specific libraries. Let me break down the important components of this command:
It seems like this command is designed to launch a Minecraft Forge server with specific versions and configurations. Ensure that all the specified libraries are available in the specified directory, and the required dependencies are correctly set up. Additionally, make sure you have the appropriate Java version installed to run this Minecraft Forge server. |
@HSGamer basically you can think of it as an extracted server jar. When usign the installer agin those files get updated so I dont see the problem. |
Another problem is the start script file. It's different for each OS. |
The actual command inside the .sh and .bat should be the same. But this shouldn't be a worry of the server updater. |
There are still problems with this updater
Since I don't work on Forge Updater, I will leave this to you or someone who can solve these problems above. |
Instead of providing the jar as output we can provide the run.sh/bat script. This should be ok since its only for forge and there isn't really another alternative. The user won't have to run anything, server-updater will run the installer jar. Supporting older versions can be done later, its not a priority now I would say. Since those older versions probably stopped receiving updates anyways. |
We won't. It's different from Bungee Updater. |
Im not following, why can't we run the installer jar? |
I mistyped. It's different from the Spigot Updater. |
Mhmm, meaning to calculate the checksum to see if there is an update available? |
Then there is the second problem I mentioned above. The user needs to run both installServer and the start script. |
I just tested it on my system and a popup opens up where I need to select server and then it installs it into the .minecraft folder.
And this repeats every time you enter .start to launch the server.
Bild
looking into this issue
Arman Kandel (Osiris) — 28.12.2023 20:23
for now disable the server updater and give the absolute path in the start command which should be something like (on windows)
java -jar C:\Users\arman\AppData\Roaming.minecraft\libraries\net\minecraftforge\forge\1.18.2-40.2.14\forge-1.18.2-40.2.14-server.jar
Arman Kandel (Osiris) — 28.12.2023 20:27
The text was updated successfully, but these errors were encountered: