In short
To set up a CurseForge modpack server, download the Server Pack that matches your players' client version from the modpack's Files tab, upload it to the server, run the included install script, accept eula.txt, and pick the Java version that matches the Minecraft version. If the server crashes, remove client-only mods from the mods folder. Heavy packs like ATM need 10-12 GB of RAM or more.
In this guide
- What is a modpack server, and how is it different from a regular server?
- Step 1: Download the server pack
- Step 2: Upload the files and run the installer
- Step 3: Pick the right Java version
- Step 4: Remove client-only mods
- Step 5: Plan RAM and CPU for heavy packs
- Settings that keep a modpack server running smoothly
- Fabric and Quilt-based modpacks
- What to watch for when updating a modpack
- Next step: Choose the right server for your modpack
The most reliable way to set up a CurseForge modpack server is to use the Server Pack published by the modpack's developer. It contains the mods that need to run on the server, the config files, and the start scripts. If there is no server pack, you build a server folder from a client install and strip out the mods that only run on the client (client-only mods). The steps below cover both cases, plus choosing the right Java version and planning RAM for heavy packs.
What is a modpack server, and how is it different from a regular server?
A modpack is a curated collection of compatible mods built for a specific Minecraft version and mod loader (Forge, NeoForge, or Fabric). On a modpack server, the modpack version on each player's client must match the version on the server exactly. Even one mismatched mod version causes a “mod mismatch” error when players try to connect.
Unlike Vanilla or Paper servers, modded servers need much more RAM and strong single-core performance, because hundreds of mods run their ticks on the same main thread. If you are wondering how Forge and Fabric differ, see our guide Fabric vs Forge: choosing a modded Minecraft server.
Step 1: Download the server pack
- Open the modpack's page on the CurseForge website and go to the Files tab.
- Select the version your players will use. It must be the same as the modpack version on their clients.
- On the file page, find the Additional Files or “Server Pack” section and download the ZIP file, which usually has
ServerorServerFilesin its name. - Unzip it on your computer and check the contents: you should see
mods,config, anddefaultconfigsfolders, plus scripts such asstartserver.sh,start.bat, orrun.sh.
Some packs do not ship a server jar. Instead, the script downloads and installs the Forge or NeoForge installer on first run. Always read the README or instructions file inside the pack, because the install method varies from pack to pack.
Step 2: Upload the files and run the installer
Upload the server pack contents to your server's root directory. If you use a game control panel, you can transfer the files through the web panel. For large packs, uploading the ZIP as a single file and extracting it on the server is much faster.
If the pack includes an installer, install the Forge or NeoForge server on Linux with this command:
java -jar forge-1.20.1-47.x.x-installer.jar --installServer
For Forge/NeoForge on Minecraft 1.17 and later, the server is not started from a single jar. It starts with the generated run.sh (Linux) or run.bat (Windows) script. RAM is set in the user_jvm_args.txt file that the script reads:
# user_jvm_args.txt
-Xms10G
-Xmx10G
On first run, the server shuts down and creates an eula.txt file. To accept the Minecraft EULA, change the line in the file to:
eula=true
Then restart the server. The first startup of a modpack server can take several minutes depending on the number of mods; wait until you see the Done line in the console. The default connection port is 25565.
Step 3: Pick the right Java version
The most common mistake with modpack servers is starting them with the wrong Java version. The Minecraft version the modpack is built on determines which Java you need:
| Minecraft version | Required Java | Example packs |
|---|---|---|
| Older versions, including 1.12.2 and 1.16.5 | Java 8 | RLCraft (1.12.2), older SkyFactory versions |
| 1.17.x | Java 16 or 17 | Only a few packs |
| 1.18 – 1.20.4 | Java 17 | Most packs based on 1.20.1 |
| 1.20.5 and later | Java 21 | Current NeoForge packs |
Forge builds for 1.16.5 and earlier usually won't start on newer Java versions. If you see errors like “Unsupported class file major version,” downgrade Java. To check your version:
java -version
Step 4: Remove client-only mods
A client-only mod is written to run only on the player's computer and relies on client code such as graphics, UI, or sound. That code doesn't exist on the server side, so a mod like this crashes the server. Official server packs usually have these mods removed already, but if you are building a server from a client folder yourself, this step is critical.
Finding the client-only mod from the crash message
On Forge and NeoForge, the typical error looks like this:
Attempted to load class net/minecraft/client/... for invalid dist DEDICATED_SERVER
The stack trace above the error line contains the mod ID or package name. Move that jar out of the mods folder and try again. Crash reports are written to the crash-reports folder, and the detailed log goes to logs/latest.log.
Common types of client-only mods
- Graphics and shader mods: OptiFine, Oculus, Iris, Embeddium, Rubidium, Sodium
- Client components of minimap and world map mods
- UI and menu mods: menu customizers, tooltip display mods, F3 screen mods
- Animation, camera, and sound effect mods
- Mods that only optimize client-side rendering, such as Entity Culling
Treat this list as a list of suspects, not a hard rule. Some mods, like JEI, run on both the client and the server and should not be removed. If you are not sure about a mod, check the description on its CurseForge page.
Step 5: Plan RAM and CPU for heavy packs
On a modpack server, RAM needs grow with the number of mods, the number of players, and the size of the explored world. The values below are not hard limits; they are starting recommendations commonly used in practice:
| Pack type | Example | Recommended server RAM (guideline) |
|---|---|---|
| Light pack (50-100 mods) | Small adventure or tech packs | 6-8 GB |
| Medium pack, older version | RLCraft (1.12.2) | 6-8 GB, more on a busy server |
| Kitchen-sink packs (300+ mods) | All the Mods (ATM) series | 10-12 GB or more |
| Heavy pack + more than 10 players | ATM, large tech packs | 16-24 GB |
Because RLCraft is based on 1.12.2 and runs on Java 8, it usually doesn't benefit from very large heap values; the real bottleneck there is single-core speed. Packs with hundreds of mods like ATM need both memory and CPU: to run an ATM-based server comfortably with a few friends, the OB-MC-5 Minecraft server plan with 16 GB of RAM is a sensible starting point. As your player count grows or you build automation across multiple dimensions, the OB-MC-6 modpack server with 24 GB of RAM and 8 cores leaves more headroom.
One important rule: don't assign all of your plan's RAM to -Xmx. Java also uses memory outside the heap, so leave 1-2 GB free. We cover how to tune JVM parameters in detail in our guide Minecraft JVM settings with Aikar's Flags.
Settings that keep a modpack server running smoothly
- Pre-generate the world: On modded servers, generating new chunks is the most expensive operation. If your pack supports the Forge/Fabric version of Chunky, generate the map before players join.
- Lower view-distance: In
server.properties, a range of 6-8 is a reasonable starting point for modded servers. - Limit chunk loaders: In the config of mods like FTB Chunks, cap the number of loaded chunks per player.
- Take backups: Make a full backup of the world folder before updating the modpack; removing a mod can permanently delete blocks from the world.
Fabric and Quilt-based modpacks
Setup is a little different for Fabric modpacks. If there is no server pack, download Fabric's official server launcher for the Minecraft and Fabric Loader versions the modpack uses and place it in the server folder. The launcher downloads the required libraries on first run:
java -Xms6G -Xmx6G -jar fabric-server-launch.jar nogui
Fabric modpacks can also run into client-only mod problems, but the error message is different: it usually reports an “environment” mismatch or a missing client class for a mod. Fabric Loader often skips mods whose fabric.mod.json declares only the client environment automatically on the server. Even so, the cleanest approach is to never put Sodium, Iris, and similar rendering mods in the server folder at all.
Once setup is done, announce the modpack name and exact version number to players along with the server address. Most connection problems come from a player trying to join with a different modpack version.
What to watch for when updating a modpack
- Stop the server and back up the world.
- Download the new server pack; delete the old
modsfolder completely and put the new one in place. Leaving old jars behind causes duplicate mod errors. - If you customized any files in the
configfolder, move only those back. - Tell players to update their clients to the same version.
If the server crashes on startup due to running out of memory, go through the checks in our Minecraft OutOfMemoryError fix guide.
Next step: Choose the right server for your modpack
Once your server pack is ready, all that's left is running it on enough resources. OyunBulut Minecraft plans run in our Istanbul data center and come with NVMe SSD storage, DDoS protection, automatic setup, and a web panel; if you run into problems, you can get support through a support ticket. Small plans are enough for light packs, while starting at 16 GB for ATM and similar heavy packs keeps the server comfortable from day one. Compare all options on the Minecraft server plans page, and get started right away with OB-MC-5 or OB-MC-6 depending on the size of your modpack.
Frequently asked questions
What should I do if a CurseForge modpack has no server pack?
Install the modpack on a client with the CurseForge app, copy the mods and config folders, install a Forge, NeoForge, or Fabric server of the same version, and remove the client-only mods. Then start the server and clean out any remaining client mods based on the crash reports.
How much RAM does an ATM modpack server need?
For packs with more than 300 mods, like the All the Mods series, the general recommendation is at least 10-12 GB of RAM. If you have more than 10 players or heavy automation, 16-24 GB is a more comfortable range.
Which Java version does an RLCraft server use?
RLCraft is based on Minecraft 1.12.2 and should be run with Java 8. Newer Java versions are usually incompatible with that Forge version.
Why do players get a mod mismatch error when joining the server?
The modpack version on their client is different from the version on the server. Players need to select the same modpack version as the server in the CurseForge app.
What happens if I leave a client-only mod on the server?
The server usually crashes on startup with an error like 'invalid dist DEDICATED_SERVER'. Just move the mod named in the error out of the mods folder and restart the server.