Nico1
20 February 2025 19:48
1
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
Nico1
20 February 2025 21:12
3
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
Mike
20 February 2025 21:36
4
How did you add the Jar file?
Nico1
20 February 2025 22:46
5
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
Nico1
20 February 2025 23:38
7
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.
Nico1
21 February 2025 13:47
9
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?
Nico1
22 February 2025 19:15
11
it works, the jar name must not be minecraft_server.jar
system
Closed
24 March 2025 19:16
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.