Minecraft Flags Generator

Generate optimized startup scripts for your Minecraft server

Configuration

Recommended by PaperMC for most servers
1 GB 4 GB 32 GB
Allocate at least 4GB for optimal performance. Don't allocate more than your system has!

Startup Script

About These Flag Presets

Aikar's Flags

The most widely recommended flags for Minecraft servers. Optimized for G1GC garbage collection to reduce lag spikes and improve overall performance. Officially recommended by PaperMC.

Aikar's Flags (12GB+)

Modified version of Aikar's flags with larger G1 region sizes for servers with 12GB or more RAM. Provides better performance for large servers with many players.

MeowIce's Flags

Optimized for GraalVM with ZGC garbage collection. Best for modern servers with high player counts. Combines Aikar's optimizations with additional JVM features for smoother performance.

hilltty's Flags

Alternative optimization flags focused on reducing memory overhead and improving startup times. Good for servers with limited resources.

Velocity Flags

Specifically optimized for Velocity proxy servers. Uses different GC settings appropriate for proxy workloads which differ from game servers.

No Flags

Basic startup without optimization flags. Use this if you want to add your own custom JVM arguments or for debugging purposes.