Startup Issue with Minecraft - Mohist Server does not start

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.0.12 (Mainline)
Virtualization QEMU_KVM
Application Minecraft
Module MinecraftModule
Running in Container No
Current State Failed

Problem Description

Issue

Hello,
I’m trying to set up a custom server with Mohist, the server jar is called: minecraft_server. But the server does not start and I get the following error message:

The Minecraft server stopped within 5 seconds of starting, this is not a fault with AMP - you should check your Minecraft servers log files to find out why it is unable to start.

Console:
Error: Unable to access jarfile minecraft_server.jar
Start arguments:

-Xmx{10000}M -jar {minecraft_server.jar}

Reproduction Steps

  • instal AMP
  • Create a Instance
  • upload the Mohist Jar File
  • Set Start arguments

You read the instructions wrong, it’s:
-Xmx{Memory}M -jar {JarFile}

You leave Memory and JarFile in there, and AMP replaces them with the real values when it starts

Thank you for your help, but even so I get a similar error message in the console

22:11:40
Error: Unable to access jarfile minecraft_server.jar

How did you add the Jar file?

I downloaded the jar file from the official Mohist website and then packed it into the server directory using sftp

Make sure that you have the Mohist jar selected as your Server Jar setting

the mohist Jar is selected

Then why is it giving you that error about the vanilla MC jar?
The custom startup args setting should match:
-Xmx{Memory}M -jar {JarFile}

You do not change JarFile or Memory, because AMP does that for you. Paste it in as-is.

even if I do this this way, the error message comes up, my Mohist JarFile is also called minecraft_server.jar

Not too sure then, works fine for me.
Show what you have in the setting?

it works, the jar name must not be minecraft_server.jar

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