Launch parameters and JVM flags
What Java launch flags are, which ones the Millida control panel changes itself, and when it makes sense to add your own.
Updated August 13, 2026
A Minecraft server runs as a Java process, and it has parameters: memory size, garbage collector, system properties.
What the panel does
Millida builds the launch string itself: it substitutes the tariff's memory, a suitable Java, and a set of garbage collector flags. You don't need to change this manually, and in most cases it's harmful — the most common "optimizations" from the internet were written for Java 8 and make things worse on modern versions.
What actually matters
| Parameter | Meaning |
|---|---|
-Xmx / -Xms | Maximum and initial heap. Set by the tariff |
| Garbage collector | G1 by default; for large heaps ZGC is sometimes better |
-Dfile.encoding=UTF-8 | Cyrillic in logs and configs |
-Dcom.mojang.eula.agree | Not needed: the EULA is accepted by the panel |
Aikar's flags
A well-known set of G1 flags for Minecraft servers. A breakdown of what they do and when they help — Aikar's flags.
System properties of mods and plugins
Sometimes a modpack requires a property like -Dfml.queryResult=confirm (confirmation of registry substitution) — such things are written into the launch parameters and cannot be replaced by anything else.
Caution
The launch string is what breaks a server completely rather than partially: a typo in a flag causes the process to exit instantly with no clear error. Change one flag at a time and look at the first twenty lines of the log after startup — Logs.
