Leaf 1.20 Server Jar Download
Leaf 1.20 is the latest Leaf build for Minecraft 1.20, published on 12 Jun 2023. It requires Java 17 or newer and the jar is 55.9 MB. A newer patch in the same line is available: Leaf 1.20.6.
Download
Download leaf-1.20.jar55.9 MB
Downloads from github.com — Official — GitHub releases (Winds-Studio/Leaf).
The upstream does not publish a checksum for this file. MCJarHub computes a SHA-256 for such files on a schedule and shows it here once available — see how we source & verify.
Version facts
| Minecraft release date | |
|---|---|
| This build's date | |
| Channel | Release |
| Required Java | Java 17 or newer · Temurin 17 |
| File size | 55.9 MB |
| Licence / terms | see upstream |
| Upstream project | github.com |
What changed
Release notes on GitHub What's new in Minecraft 1.20 (Minecraft Wiki)Compatibility
Runs Bukkit, Spigot and Paper plugins built for Minecraft 1.20.
Players need a Minecraft: Java Edition 1.20 client. Other client versions can join only through a protocol plugin such as ViaVersion/ViaBackwards.
Minecraft 1.20 in other server software
Other Minecraft 1.20 server jars (Vanilla, Paper, Fabric, Forge…)
Known issues & safety notes
- Back up your world before changing versions: worlds upgrade automatically on start and cannot be downgraded.
- Known issues: search Leaf's issue tracker for 1.20
How to set up Leaf 1.20
- Install Java 17 or newer (e.g. Eclipse Temurin) and check it with
java -version. - Download the Leaf jar into an empty folder.
- Start it once with the script below; it creates
eula.txtand stops. - Set
eula=trueineula.txtto accept the Minecraft EULA, then start again. Players join on port25565. - Put plugins (.jar) into
plugins/and restart.
Linux / macOS — start.sh
#!/bin/sh
# start.sh — Leaf 1.20
cd "$(dirname "$0")"
JAVA_MAJOR=$(java -version 2>&1 | awk -F'"' '/version/ {split($2, v, "."); print (v[1] == "1") ? v[2] : v[1]}')
if [ "$JAVA_MAJOR" -lt 17 ] 2>/dev/null; then
echo "Java 17 or newer is required (found Java $JAVA_MAJOR)."
exit 1
fi
java -Xms4G -Xmx4G -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:MaxGCPauseMillis=200 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -jar leaf-1.20.jar nogui
Windows — start.bat
@echo off REM start.bat — Leaf 1.20 REM Needs Java 17 or newer: run "java -version" to check. java -Xms4G -Xmx4G -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:MaxGCPauseMillis=200 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -jar leaf-1.20.jar nogui pause
The JVM flags are Aikar's G1 flags as recommended by PaperMC. Customise RAM, flags and restart loop →
Rule of thumb: 2–4 GB for a few friends, 6–10 GB for a public server with plugins. Set -Xms equal to -Xmx and leave 1–1.5 GB for the operating system. How much RAM?
Docker
docker run -d -p 25565:25565 -e EULA=TRUE -e TYPE=LEAF -e VERSION=1.20 --name mc itzg/minecraft-server
Uses the community itzg/minecraft-server image, which downloads the file itself.
Upgrading
- Newer: Leaf 1.20.1
- Previous: Leaf 1.19.4
- How to update a Minecraft server safely
FAQ
What Java version does Leaf 1.20 need?
Leaf 1.20 needs Java 17 or newer. Running it on an older Java fails with an UnsupportedClassVersionError mentioning class file version 61.0.