Skip to content
Minecraft
Minecraft 100% localFreeOpen access

Start script generator (Aikar's flags)

Generate start.sh for Paper, Purpur, Fabric or Vanilla: RAM, Aikar's flags, --nogui, automatic restart and GC log.

Last updated: 10/9/2026

100% local processing — saved in your browser.

Documentation
Server

Exact name of the downloaded file, in the same folder as start.sh.

Leave 1 to 1.5 GB for the OS. -Xms and -Xmx get the same value.

Single flag set documented by PaperMC (docs.papermc.io/paper/aikars-flags).

Script
start.sh
Live preview — automatically saved in your browser.
#!/bin/bash
# Generated by games-tools.game-rank.com
cd "$(dirname "$0")"

java \
  -Xms6G \
  -Xmx6G \
  -XX:+UseG1GC \
  -XX:+ParallelRefProcEnabled \
  -XX:MaxGCPauseMillis=200 \
  -XX:+UnlockExperimentalVMOptions \
  -XX:+DisableExplicitGC \
  -XX:+AlwaysPreTouch \
  -XX:G1NewSizePercent=30 \
  -XX:G1MaxNewSizePercent=40 \
  -XX:G1HeapRegionSize=8M \
  -XX:G1ReservePercent=20 \
  -XX:G1HeapWastePercent=5 \
  -XX:G1MixedGCCountTarget=4 \
  -XX:InitiatingHeapOccupancyPercent=15 \
  -XX:G1MixedGCLiveThresholdPercent=90 \
  -XX:G1RSetUpdatingPauseTimePercent=5 \
  -XX:SurvivorRatio=32 \
  -XX:+PerfDisableSharedMem \
  -XX:MaxTenuringThreshold=1 \
  -Dusing.aikars.flags=https://mcflags.emc.gs \
  -Daikars.new.flags=true \
  -jar paper.jar --nogui
Server installation guideNo server yet? Install it locally or on a VPS / dedicated server, ports and firewall included.

How to use Start script generator (Aikar's flags)?

A Minecraft Java server starts with “java -Xms… -Xmx… -jar server.jar”. This tool builds the full command: fixed memory (-Xms = -Xmx), the G1GC flag set recommended by the PaperMC documentation (“Aikar's flags”) and the --nogui option.

  1. Enter the name of the jar you downloaded (paper.jar, purpur.jar, fabric-server-launch.jar, server.jar…).

  2. Choose the RAM in GB, leaving 1 to 1.5 GB free for the system (e.g. 6 GB on an 8 GB machine).

  3. Enable Aikar's flags (recommended for Paper and forks) and, if needed, the restart loop.

  4. Download start.sh, put it in the server folder and make it executable: chmod +x start.sh.

  5. Run ./start.sh. On first start, accept the EULA by setting eula=true in eula.txt.

Read the full documentation →

Frequently asked questions

Screenshot of the server.properties editor toolMinecraftOpen access
Configure your Minecraft Java server: players, world, performance, whitelist and RCON.
ConfigurationJava EditionOpen
Documentation
Minecraft
MinecraftOpen access
Create a colored two-line MOTD with live preview: § codes, hex colors, server.properties line and MiniMessage.
MOTDColorsOpen
Documentation
Minecraft
MinecraftSign-in required
Edit your Bukkit, Spigot and Paper YAML files with help on common keys, default values and indentation error detection.
YAMLConfigurationOpen
Documentation
Minecraft
MinecraftOpen access
Generate whitelist.json and ops.json from a list of usernames, with the offline UUID computed locally, no network or Mojang call.
PlayersAdministrationOpen
Documentation
Minecraft
MinecraftOpen access
Compute radius, chunks, regions, pre-generation time, disk space and loaded chunks for your Minecraft world border.
WorldPerformanceOpen
Documentation
Minecraft
MinecraftOpen access
Generate a docker-compose.yml for the itzg/minecraft-server image: server type, version, memory, players, RCON, ops and whitelist.
DockerDeploymentOpen
Documentation