Run a CurseForge or Modrinth modpack on a server
Client modpack files are not a server. Use CurseForge server packs or Modrinth's env flags, pick the right Java, and avoid the common first-boot failures.
Quick answer A modpack you play in a launcher is a client install, and a server needs different files. On CurseForge, download the author’s server pack for the same pack version [1]. On Modrinth, the
.mrpackmarks each file with anenvvalue, and anything markedserver: unsupportedmust not go on the server [3]. Then match Java to the Minecraft version, because that is what breaks first: Mojang lists Java 8, 17, 21 or 25 depending on the version [8].
Sources re-read on 2026-11-17. Platform docs change, so treat the linked pages as the live source. Nothing here was run as a server for this post, except where a section says I opened a file.
Which case are you in
| What the pack page offers | What to do | Real example, 2026-11-17 |
|---|---|---|
| A server pack attached to the version you play | Download that file, same pack version as your client | All of Create 1.21.1 v2.7 has All_of_Create_v2.7_serverpack.zip [9]. All the Mods 10 8.6 has ServerFiles-8.6.zip [10] |
A Modrinth .mrpack |
Read env per file, or let a tool apply it |
Cobblemon Official Modpack [Fabric] 1.8.4, below [12] |
| Neither | You assemble it, or use a tool that reads the pack manifest | Pixelmon’s 1.21.1 build lists no server file; the only server files are for 1.16 [11] |
Third row: the options are all third-party tools, covered further down. I have not tried any on Pixelmon.
Why the client files are not a server
Your launcher installs a client instance: the mods, configs and loader your game needs. A dedicated server runs without a game window, so some mods are client-only (Modrinth’s format has a value for exactly this [3]). CurseForge’s tutorial frames the server pack as its own artifact: “Making your modpack work on multiplayer isn’t just about uploading it. It needs a clean setup that server hosts can use easily and without issues” [1]. Its known-issues page also sends people who need help running server packs to that tutorial, or to the community or server hosting suppliers [2].
CurseForge: use the author’s server pack
Per the CurseForge tutorial, a server pack is a ZIP the author prepares from the pack’s install folder [1]. It contains mods and config, plus kubejs if the pack uses it, and may add startup scripts (run.bat, run.sh), a server.properties and a 64x64 px server-icon.png [1]. Authors upload it through “Upload Additional File” on the pack file’s page, and the tutorial says “The pack and server should match pack versions” [1]. The tutorial also mentions ServerPackCreator, an open-source tool by Griefed, for authors who want to automate this [1].
On the live site, a server pack shows up as its own file entry with the same Minecraft version and loader as the client file. For All of Create 1.21.1, the file page says release, 1.21.1, NeoForge, Nov 14, 2026, 290.3 MB, no changelog [9]. Look for “serverpack” or “Server Files” in the file name on the Files tab.
If the author published none, the tutorial does not say what to do. For one worked example of a server pack from a real pack, see setting up an All of Create server or setting up an All the Mods 10 server.
Modrinth: what is inside a .mrpack
A .mrpack is a ZIP with modrinth.index.json at its root [3]. The format page says it is mainly meant for developers implementing the format [3], but three parts matter to a server owner.
Loader and Minecraft version. The dependencies object lists what to install, using IDs minecraft, forge, neoforge, fabric-loader and quilt-loader [3]. The page’s example:
"dependencies": {
"minecraft": "1.18.2",
"forge": "40.1.0"
}
So that pack needs Minecraft 1.18.2 and Forge 40.1.0. The page notes more IDs may be added at any time [3].
The env field. Each entry in files can carry an optional env object with client and server values, each required, optional or unsupported [3]. The page describes "server": "unsupported" as a client-only file that “cannot be installed server side” [3].
overrides and server-overrides. Files in overrides are copied into the instance directory on install. A server-overrides folder is applied afterwards and overwrites the contents of overrides; Modrinth says it exists “to eliminate the need for server packs” [3]. So one Modrinth pack can serve both sides, if your installer honors these fields.
A real one, opened
I downloaded the Cobblemon Official Modpack [Fabric] 1.8.4 .mrpack (published 2026-10-27, a 100 MB file) and counted the env values in its index [12]:
import json, zipfile, collections
z = zipfile.ZipFile("Cobblemon Official Modpack [Fabric] 1.8.4.mrpack")
d = json.loads(z.read("modrinth.index.json"))
print(d["dependencies"])
print(collections.Counter(
((f.get("env") or {}).get("client"), (f.get("env") or {}).get("server"))
for f in d["files"]))
Output on 2026-11-17:
{'minecraft': '1.21.1', 'fabric-loader': '0.20.1'}
Counter({('required', 'unsupported'): 41, ('required', 'required'): 36})
Of 77 downloadable files, 41 are client required and server unsupported (the first three of those, in file order, are particlerain, BetterAdvancements and stendhal), and 36 are needed on both. This file has no server-overrides folder; its 2,436 override entries all sit under overrides/ (2,434 of them in config/). A tool that ignores env would put 41 client-only mods on your server.
Tools that automate it (third-party)
These are not made by CurseForge or Modrinth. I read their docs on 2026-11-17; I did not run them for this post.
-
itzg/docker-minecraft-server (Docker image). For Modrinth it installs a pack plus the loader when
MODPACK_PLATFORM,MOD_PLATFORMorTYPEisMODRINTH, with the pack set byMODRINTH_MODPACK(slug, ID, page URL or a.mrpack) [4]. For CurseForge,AUTO_CURSEFORGEwithCF_SLUGorCF_PAGE_URLinstalls the pack and the loader version it declares [5]. When you pin a specific file withCF_PAGE_URL,CF_FILE_IDorCF_FILENAME_MATCHER, the doc says not to select a server file, because server files lack the manifest the tool needs [5]. It documents an API key: Java 17+ images include one,java8and older tags need your ownCF_API_KEY, and a key containing$must be written$$in a compose file [5]:environment: CF_API_KEY: '<your-curseforge-api-key-with-each-$-doubled>'Both docs describe excluding client mods a pack wrongly includes (
MODRINTH_EXCLUDE_FILES[4],CF_EXCLUDE_MODS[5]), and the Modrinth doc says you may need to iterate on the set [4]. -
mrpack-install (CLI). Its USAGE.md gives the form
mrpack-install <pack> [<version>] --server-dir srv --server-file server.jar, then you writeeula.txtand start the jar [6]. Forge 1.17 and later and NeoForge start withjava @user_jvm_args.txt -jar <file> noguiinstead of plainjava -jar[6]. Running it again with another version updates the directory, backs up files you edited, and leaves your world alone [6]. Pin the version of the tool: v0.23.0 (2026-11-12) changed behavior. A plain re-run no longer repairs files (use--force-sync), andupdatenow takes only a version [6].
Three ways the first boot fails
1. Wrong Java. The itzg Java docs list three distinct symptoms [7]:
java.lang.UnsupportedClassVersionError ... (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0. The doc’s fix is a Java 21 image (re-pulllatestor usejava21).Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader. The doc says you need Java 8, and that Forge versions below 1.18 must use ajava8tag.org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.util.List. The doc says some mods, even up to Minecraft 1.21, require Java 17 and will not run on newer Java.
Minecraft 26.x needs Java 25 [8], so a host that defaults to the newest Java suits vanilla and breaks older packs. A 1.12.2 pack needs Java 8 and some mods up to 1.21 need Java 17 [7]. Use the Java the pack’s start script or pack page asks for.
2. A client-only mod on the server. The crash report names the mod; I do not have a sourced error string, because the text varies by mod. Remove the mod (or exclude it with the tool options above [4][5]) and read our crash report guide to find which file to cut. Do not copy your launcher’s mods folder over a server pack to “fix” it.
3. Mismatched versions. Pack version, loader version and Minecraft version must match the client players use. The CurseForge tutorial says pack and server should match [1]. (My advice, not from a source: tell players the exact pack version before they connect.)
Next
Set the heap from the pack author’s number if there is one; many pages state none, as All of Create and All the Mods 10 do not [9][10]. See how much RAM a Minecraft server needs. For packs worth hosting and what each page lists, see the top 10 modpacks.
What this doesn’t cover
- CurseForge’s manifest format for the client
.zip. I covered only Modrinth’s format, from its page [3]. - ServerPackCreator’s behavior. The tutorial mentions it [1]; I did not read its docs.
- Whether current CurseForge API-key policy changes affect the itzg flow. The doc says a key is bundled on Java 17+ images [5].
- The tools were read, not run, so their variables are as documented.
Questions people ask
Can I upload my CurseForge or Modrinth client modpack to a server as is?
Not as a rule. CurseForge describes a server pack as a specially prepared version of the modpack that can run on a multiplayer server [1], and it points server-pack questions to that tutorial [2]. Modrinth's format lets each file declare whether the server supports it, and a file marked server unsupported cannot be installed server side [3].
What does server-overrides do in a .mrpack?
Modrinth's format page says files in server-overrides are applied after the overrides folder and overwrite its contents, and that it exists to eliminate the need for server packs [3].
How do I know which Java to use?
Start from the Minecraft version. Mojang's manifest lists Java 8 for 1.12.2 and 1.16.5, 17 for 1.18.2, 1.19.2 and 1.20.1, 21 for 1.21.1 and 25 for 26.1 to 26.3 [8]. Then check the pack's own start script, since Forge packs can need an older Java than Mojang does [7].
How much RAM does a modpack need?
Start from what the pack page or its server pack states. Many pages state nothing (All the Mods 10 and All of Create do not), so check the pack's Discord before guessing, and use our RAM sizing post for the general case.
Sources
- CurseForge Blog: Server Packs Tutorial (published May 22, 2025, no update date on the page)
- CurseForge Support: CurseForge known issues
- Modrinth Help: Modrinth Modpack Format (.mrpack) (dated October 7, 2026 on the page)
- itzg/docker-minecraft-server docs: Modrinth Modpacks (third-party tool)
- itzg/docker-minecraft-server docs: Auto CurseForge (third-party tool)
- nothub/mrpack-install USAGE.md (third-party tool, release v0.23.0 of 2026-11-12)
- itzg/docker-minecraft-server docs: Java versions (third-party tool)
- Mojang version manifest (Java version per Minecraft version, read 2026-11-17)
- All of Create server pack file page (CurseForge, read 2026-11-17)
- All the Mods 10 (CurseForge, read 2026-11-17)
- The Pixelmon Modpack files (CurseForge, read 2026-11-17)
- Cobblemon Official Modpack [Fabric] 1.8.4 .mrpack (Modrinth CDN, downloaded and opened 2026-11-17)