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.
- Stop your server.
- Visit https://fabricmc.net/use/server/ and download the latest executable server
(.jar)
file. - Upload the downloaded file to your server's root directory.
- Go to the command line manager and set the command line to
standard
. Choose the Fabric jar file you uploaded from the dropdown menu. - In the
Select Java Version
section, choose Java 17 and clickExecute
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
- Start the server.
- Go to the web console and verify that Fabric is downloading and preparing.
- When you see
Query running
in your server's web console, you can stop the server. - Download Fabric API from https://www.curseforge.com/minecraft/mc-mods/fabric-api.
- Move the downloaded jar file into the
mods
folder. - Start the server.
- 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.