Minecraft start.bat generator
Stop copying launch scripts from old forum posts. Choose your server software, RAM and flags, and download a clean start.bat for Windows — or a start.sh for Linux.
Server settings
Most hosts only need the jar name and RAM.
java if Java is on your PATH, or paste the full path to java.exe.Your launch script
Copy it or download the file. Put it next to your server jar.
How to use your start.bat
Download the file, move it into the folder that contains your server jar, and double-click it. The script starts with cd /d "%~dp0", so it always runs from its own folder even when Windows opens it from somewhere else.
RAM settings
-Xms is the memory the server reserves at startup and -Xmx is the maximum it can use. For a small 1.8.8 minigame, 2 to 4 GB is plenty. Do not give the server all the RAM of the machine: the operating system and the JVM itself need room.
Aikar flags
The Aikar flag set configures the G1 garbage collector for Minecraft workloads. It reduces pause spikes on Paper and Purpur servers with 4 GB or more. On tiny 1 GB servers the effect is small, and some flags are ignored by very old Java versions — test before and after.
Fabric and Forge
Fabric uses a launcher jar such as fabric-server-launch.jar; select Fabric in the preset and the jar name is filled for you. Modern Forge uses an args file (@libraries/.../win_args.txt) instead of -jar, so a Forge script needs a different line; this generator targets Paper, Purpur, Spigot, Vanilla and Fabric.
start.sh tab. Upload it, run chmod +x start.sh and start it with ./start.sh (or inside screen/tmux).start.bat questions
How do I make a start.bat for a Minecraft server?
Put the .bat file next to your server jar, set your RAM with -Xms and -Xmx, point it at the jar and run it. This generator writes the whole file, including the cd command so it works from any folder.
What are Aikar flags and should I use them?
Aikar flags are a tested set of garbage collector options for Paper and Purpur servers. They reduce lag spikes on servers with 4 GB or more of RAM. On very small servers or old Java versions, test before and after.
How much RAM should I give my Minecraft server?
For a small 1.8.8 minigame server, 2 to 4 GB is usually enough. Leave at least 2 GB free for the operating system and never allocate all the RAM of the machine.
Does the script work on Linux?
Yes. Switch to the start.sh tab and download the shell script. Upload it next to the jar, run chmod +x start.sh and start it with ./start.sh.
Server ready, but no game to play?
Our setups ship with the maps, configs and game loop already built. Dead By Daylight, Cobblemon, Pixelmon and more.
☕ Enjoying this free tool? Keep the project alive
Donate with PayPalMore free tools
MOTD Creator
Server list message with colors, hex and gradients, plus live preview.
Open tool →Prefix & Tag Creator
Chat prefixes with gradients, symbols and a resource pack builder.
Open tool →Banner Creator
Pattern layers + instant give commands for Java and Bedrock.
Open tool →Headcount Tracker
Live player-count graph for any public server.
Open tool →Java → Bedrock Converter
Turn any Java pack into an .mcpack locally.
Open tool →Resource Pack Updater
Fix "not compatible" old packs instantly.
Open tool →