MOSSBACK STUDIO

Minecraft server start.bat generator

Pick your server type and how much memory it gets. Download the file, put it next to the server jar and double-click it (or run it from a terminal on Linux and macOS).

start.bat


  

How much memory to give it

Which Java

Minecraft versionJava it needs
up to 1.16.5Java 8
1.17 to 1.17.1Java 16 or newer
1.18 to 1.20.4Java 17 or newer
1.20.5 to 1.21.11Java 21 or newer
26.1 and newerJava 25 or newer

If you have several Java versions installed, put the full path in the Java box, for example C:\Program Files\Java\jdk-21\bin\java.exe. The file puts it in quotes for you.

Forge and NeoForge

Since 1.17 their installer makes its own run.bat and run.sh, and reads the memory and flags from user_jvm_args.txt. Pick "Forge or NeoForge" above and you get that file instead. Replace the one the installer made, then start the server with run.bat as before. To hide the server window, add nogui to the run.bat line, just before %*.

Something wrong or missing here? Tell me, requests decide what I add next. More tools: all tools.