Skip to main content

Minecraft | Installing Fabric Server and fabric API

Installing Fabric can be a bit confusing as it involves two main components: the Fabric server and the Fabric API mod. Follow the guide below to easily install Fabric and Fabric API.

  1. Stop your server.
  2. Visit https://fabricmc.net/use/server/ and download the latest executable server (.jar) file.
  3. Upload the downloaded file to your server's root directory.

  1. Go to the command line manager and set the command line to standard. Choose the Fabric jar file you uploaded from the dropdown menu.
  2. In the Select Java Version section, choose Java 17 and click Execute
note

This is for Java 1.17 and above.

tip

If you are unsure how to set a specific Java version like Java 17 you can follow this guide

  1. Start the server.
  2. Go to the web console and verify that Fabric is downloading and preparing.
  3. When you see Query running in your server's web console, you can stop the server.
  4. Download Fabric API from https://www.curseforge.com/minecraft/mc-mods/fabric-api.
  5. Move the downloaded jar file into the mods folder.
  6. Start the server.
  7. Verify that the installation is complete.

Common issues

If the server fails to start, it is likely due to the server's Java version set to automatic and some jars cannot be detected automatically.

To resolve this need to set the java version according to the version of minecraft you are running. You can follow this guide on how to change your Java version.