Installing Mods on a Server
This guide explains how to install mods on a Minecraft server, using Fabric version 1.21.1 as an example here, with mods sourced from Modrinth.
Prerequisites
- The server is already using software that supports mods (Fabric/Forge/etc)
- Access to the server files through the hosting panel or SFTP
- Mods compatible with Forge/Fabric and the server version
Mod Installation Steps
NOTE: The Example Here Will Use Fabric v1.21.1
1. Find a Compatible Mod
Visit the Modrinth site to find a suitable mod.
-
Use the filters under Game Options:
- Check the version:
1.21.1(Adjust to the server version you're using)
- Loader:
Fabric(Adjust to the server software (egg) you're using)
- Environment:
Server
- Check the version:
-
Choose the mod you want to use. Example: Fabric API
2. Download the Mod
- Click the page of the mod you selected (example: Fabric API)
- Click the Download button
- Select the game version:
1.21.1(Adjust to the server version you're using) - Click Download to download the
.jarfile
3. Import the Mod to the Server
- Access the server files through the panel or SFTP
- Open the folder:
/home/container/mods
- Upload the mod's
.jarfile into that folder
4. Restart the Server
Once the mod has been uploaded successfully:
- Go back to the main panel
- Click the Restart button
- The server will load the mod on startup
Verification
- Check the server log to make sure the mod loaded successfully
- Some mods may require additional dependencies (make sure all required files have been uploaded)
Additional Tips
- Always use a mod version that matches your Fabric and Minecraft version
- Avoid mixing mods from different loaders (for example Fabric and Forge)
- Back up your server before adding new mods to avoid conflicts