How to Make a Fabric Server (Step by Step)
If you want a Minecraft server running Fabric mods, whether that's performance mods like Lithium or a full Fabric modpack, you need a proper Fabric server, not a vanilla jar with mods dropped next to it. This guide walks through setting one up from scratch, getting the mods in, and making sure your friends can actually join.
mods folder. Every mod must match the server's Minecraft version, and players need the same Fabric loader and the same client-side mods to join.What you need before you start
- Java that matches your Minecraft version: Java 21 for 1.20.5 and newer, Java 17 for 1.17 to 1.20.4, Java 8 for 1.16.5 and older. Check with
java -version. - A decided Minecraft version. Fabric mods are version-specific, so pick the version your mods support first, then build the server for it.
- An empty folder for the server.
Step 1: Get the Fabric server files
There are two official ways. Both come from fabricmc.net.
Option A: The server launcher jar (easiest)
- Go to fabricmc.net and open the Server tab on the download page.
- Pick your Minecraft version and loader version (the newest stable loader is fine).
- Download the executable server jar. It has a long name like
fabric-server-mc.1.21.1-loader...-launcher...jar. - Put it in your server folder. Renaming it to
server.jarmakes life easier.
This single jar downloads the vanilla server and the Fabric libraries on first launch.
Option B: The universal installer in server mode
If you'd rather use the installer, run it from a terminal:
java -jar fabric-installer.jar server -mcversion 1.21.1 -downloadMinecraft
That creates fabric-server-launch.jar and downloads the vanilla server.jar alongside it. You start the server with fabric-server-launch.jar, not server.jar.
Step 2: First launch and the EULA
Start the server once so it generates its files:
java -Xms4G -Xmx4G -jar server.jar nogui
Swap server.jar for fabric-server-launch.jar if you used Option B. It'll stop almost immediately and ask you to accept the EULA. Open eula.txt, change eula=false to eula=true, and save.
You'll now have a mods folder, server.properties, config, and the rest.
Step 3: Add Fabric API (almost always required)
Most Fabric mods depend on Fabric API. It's a separate mod, not part of the loader.
- Download Fabric API from Modrinth or CurseForge.
- Pick the file for your exact Minecraft version (1.21.1 is not the same as 1.21.4).
- Drop the
.jarintomods.
If you forget it, the server will refuse to start and the log will say something like requires any version of fabric-api, which is missing.
Step 4: Add your other mods
- Download each mod's Fabric build for your Minecraft version. Many mods have separate Forge, NeoForge and Fabric files, so double-check the loader tag.
- Put the
.jarfiles inmods. - Read each mod page for dependencies. Common ones are Cloth Config, Architectury and Fabric Language Kotlin. Missing dependencies are listed by name in the crash, so they're easy to spot.
- Skip client-only mods (minimaps, shaders like Iris, Sodium, zoom mods, HUD tweaks). Some will crash a dedicated server, and the rest just do nothing there.
Then start the server again and watch the console for Done.
Step 5: Set up players' clients to match
This is where most "can't join" problems come from. Each player needs:
- The same Minecraft version as the server.
- The Fabric loader installed on their client (the Fabric installer has a Client tab, or use a launcher like Prism, Modrinth App or CurseForge).
- Fabric API plus any mod that adds blocks, items, entities or dimensions. Server-only mods (like Lithium, or admin tools) don't need to be on clients.
The simplest way to keep everyone matched is to build a modpack profile in the Modrinth App or Prism, then share it (export as .mrpack) so everyone has identical mods.
Troubleshooting a Fabric server
Server crashes on startup
- Possible cause: a Forge or NeoForge mod in the
modsfolder. Fix: remove it; Fabric can't load those. - Possible cause: a mod built for a different Minecraft version. Fix: check the log for
Incompatible mods foundand replace the named mod. - Possible cause: a client-only mod. Fix: remove it from the server.
Players get "Mod rejections" or kicked on join
- Possible cause: mod lists differ. Fix: compare the client and server
modsfolders, especially versions.
"Unsupported class file major version"
- Possible cause: wrong Java version. Fix: use Java 21 for 1.20.5+, Java 17 for 1.17-1.20.4.
Skip the setup with FreaksMC
On FreaksMC you can switch your server to Fabric with one click in our custom panel, pick any Minecraft version, and the panel auto-selects the right Java version for you. Upload mods through the built-in file manager, watch them load in the live console, and roll back to a backup if an update breaks something. Want a full Fabric modpack instead? Browse our modpack hosting and we'll install it for free.
Plans start at $3/mo, with a 24-hour money-back guarantee on first-time purchases, plus real human support from the founder. Check out the plans.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo