pelican-eggs / eggs

Service eggs for the pterodactyl panel
MIT License
2.84k stars 2.32k forks source link

[Bug]: Minecraft Java Fabric #2507

Open Devop3r opened 11 months ago

Devop3r commented 11 months ago

Panel Version

1.11.4

Wings Version

1.11.8

Service

Minecraft Fabric Egg

Modified

No, I did not modify the egg

Expected Behavior

That the server starts after installing a Fabric Mod in Minecraft (f.e. Better Minecraft or The Middle Age).

Actual Behavior

The server goes offline, showing the error of not to be able to find the server.jar file. The mod installs a file called variables.txt. Iin this file there is a link to the server.jar file (MINECRAFT_SERVER_URL=https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba59902951553/server.jar).

Steps To Reproduce

  1. Install 1.20.1 Minecraft Server with Fabric Egg.
  2. Copy the mod files to the server.
  3. Start the server.

Install logs

container@pterodactyl~ java -version openjdk version "18.0.2.1" 2022-08-18 OpenJDK Runtime Environment Temurin-18.0.2.1+1 (build 18.0.2.1+1) OpenJDK 64-Bit Server VM Temurin-18.0.2.1+1 (build 18.0.2.1+1, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx8192M -jar server.jar Error: Unable to access jarfile server.jar

WhyCarnage commented 10 months ago

Surprised, this hasn't been answered or closed.

Your error is basically telling you it couldn't find a server.jar file, meaning you either deleted the server.jar file or your server did not properly install the fabric server.

  1. Create server with fabric egg
  2. click start server to see if it runs or not
  3. delete world folder
  4. upload a zip of the important files such as your mods' folder, configs and whatnot and extract it

run reinstall if it cant find the jar.

Just tried the egg on pterodactyl and it worked fine.

Simsz commented 8 months ago

Can you include the configuration that you set up on your side? I ran into similar issues and what ended up being the issue was that I hadn't configured it properly. For example on forge (unrelated I know but still) when specifying version number it wanted minecraft version + forge version (so like 1.20.1-3.4.5.11 for example). I currently have a working Fabric mod-pack and below is a screenshot of my own configuration.

Screenshot of pterodactyl fabric egg Minecraft configuration

If it is not what @Darkcarnage23 suggested then you may have something else going on. If you'd like more help, you can drop your discord user and I can try helping you configure it