Packspire
  • Why it works
  • Launchers
  • FAQ
  • Pricing
  • Blog
  • Discord
  • Get help
  • Redeem a code
  • Privacy
  • Terms

For Minecraft 1.21.1 with NeoForge. Not affiliated with Mojang, Microsoft, Modrinth, CurseForge, Prism Launcher or ATLauncher. Launcher names and logos belong to their owners; the Prism Launcher logo is used under CC BY-SA 4.0.

Packspire

Packspire
  • Packs
  • Pricing
  • Blog
BuildBuild my pack
Blog/Playing together

How to add mods to a Minecraft server, step by step

How to add mods to a running Minecraft server. Check its loader, match versions with your friends, leave out client-only mods, fill the mods folder and restart.

6 November 2026 · 7 min read

The short answer

To add mods to a Minecraft server, make sure it runs the same mod loader and Minecraft version as your friends, such as NeoForge for 1.21.1. Back up the world, stop the server, copy the mod .jar files into its mods folder without any client-only mods, then start it again. Everyone needs the same mods and versions.

In this guide

  1. Before you start: back up the world
  2. Step 1: Check your server's loader
  3. Step 2: Match the versions
  4. Step 3: Get the mods from the right place
  5. Step 4: Leave out client-only mods
  6. Step 5: Stop the server, add the mods, start it again
  7. If the server won't start
  8. Join and check
  9. Keep everyone in step
  10. Or start with a pack that's been tested on both sides
  11. Frequently asked questions
  12. Sources

Your server is up and your friends can join. Now you want it running the same mods they have. The good news is that adding them mostly means copying files into one folder. The catch is that the server has to be the right kind first, and the mods have to match on both sides.

Before you start: back up the world

Copy the world folder somewhere safe, or take a backup in your host's control panel. NeoForge's own guide says to back up your world before updating mods, and adding them deserves the same care. It's usually safe, but a backup is what saves you if it isn't.

Step 1: Check your server's loader

Mods need a mod loader, the program that loads them into the game. Each mod file is built for a specific loader, and a NeoForge server won't load a Fabric or Forge file. A plain Minecraft server has no loader at all, so it ignores mods.

On a rented server, the control panel normally shows the server type. On your own server, look in the server folder:

What you seeWhat you have
libraries/net/neoforged/neoforgeNeoForge. The next folder down is named after its version.
A plugins folderProbably Paper or Spigot. These run plugins, which aren't the same as mods.
No mods or plugins folderProbably plain Minecraft, with no loader.
A mods folder but no NeoForge folderCheck the first lines of logs/latest.log, or ask your host.

Paper's documentation is clear that Forge and Fabric mods won't run on it, so a Paper server can't take your friends' mods. If your server has the wrong loader, or none, you need to install the right one. Our guide to making a modded Minecraft server has the NeoForge steps. Bring your world folder across afterwards, and on a rented server, look for a server type or version setting in the control panel.

Step 2: Match the versions

The server and your friends need the same three things:

  • The same Minecraft version. Mods are built for specific versions, so a 1.21.1 mod needs a 1.21.1 server.
  • The same loader. A NeoForge server needs NeoForge versions of each mod.
  • The same loader version, to be safe. NeoForge's numbers follow Minecraft's: 21.1.x means Minecraft 1.21.1. Your launcher's profile settings show which one your friends use.

Step 3: Get the mods from the right place

Playing a modpack? Don't collect the mods by hand. Look for the pack's server pack first, in the exact version your friends play. It's already set up for a server, and our server guide shows where to find one.

Using your own list of mods? The surest way to match is to use the same files your friends have. Open the pack's folder from the launcher (usually an Open folder button) and copy the .jar files from its mods folder. Leave them as .jar files. Don't unzip them.

If you download mods yourself, choose the version made for your exact Minecraft version and loader. NeoForge recommends getting mods from CurseForge or Modrinth, as mod files should only come from sources you trust.

Many mods need another mod to work, often a shared library. Copying your friends' whole mods folder brings those along. If you're picking mods one at a time, check each mod's page for what it requires.

Step 4: Leave out client-only mods

Client-only mods change what a player sees or hears, so they only make sense in a player's game. Dedicated servers don't include the game's client code, so these mods can crash a server while it starts.

  • Sodium and Iris are clear examples. Modrinth lists both as client-only, and says neither is supported on a server.
  • Modrinth's mod pages show whether a mod belongs on the client, the server or both.
  • Labels aren't always right. If a mod adds blocks, items or mobs, it goes on the server and in every player's game.
  • Some mods work on one side alone. spark, for example, can run on just the server. Those mods don't have to match.

Your friends keep their client-only mods. They only stay out of the server.

