Skip to content

Build System

JumpWatch edited this page Apr 23, 2026 · 1 revision

Build System

ServerFabric supports build-driven templates.

Goal

Avoid needing a separate template folder for every single Minecraft version.

Build cache

Built jars are cached under:

build-cache/<template>/<version>/

Example:

build-cache/spigot/1.21.1/server.jar

Build logs

Build output is written to:

build-cache/<template>/<version>/buildlog.txt

Internal JDK cache

ServerFabric can manage its own JDKs for build steps under:

tools-cache/jdks/

This avoids host Java version mismatches when building older or newer server versions.

Current behavior

  • if a cached build exists, it is reused
  • if it does not exist, the template build step is run
  • successful builds are cached
  • temporary build directories are cleaned after success

Clone this wiki locally