pufferpanel / pufferpanel

PufferPanel is an open source game server management panel, designed for both small networks and personal use

Home Page:https://pufferpanel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minecraft - Java Edition: template for paper using wrong binary name

kuesta opened this issue · comments

Describe the bug
If a minecraft-java server is created with the paperMC jar, the server is not startable.
This is because the downloaded "paper-*.jar" is renamed to "paper.jar" instead of "server.jar".

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Servers'
  2. Click on 'Add Server'
  3. Enter any name for the server in the "server name"
  4. Click on 'Next'
  5. Select 'Minecraft: Java Edition' from the community templates
  6. Set the toggle "EULA Agreement" to true
  7. Replace the value of "Version" from "latest" to e.g. "1.20.4"
  8. Select as "Mod/Plugin Launcher" the option "paper"
  9. replace the value "96" with a current available build version (e.g. "454")
  10. Use the "Create Server" action
  11. Use the "Install" in the "Do you want to run the automatic install right now?" promt
  12. "Moving file from paper-*.jar to paper.jar" is shown after the Java download in the console
  13. Start the server with the green "play" button
  14. Error appear in the console:
    Starting process: /var/lib/pufferpanel/binaries/java17 -Xmx1024M -Dterminal.jline=false -Dterminal.ansi=true -Dlog4j2.formatMsgNoLookups=true -jar server.jar Error: Unable to access jarfile server.jar

Expected behavior
A minecraft server with paper as server jar shoudl be able to get startet after the installation

Screenshots
2024-03-18_00h55_15

Desktop (please complete the following information):

  • OS: Windows 10

  • Browser chrome

  • Version 122.0.6261.129

  • Version PufferPanel v3