Step 5: Stop the server, add the mods, start it again

  1. Stop the server. Type stop in the server console, or run /stop in-game if you have full operator permissions. This saves the world, then shuts the server down. On a rented server, use the stop button in the control panel.
  2. Copy the .jar files into the mods folder in the main server folder, next to world. On a rented server, upload them with the host's file manager. If there's no mods folder on a new NeoForge server, it appears after the first start.
  3. Copy the config folder too, if your friends changed any mod settings.
  4. Start the server. Use run.bat or ./run.sh, or your usual start button. Modded servers can take a while. It's ready when the console says Done.

You have to do a full restart. The /reload command only reloads data packs, not mods.

If the server won't start

Open logs/latest.log in the server folder and read from the bottom up, or look for a new file in crash-reports. These NeoForge messages are the common ones:

MessageWhat to do
is a Fabric mod and cannot be loadedYou have the Fabric version. Swap it for the NeoForge one.
is for Minecraft Forge or an older version of NeoForgeYou have the wrong version of the mod. Get the NeoForge build for your Minecraft version.
Mod X requires YAdd mod Y, or the version the message asks for.
incompatibleTwo mods can't run together. Remove one, or use different versions.

If the crash names a client-only mod, take it off the server. If you can't tell which mod is to blame, take out half, try again, and keep halving. Our guide to finding the mod causing a crash goes step by step.

Join and check

Once the server is up, have a friend join. If everything matches, they'll load straight in.

If they get kicked to a screen listing missing mods or versions that don't match, a mod on one side differs from the other. Our guide to the mismatched mod channel list shows how to find the difference.

Keep everyone in step

Matching once isn't enough. Turn off automatic mod updates in everyone's launcher, and change the server and everyone's game at the same time. When a change could affect the world, read how to update a modpack without losing your world first. More mods also need more memory, so check how much RAM your server needs.

Or start with a pack that's been tested on both sides

Matching a server to your friends by hand is fiddly. Packspire builds NeoForge 1.21.1 packs and tests each one on a real server and a real game client, measuring memory as it goes, so the pack's page tells you what to set in your launcher and how much a server needs.

Plan your pack with Packspire, or see how to play modded Minecraft with friends for the other ways to play together.

Frequently asked questions

Where do I put mods on a Minecraft server?

In the mods folder inside the main server folder, next to the world folder. Use the original .jar files, and restart the server so it loads them.

Can I add mods to a vanilla Minecraft server?

Not directly. A vanilla server has no mod loader, so you need to install one first, such as NeoForge. Back up the world before you do.

Can I add mods to a Paper server?

No. Paper runs plugins, and its documentation says Forge and Fabric mods won't run on it. To use mods, you need a server running a mod loader.

Do I have to restart the server after adding mods?

Yes. Stop it and start it again. /reload won't do it, because it only reloads data packs.

Do my friends need the same mods as the server?

Yes, for every mod that adds content, and in the same versions. Client-only mods can stay in their games, and a few server-side mods, like spark, don't need to be on their side.

Sources

  • NeoForge user guide: installing a server, for the mods folder, run scripts, trusted mod sources and backups
  • NeoForge docs: sides, on client code missing from dedicated servers
  • NeoForge docs: versioning, for how NeoForge versions map to Minecraft versions
  • FancyModLoader's English text, for the wording of mod loading errors
  • Paper: adding plugins, for the plugins folder and why mods won't run on Paper
  • Modrinth API documentation, for how mods are marked as client-only or server-side
  • Minecraft Wiki: /stop and /reload, for what each command does

On this page

  1. Before you start: back up the world
  2. Step 1: Check your server's loader
  3. Step 2: Match the versions
  4. Step 3: Get the mods from the right place
  5. Step 4: Leave out client-only mods
  6. Step 5: Stop the server, add the mods, start it again
  7. If the server won't start
  8. Join and check
  9. Keep everyone in step
  10. Or start with a pack that's been tested on both sides
  11. Frequently asked questions
  12. Sources

Build your own modpack. It'll just work.

Tested on a real server before you download it. Updates tested too.

Build my pack
Still stuck?Ask Spire on Discord. It can read your crash log with you, any time.

Build your own modpack. It'll just work.

Pick the kind of game you want, or the mods you already love. Packspire starts it on a real server, fixes what breaks and tests every update before you get it.

Build my pack

Keep reading

  • How much RAM for a Minecraft server? Vanilla and modded

    How much RAM a Minecraft server needs, vanilla or modded, by player count and pack size, with a simple lookup table and a quick way to work it out.Playing together · 6 November 2026 · 6 min read
  • How to make a modded Minecraft server (step by step)

    How to make a modded Minecraft server your friends can join any time: use the pack's server pack or install NeoForge, remove client-only mods, then host.Playing together · 3 November 2026 · 5 min read
  • How to play modded Minecraft with friends (4 ways)

    How to play modded Minecraft with friends, compared: Open to LAN, LAN over the internet with e4mc or Essential, or a server. Plus why Realms can't run mods.Playing together · 3 November 2026 · 5 min read