Minecraft Start Script Generator
Enter the name of your server file and the memory. You get a ready-made start script, optionally with the proven Aikar’s flags for garbage collection.
Runs entirely in your browser. Names, passwords and free text never leave your device. For our statistics, we count that the tool was opened and used, plus a few selected options (numbers you enter and results only in broad ranges), without cookies and without any link to you.
How it works
- Enter the file name of your server jar and choose the memory.
- Pick Linux or Windows and, if you like, automatic restart.
- Copy the script or download it and place it next to the server jar.
- Start it as described below the script.
Frequently asked questions
What are Aikar’s flags?
A set of Java start options that tune the G1 garbage collector for Minecraft servers. They reduce stutter, especially on Paper and its forks. For small servers and vanilla they bring little but do no harm.
Why are Xms and Xmx the same?
If the starting heap equals the maximum heap, Java never has to grow it while running. That avoids stutter and is the usual recommendation for servers.
How much RAM should I enter?
Less than your server has in total: leave at least 1 GB free for the system and the Java runtime. Our RAM calculator can help.
What does auto-restart do?
When the server crashes or stops with /stop, it starts again after 5 seconds. To stop for good, press Ctrl+C during the pause.
Which Java version do I need?
It depends on the Minecraft version: 1.18 to 1.20.4 needs Java 17, 1.20.5 to 1.21.11 needs Java 21, and from 26.1 on Minecraft needs Java 25. The script runs whichever Java is the default on your system.
Related offerYour own Minecraft server for Java and Bedrock, set up in a few minutes.
See Minecraft servers →