Proxy config

Generates a velocity.toml for Velocity 4.x or a config.yml for BungeeCord that sends players to your backend server, with the forwarding and firewall settings the backend needs to stay safe.

Part of Server Config Generators — all tabs in one tool.

Recommended heap4 GB

Quick guides

How to use this tool, and the questions players ask most.

What are the best JVM arguments for a Minecraft server?

Aikar's flags with the G1GC garbage collector are the recommended starting point for Paper and Purpur servers — they are what Paper's own start script generator produces. Matching your initial memory -Xms to your maximum memory -Xmx keeps the Java Virtual Machine from pausing to resize the heap under load.

Where do you put JVM flags on a Forge server?

Forge servers on 1.17 and newer start through the generated run.sh or run.bat, which read custom arguments from the user_jvm_args.txt file in the server root — put your flags there. Forge 1.16.5 and older is a single jar: place the flags in your own start script before the -jar argument.

Which garbage collector should modded Minecraft servers use?

Heavily modded servers on Java 21 or newer with heaps above 16G can try ZGC with -XX:+UseZGC to cut garbage collection pauses — it is generational by default since Java 23. Only Java 21–22 need -XX:+ZGenerational; Java 24–25 just warn that the flag is obsolete and Java 26 refuses to start with it. Standard modpacks under 12G perform most reliably with the default G1GC collector via -XX:+UseG1GC.

What Java version is required for Minecraft server flags?

Minecraft 26.1 and newer require Java 25 or newer. Versions 1.20.5 to 1.21.11 need Java 21, 1.18 to 1.20.4 need Java 17, 1.17 and 1.17.1 need Java 16, and 1.12 to 1.16.5 run on Java 8 or newer. Check the installed version with java -version.

How do you automatically accept the Minecraft server EULA?

You can accept the agreement before launching by setting eula=true inside the eula.txt file in your main directory. Server Config Generators creates this file alongside customized startup scripts and proxy configurations.

You May Also Like

Other tools on 9Minecraft you may find useful.