What is a start file?
A start file (start.bat on Windows, start.sh on Linux/macOS) is the script that launches your Minecraft server. It tells Java how much memory to allocate and which performance flags to use.
JVM flag presets
- Aikar’s flags— the most widely used optimisation set for Minecraft servers. Tuned G1GC settings that reduce lag spikes and improve garbage collection. Recommended for most servers.
- GraalVM optimised— designed for servers running on GraalVM instead of HotSpot. Enables the JVMCI compiler for better peak performance.
- Basic— just sets the memory allocation. Useful when you want full control over flags yourself.
FAQ
How much RAM should I allocate?
For a small server (1–5 players), 4–6 GB is typical. Larger servers with many plugins may need 8–12 GB. Don’t allocate more than your machine has free — leaving room for the OS matters.
Should I enable the GUI?
The server GUI shows a basic console and player list. Most people run servers headless (GUI off) and use the terminal or RCON instead.
What does auto-restart do?
The script loops so if the server crashes or you type /stop, it waits 5 seconds then starts again. Disable it if you want the server to stay stopped after /stop.
Start File Generator