
How to Host a Custom CurseForge Modpack From a Share Code (2026)
Maksym Savrei
Founder, Piggo
A friend sends you a CurseForge share code. You import it, the custom modpack appears in the CurseForge app, and it launches perfectly on your PC.
Now comes the part CurseForge's share-code feature does not solve for you: turning that client profile into a dedicated Minecraft server so everyone can play together.
A profile code is a convenient way to reproduce a custom CurseForge profile. It is not automatically a dedicated server pack, and it does not mean every mod in the imported profile belongs on a server.
This guide walks through the exact path from share code to working multiplayer server - without repeating the broader CurseForge export guide.
Quick answer: can a CurseForge share code become a server? - Yes, but the share code itself does not create the dedicated server. Import the code into CurseForge first. That gives you the actual custom profile: its Minecraft version, mod loader, mods, configs and other profile files. From there, you either build the server side from that imported profile or send the pack to a host that will prepare it for you.
The important distinction is that CurseForge currently has two different kinds of codes that can sound similar:
- Profile share code: imports a custom modpack/profile into the CurseForge app. CurseForge says these codes are valid for 7 days.
- Server import code: a separate CurseForge Servers feature for joining an already-created hosted server. It imports the modpack plus server connection details; it does not create a new server for the recipient.
This article is about the first one: a custom-profile share code. CurseForge profile sharing documentation

