Question Hey my server isn't running

LoJoSho

New member
Jan 4, 2022
15
5
3
My Server everytime I click on the jar says
Unable to Access jarfile?
Assuming you are running Windows, typically, you use a batch to launch a Minecraft server, you don't just click it.

Create a text file and name it "start.bat", then open it up in notepad, put the following in the bat files:
Code:
@ECHO OFF
java -Xms1024M -Xmx2048M -jar minecraft_server.jar --nogui
pause

When you launch the file, it will attempt to launch a jar file with the name "minecraft_server.jar" (Feel free to change this to whatever your jar name is). During its startup, the Xms is the amount of ram you give it for startup and Xmx is the amount of ram you give it to run (in a general sense). the --nogui stops the default Minecraft GUI from popping up and pause at the end stops the terminal from closing until you press a key.

If you want different flags, Akair Flags are the go-to for performance.

You can find the Minecraft wiki about it this sort of topic here (including if you run something other than Windows): https://minecraft.fandom.com/wiki/Tutorials/Setting_up_a_server/

Alternatively, there are plenty of videos online about this topic.