Skip to main content
← All Guides
Modpack Hosting · 5 min read

How to Set Up a Fabric Server with Custom Mods

Complete guide to setting up a Fabric server with custom mods, covering Fabric Loader installation, Fabric API, mod sourcing, and server configuration.

Why Choose Fabric?

Fabric is a lightweight, fast-updating mod loader that has grown into a major platform for Minecraft modding. It updates to new Minecraft versions within days of release, while Forge can take weeks or months. If you want a fabric server custom mods setup that stays current with Minecraft snapshots and releases, Fabric is the better choice.

Fabric's mod ecosystem emphasizes performance and compatibility. Mods like Lithium (server optimization), Starlight (lighting engine replacement), and Krypton (networking optimization) are Fabric-first and can dramatically improve server performance compared to vanilla.

Installing the Fabric Server

The fabric server custom mods setup starts with the Fabric Loader. Download the Fabric Server Launcher from fabricmc.net. You have two options:

  1. Fabric Installer. Run the installer jar with java -jar fabric-installer.jar server -mcversion 1.21.4 (replace with your target version). This downloads the vanilla server jar and installs the Fabric Loader alongside it.
  2. Pre-built server jar. Some hosting panels offer Fabric as a one-click server type. Select it, choose your Minecraft version, and the panel handles installation.

After installation, your server directory should contain the Fabric server launch jar and a mods/ folder. Accept the EULA in eula.txt before proceeding.

Installing Fabric API and Mods

Most Fabric mods depend on the Fabric API, a shared library that provides common hooks and utilities. Download it from Modrinth or CurseForge and place it in the mods/ folder. Without Fabric API, most mods will refuse to load.

For a fabric server custom mods setup, source your mods from Modrinth or CurseForge. Download the Fabric version of each mod that matches your Minecraft version. Place every jar in the mods/ folder. There is no config step needed before first boot, mods generate their config files automatically.

Recommended starter mods for any Fabric server:

  • Lithium for server-side performance improvements (no client needed).
  • Starlight for faster lighting calculations.
  • Krypton for network stack optimization.
  • FabricProxy-Lite if you run behind a Velocity proxy.

Configuration and Testing

Start the server and let it generate all config files. Each mod creates its config in config/ with a file named after the mod. Edit these to customize behavior, spawn rates, feature toggles, and other settings.

The fabric server custom mods setup should be tested with at least one player before going live. Join the server, verify that all mod features work, and run /spark health (if Spark is installed) to check TPS and memory usage. For RAM allocation guidance, our RAM calculator helps estimate what you need based on mod count and player count.

Keeping Mods Updated

Fabric mods update frequently. Check Modrinth or CurseForge weekly for updates, especially after Minecraft version releases. When updating, replace the old jar with the new one and test on a staging server if possible. For more detail on safe updates, see our modpack update guide.

If you are considering mixing Fabric mods with Forge mods, read our Forge-to-Fabric conversion guide for the full picture on loader compatibility.

Host your modpack on Astroworld Hosting, NVMe SSDs, full panel access, 24/7 support.

Related Tools & Resources

🔧

Minecraft Tools

Calculators, generators & server tools

🧱

Item Database

Browse all Minecraft items, stats & recipes

⚒️

Crafting Recipes

Visual crafting guides for every recipe