← Back to Blog
By Azion Cloud Team · Updated July 2026 · 11 min read

How to Set Up a Modded Minecraft Server (Forge & Fabric)

Want to play modded Minecraft with friends? This guide walks you through setting up a server with Forge or Fabric — from choosing the right mod loader to installing modpacks and troubleshooting common crashes.

Forge vs Fabric: Which Mod Loader to Choose

Before setting up your server, you need to choose between the two main mod loaders. This decision is important because Forge mods and Fabric mods are not compatible with each other — you can't mix them.

Choose Forge / NeoForge If:

Note: NeoForge is the continuation of Forge for Minecraft 1.20.2+. Most modern Forge mods are migrating to NeoForge. For versions 1.20.1 and earlier, use classic Forge.

Choose Fabric If:

Method 1: Setting Up with a Game Host (Easiest)

If you're using a Minecraft hosting provider with Pterodactyl panel (like Azion Cloud), the process is straightforward:

Step 1: Select Your Server Type

In your Pterodactyl panel, go to Startup settings. Select the egg for your mod loader:

Set the Minecraft version to match your modpack's requirements. For example, All the Mods 9 requires Minecraft 1.20.1 with Forge.

Step 2: Upload Your Modpack

For pre-made modpacks from CurseForge or Modrinth:

  1. Download the server pack (not the client pack) from the modpack's page
  2. Upload the server pack ZIP to your server via the file manager or SFTP
  3. Extract the ZIP in your server's root directory
  4. Make sure the mods/ folder is in the server root alongside the server JAR

For custom mod collections:

  1. Download each mod's .jar file from CurseForge or Modrinth
  2. Upload all mod JARs to the mods/ folder on your server
  3. Ensure every mod is for the correct Minecraft version and mod loader

Step 3: Configure RAM

Modded servers need more RAM than vanilla. Set your server's RAM allocation based on the modpack size:

See our detailed RAM guide for more specific recommendations.

Step 4: Start and Test

Start the server and watch the console output. The first startup takes longer as Forge/Fabric needs to initialize all mods. Once you see "Done!" in the console, the server is ready. Connect with the same Minecraft version and mod loader installed on your client.

Method 2: Setting Up on a VPS (Manual)

If you're running your own VPS, you'll need to set things up manually.

Step 1: Install Java

Different Minecraft versions require different Java versions:

# Ubuntu/Debian — Install Java 21
sudo apt update
sudo apt install openjdk-21-jre-headless -y
java -version

Step 2: Download the Server Files

For Forge:

# Create server directory
mkdir ~/minecraft-server && cd ~/minecraft-server

# Download Forge installer (check https://files.minecraftforge.net for latest)
wget https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.1-47.3.0/forge-1.20.1-47.3.0-installer.jar

# Run the installer
java -jar forge-1.20.1-47.3.0-installer.jar --installServer

# Accept the EULA
echo "eula=true" > eula.txt

For Fabric:

# Download Fabric installer
wget https://maven.fabricmc.net/net/fabricmc/fabric-installer/1.0.1/fabric-installer-1.0.1.jar

# Install Fabric server
java -jar fabric-installer-1.0.1.jar server -mcversion 1.21 -downloadMinecraft

# Accept the EULA
echo "eula=true" > eula.txt

Step 3: Add Mods and Start

# Create mods folder
mkdir mods

# Copy your mod JARs into the mods folder
# Then start the server with appropriate RAM
java -Xms6G -Xmx6G -jar forge-1.20.1-47.3.0-shim.jar --nogui

Troubleshooting Common Issues

Server Crashes on Startup

Mods Not Loading

Players Can't Connect

Server Lag with Mods

Popular Modpacks and Their Requirements

ModpackMod LoaderMC VersionRecommended RAM
All the Mods 9Forge1.20.110-12 GB
All the Mods 10NeoForge1.21.112-16 GB
RLCraftForge1.12.26-8 GB
Better MinecraftForge/Fabric1.20.16-8 GB
Create: Above and BeyondForge1.18.26-8 GB
Vault HuntersForge1.18.28-10 GB
FTB Presents Direwolf20Forge1.20.18-10 GB

Ready to Host Your Modded Server?

Setting up a modded server is more complex than vanilla, but the result is worth it — hundreds of new blocks, machines, dimensions, and gameplay mechanics that transform Minecraft into something entirely new. If you want the easiest setup experience, our Minecraft hosting comes with one-click Forge and Fabric installation through Pterodactyl panel, pre-configured JVM flags, and enough RAM for even the heaviest modpacks.