Running a server using .sh files instead of .jar

OS Name/Version: Windows 11/Linux (Ubuntu Server), AMP 2.6.1.2

Product Name/Version: Minecraft 1.19.2

Problem Description: My server pack is intended to run on a .sh file instead of the .jar file that’s required for AMP. The Modpack’s server pack requires the user to run an update.sh file to download all the necessary files to run the server, but I’ve had much trouble trying to run the file. The console has been mostly unresponsive when the server is not started and obviously cannot be run while the server is already started. I’ve also tried running ./run.sh to try out the server on AMP, but I’m not exactly sure where to run this command. Instead, it focuses on running the server.jar file which is provided with the AMP service. I’m completely stuck and unsure what to do. I have been able to run the server from the terminal and it has worked fine but I’ve wanted to run the server from AMP to make the process easier. Any help?

Steps to reproduce:

  • Step 1
  • Step 2
  • Step 3

Actions taken to resolve so far:

AMP doesn’t use the start script at all, AMP just builds the start command from the info you’ve provided in the settings.
You also don’t have to run the update script, you can just download the newer version of the server pack and replace the mods folder and any configs with the new files.

If you insist on running the script you can run it on your PC and upload the files to AMP, or on the Linux system you’d have to do so as the amp Linux user.
sudo su -l amp to switch to the user.
Then the instance’s files can be found under /home/amp/.ampdata/TheInstanceName01/Minecraft

Just to re-iterate, you rarely need to actually run a modpack’s “special” start/update script, modpack creators just like to over-complicate things for no reason.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.