Install a Minecraft Modpack on Your Server

Choose a compatible server pack, match Forge or Fabric versions, back up your world, and test a modded Minecraft server.

Most failed modpack servers fail for the same few reasons: the client files were uploaded instead of the server pack, the loader or Java version doesn't match, or the pack needs more memory than the server has. This guide walks through installing a modpack on a Minecraft Java server in an order that avoids those problems, and shows how to roll back if something goes wrong.

If you don't have a server yet, modded plans are on the modded Minecraft hosting page.

Choose the server pack, not the client files

A modpack you play has two sides: the client (what each player installs) and the server. They are not the same set of files.

  • Use the pack's server files. Many packs on CurseForge and Modrinth publish a separate server pack or server files. Download the one that matches the exact pack version your players use.
  • Don't upload your client instance. Client-only mods (minimaps, shaders, performance or UI mods meant for the game window) can crash a dedicated server or stop it from starting.
  • Write down the versions: pack version, Minecraft version and loader version. Every player must use the same pack version as the server.

If a pack has no server files, building a server pack yourself is possible but slower: you have to identify and remove client-only mods by hand. Expect some trial and error.

Match Minecraft, loader and Java requirements

Three versions have to line up:

  1. Minecraft version. Set by the pack.
  2. Mod loader and its version. For example Forge, NeoForge or Fabric. Use the loader version the pack specifies, not simply the newest.
  3. Java version. Newer Minecraft versions need newer Java. For example, Minecraft 1.20.5 and newer need Java 21 or later, and 1.18 to 1.20.4 need Java 17. Older packs may need an older Java. The pack's documentation is the final word.

On a hosted server, the Java version and startup command are part of the server's startup settings. Check your panel to see which options your server offers before you install.

Forge, Fabric and Paper are different

  • Forge and NeoForge run Forge-family mods. Fabric mods don't load on them, and the other way round (unless the pack itself includes a compatibility layer).
  • Fabric (and Quilt) run Fabric-family mods.
  • Paper is a plugin server, not a mod loader. Paper plugins aren't mods, and mods don't run on Paper. Paper vs vanilla explains plugins in more detail.

Pick the loader the pack was built for. Switching the server type changes the files the server runs.

Back up, then install with a supported method

First, back up. If the server already has a world you care about, create a backup in the panel and download a copy to your own computer. The backup and restore guide explains how. Installing a modpack over an existing world can change it in ways that can't be undone.

Then install in one of two ways:

Option A: a panel installer. If your game panel offers an installer for your pack and its exact version, that is usually the simplest route. Check your panel for what is available and whether the installer replaces existing files.

Option B: upload the server files yourself.

  1. Stop the server.
  2. Set the server type and Java version to match the pack, if your panel requires it (check your panel's startup settings).
  3. Extract the server pack on your computer and read its instructions. Some packs include an installer you run once, some include a start script, some are ready to run.
  4. Upload the files with the panel's file manager or an SFTP client. The SFTP guide shows how to connect. Large packs upload more reliably over SFTP.
  5. Make sure the server's startup settings point to the file the pack actually starts with. If the console says it can't find the jar file, see Unable to access jarfile.
  6. Accept the Minecraft EULA if the server asks for it on first start.

Start the server and inspect the log

The first start of a modpack takes longer than vanilla, because the loader prepares mods and the world is generated. Watch the console until the server reports that it has finished starting.

Then:

  • Read the log for errors and warnings, especially lines naming a specific mod.
  • Join with a client running the exact same pack version.
  • Check a few of the pack's main mods actually work in game.
  • Watch memory use while one or two players move around, because exploration and world generation are where packs are heaviest.

Version mismatch and memory errors

  • "Mod X requires Y" or a missing dependency: the server files don't match the pack version, or a mod was removed. Compare the server's mod list with the pack's.
  • Client can't join with a mod or version mismatch: the player's pack version differs from the server's. Everyone has to be on the same version.
  • Crash on start pointing at a client-side class: a client-only mod is on the server. Remove it and try again.
  • Server stops with exit code 137 or out-of-memory errors: the pack needs more memory than it has, or the Java heap is set too close to the plan's limit. Read the exit code 137 guide and the RAM guide before changing plans.

Change one thing at a time and restart between changes, so you know what fixed it.

Roll back safely

If the pack doesn't work, or an update broke the world:

  1. Stop the server.
  2. Restore the backup you made before installing, after reading what the restore will overwrite.
  3. Check that the restored world starts and loads as expected.
  4. Tell your players which version to use, because their client pack has to match the server again.

When you update the pack later, repeat the same order: back up, update server and clients to the same version, start, read the log, test.

Running a modded server? See plans for Forge and Fabric packs on the modded Minecraft hosting page.

Minecraft hosting All guides