1. What is a CurseForge modpack share code?
CurseForge added profile sharing so people can send private custom Minecraft profiles to friends without publishing the pack as a public CurseForge project.
The pack owner opens the profile, chooses Share Profile, and can generate a code while logged into their CurseForge account. CurseForge's current support documentation says the generated code is valid for 7 days. A new code can be generated later with a new expiration date.
That code is basically a shortcut to importing the shared profile into the CurseForge app. It is useful for a private friend group because everyone can reconstruct the same custom pack without manually installing every mod.
It is not a server credential, server IP, or ready-made server installation. CurseForge profile sharing documentation
Share code is not a server pack - A profile share code recreates the client profile on another PC. Nothing about it prepares a dedicated server, removes client-only mods, or gives your friends a server address to join.
2. How to import the share code into CurseForge
- Open the CurseForge app and go to Minecraft.
- Click Import.
- Choose the option to use a Profile Code.
- Paste the code your friend sent you.
- Click Import and let CurseForge create the profile.
- Launch the imported profile once before doing anything server-side.
Launching it once matters because it confirms that the shared profile itself is valid on the client. If the client profile is already broken, there is no point debugging the server version yet.
If the code has expired, ask the person who created the pack to generate a new one. CurseForge currently gives profile codes a 7-day lifetime.
3. A share code is not the same thing as a server pack
This is the conceptual step that causes most confusion.
The imported CurseForge profile is designed to launch Minecraft on a player's computer. A dedicated server is a different environment.
A proper server pack typically contains a server-compatible mod set, configs and any pack-specific folders such as KubeJS, plus optional server startup files and server.properties.
CurseForge's own server-pack tutorial tells pack authors to prepare a separate server pack from the profile and include folders such as mods, config and kubejs where relevant. CurseForge Server Packs Tutorial
There is another current limitation worth knowing. CurseForge's built-in Servers feature, introduced with hosted-server integration, currently works with modpacks that have a matching server pack. CurseForge's September 2026 documentation says support for arbitrary custom profiles is planned for a future version.
So you cannot assume that a custom profile share code can simply be pasted into CurseForge's Host A Server flow today. CurseForge hosted server setup
4. Start by recording the exact profile environment
Before copying files, write down the environment that CurseForge imported.
- Minecraft version.
- Mod loader: Forge, NeoForge, Fabric or another supported loader.
- Exact mod-loader version where available.
- Java version required by that Minecraft/loader generation.
- Profile version/name so you can keep client and server releases in sync.
Do not install "the latest Forge" or "the latest NeoForge" unless that is actually what the profile uses. A custom pack can depend on a particular loader build, and changing it adds another variable to the troubleshooting.
5. Install a clean dedicated Minecraft server for that loader
Create a fresh server installation using the same Minecraft version and loader as the imported profile.
For NeoForge, the official workflow is to install the selected NeoForge build into a server folder, accept the EULA and launch using the generated run script. NeoForge dedicated server installation
Fabric and Forge have their own dedicated-server setup paths. The key point is the same: create a real dedicated-server environment first instead of turning the client instance folder itself into your server folder.
6. Bring over the server-compatible mods
The imported profile gives you the mod set your friend intended to use. It does not guarantee that every JAR belongs on a dedicated server.
Some mods are client-only: rendering changes, menus, keybind features, shaders, certain HUD mods and other client-side utilities.
Modern mod metadata can explicitly describe this. Fabric, for example, has an environment field that can mark a mod as client-only, server-only or valid on both. Forge also supports clientSideOnly metadata. Fabric environment metadata · Forge mod metadata
Do not mass-delete anything whose name sounds visual. Some mods contain both client and server functionality. Check the mod page, metadata and the first startup error.
7. Do not copy only the mods folder
A custom CurseForge profile can rely on far more than its JAR files.
CurseForge's export format uses a manifest plus an overrides folder, and the overrides can contain config files, scripts, maps, saves, resources and other files the pack needs. CurseForge export documentation
For a server conversion, pay attention to folders such as:
config/defaultconfigs/kubejs/scripts/- datapacks or pack-specific data folders
- other custom resource/config folders created by the mods in the pack
A server can technically boot while still being the wrong modpack if the custom recipes, configs or scripts never made it across.
8. Start the server and fix the first real error
The first boot is where you learn whether the imported profile converts cleanly.
Do not immediately add RAM because the server crashed. Read the first useful error near the root of the startup failure.
Common share-code-to-server problems
- Client-only mod on the dedicated server: typical signs include references to client classes, rendering classes or a dedicated-server side mismatch. Remove or replace the confirmed client-only mod on the server side.
- Missing dependency: a mod may rely on a library or API that was removed while cleaning the server mod list. The loader usually names the missing dependency and required version.
- Wrong Minecraft or loader version: match the imported profile. Do not upgrade Forge/NeoForge/Fabric independently just because a newer build exists.
- Wrong Java version: modern Minecraft/loader generations have specific Java requirements. If the server fails before the mods even initialize, verify Java early.
- Pack works, but recipes/progression are wrong: compare configs, KubeJS, scripts and other profile-specific folders. This is a classic sign that only the mods were transferred.
- Friends cannot join because of mod mismatch: make sure everyone imported the same profile release. If the pack owner changed mods after generating the original code, generate a fresh code or export a new profile so the group stays synchronized.
9. Keep the share code and the server version in sync
A share code is temporary, but the profile it creates can live on indefinitely.
The clean workflow is to treat each meaningful pack update as a release:
- Back up the server world.
- Update the original CurseForge profile.
- Test the updated profile locally.
- Generate a fresh share code or export a fresh profile ZIP.
- Update the server from the same profile version.
- Tell every friend which old profile/version the new one replaces.
This avoids the situation where three people are playing "the same custom pack" but actually have different mod versions.
10. How much RAM does a share-code modpack server need?
The fact that the pack came from a CurseForge share code tells you nothing useful about its RAM requirement.
A 50-mod client/QoL pack can be light. A 350-mod custom kitchen sink with dimensions, world generation, mobs and automation can be heavy.
Size the server around the actual pack, player count, exploration, automation and world age. For large packs, use Minecraft Server Hosting for 300+ Mods: What Do You Actually Need?. If the server boots but then lags, use Why Is My Modded Minecraft Server Lagging? before assuming more memory will fix it.
11. The shortcut: send Piggo the share code or pack
If your goal is simply "my friend made a pack and we want to play it together," you do not have to spend the evening converting the profile yourself.
Send Piggo the CurseForge share code while it is still valid, or send the exported profile/pack files. We can import the profile, inspect the loader and mod set, prepare the dedicated-server side, deal with client-only mods or missing dependencies, and get the first boot running. Piggo custom modpack hosting
If you want the full manual conversion workflow for a pack you built yourself, read How to Turn a Custom CurseForge Modpack Into a Minecraft Server (2026). And if the imported profile turns out to have no official server files at all, No Server Pack Available? How to Host a Minecraft Modpack Anyway (2026) covers that path.
The short version
A CurseForge share code is a convenient way to reproduce a custom profile on another player's PC. It is not a dedicated-server pack.
Import the code first. Record the exact Minecraft and loader environment. Build a clean dedicated server. Move the server-compatible mods plus the configs/scripts the pack actually needs. Then fix the first real startup error instead of guessing.
Or, if you would rather play than convert the pack, send the code or export to Piggo and let us prepare the server side.
Frequently asked questions
GOT A SHARE CODE?
Send it to us. We'll build the server.
Send Piggo the CurseForge share code or exported profile. We'll import the pack, prepare the dedicated-server side, handle client-only mod issues and dependencies, and get it ready for your friends.
- You send the code or pack
- We prepare the server
- You invite your friends
Want to do it yourself? Keep reading - the full guide is here.
Related articles

How to Host Create: Aeronautics With Friends (2026) - Server Setup, RAM & Custom Modpacks
Set up Create: Aeronautics for friends with the matching NeoForge stack, sensible RAM sizing and practical physics troubleshooting.

What to Look for in a Modded Minecraft Hosting Provider (2026)
Compare custom modpack support, CPU performance, sensible RAM sizing and real installation help before choosing a modded Minecraft host.

How to Update a Custom Minecraft Modpack Server Without Losing Your World (2026)
Update a custom modpack server without losing the world: back up everything, keep Pack v1, build Pack v2 separately, sync server and clients, test, and keep a rollback ready.