Forge is the classic mod loader for Minecraft Java Edition and runs large content mods such as Create, Applied Energistics 2, or Mekanism. In this guide, you will set up a Forge server, choose the right Forge build, add mods, connect to it with a Forge client, and keep it up to date.
To follow this guide, you need a Minecraft game server. You can rent a Forge server here and select Forge as the variant when ordering. In that case, you can skip the Installing Forge section.
Players need the Minecraft Java Edition. Forge only runs on the Java Edition, not on the Bedrock Edition.
Before you start, decide whether Forge or NeoForge is the right loader for your mods. NeoForge is a community fork of Forge that was created in 2023. Since then, both loaders have developed separately, and many newer mods and modpacks are only released for NeoForge:
| Forge | NeoForge | |
|---|---|---|
| Best for | Established mods and modpacks, many of them for Minecraft 1.20.1 and older | Newer mods and modpacks, for example All the Mods 10 |
| Mod compatibility | Forge mods only | NeoForge mods only (for Minecraft 1.20.2 and newer) |
| Minecraft 26.x at ZapX | from 26.1 | from 26.1.2 |
Check on your mods' download pages which loader they are made for. The steps in this guide work the same way for NeoForge. If you are still unsure which server type fits your project, compare all options in our guide Installing Mods and Modpacks.
In this section, you will install Forge on your server and choose the matching Minecraft version and Forge build.
- Open your server's management page and go to Games & variants.
- On the Install card, select Minecraft and choose Forge as the variant.
- Select the Minecraft Version your mods are made for.
- Under Forge build, keep Recommended, unless one of your mods requires a specific Forge build. The options are explained in the next section.
- Click Install & activate.
The installation runs in the background and takes a few minutes. If your server is running, it is stopped and restarted with Forge. Connected players are disconnected.
Forge gets its own data folder and starts with a new world. Your previous variant stays installed, and you can switch back to it at any time under Games & variants. Learn more in Switch Games and Manage Variants.
A Forge build is a specific release of Forge for one Minecraft version, for example 47.3.0 for Minecraft 1.20.1. The Forge build field offers the following options:
| Option | What your server uses |
|---|---|
| Recommended (default) | The build that the Forge team marks as stable for your Minecraft version |
| Latest | The newest Forge build for your Minecraft version, which may contain new features and fixes that are not yet marked as stable |
| A build number | Exactly this build, for example if a mod or modpack requires it |
Recommended and Latest are determined again every time your server starts, so your server automatically receives new builds. A build number that you select stays pinned until you change it. If the list is long, you can find a build number via Search builds.
For NeoForge, the field is called NeoForge build. It offers Latest stable version as the default, Latest beta version if a beta exists, and every build number.
If you switch to Forge from another game, the Forge build field is not shown during installation and your server starts with Recommended. You can pin a different build afterwards in the Change version dialog, as described in the Updating Forge section.
If you want to continue playing on your current world, upload it to the Forge data folder. Follow the steps in Managing Worlds to do this. Make sure the world comes from the same or an older Minecraft version.
With Forge installed, head over to the next section to add your first mods.
In this section, you will install mods on your Forge server, either from the mod browser or as your own .jar files.
- Go to the Mods tab. The mod browser only shows mods that are compatible with Forge and your Minecraft version.
- Search for a mod in the Search Mods... field and click Install. Select the Version if needed.
- If the mod lists other mods under Dependencies, install them as well. Some Forge mods require library mods, such as Architectury API or Cloth Config API.
- If your server is running, confirm the restart by clicking Yes, run automatically.
Ready-made Forge modpacks such as RLCraft or Better MC [FORGE] can be installed in one step in the Modpacks tab. The matching Forge version is set up automatically.
- Download the mod file from the mod's page, for example on CurseForge or Modrinth. Choose the file for Forge and your exact Minecraft version.
- Stop your server.
- Open the Files tab or connect via SFTP and upload the
.jarfile to themodsfolder. - Start your server.
Fabric mods do not work on Forge, and NeoForge mods for Minecraft 1.20.2 and newer do not work on Forge either. If the server stops during startup, check the Console for the mod that caused the error.
Your server now runs with mods. In the next section, you will set up the game so that you and your players can join.
Most Forge mods add new content that the game must know as well. Your players therefore need Forge on their computer and the same mods in the same versions as your server. Mods marked Player-only in the mod browser are the exception: they are only needed in the game, not on the server. Click Hide client-side mods to hide them from the list.
Your players set up Forge as follows:
- Download the installer for the same Minecraft version as your server from files.minecraftforge.net. Ideally, use the same Forge build as your server. Java must be installed to run the installer.
- Run the installer, select Install client, and click OK.
- Copy the mods into the
modsfolder of the.minecraftdirectory. - Start the forge profile in the Minecraft launcher.
For NeoForge, the installer is available on neoforged.net. Launchers such as the CurseForge App can do these steps for your players automatically, which is especially convenient for modpacks. How to join the server is explained in Connecting to the Server.
In this section, you will update your server to a new Minecraft version and change the Forge build. Create a backup in the Backups tab before you start. Learn more in Game Server Backups.
- Go to Games & variants.
- On the Installed card, click Change version (clock icon) next to Forge.
- Select the new Minecraft version under New Version and choose the Forge build.
- Click Apply version.
- Update your mods in the Mods tab so that they match the new version.
Switching to an older Minecraft version requires a reinstallation of the variant. All data in this installation folder will be lost, and worlds from a newer version cannot be opened in an older one.
If Forge build is set to Recommended or Latest, ZapX checks for the matching build every time the server starts. You do not need to update it manually.
If you have pinned a build number, open the Change version dialog, keep the Minecraft version, and select another build or Recommended under Forge build. Then click Apply version. Changing the build, especially to an older one, can affect your world and mods, so create a backup first.
A mod does not match your Minecraft version, a required library mod is missing, or a Fabric mod is in the mods folder. The Console shows which mod caused the error. If a dependency is missing, the Mods tab also displays an Installation incomplete message with the missing mod. Install the missing mod, or remove or update the mod that caused the error, and start the server again.
The player's mods do not match the server. Players need Forge for the same Minecraft version and the same mods in the same versions as the server. The easiest way to keep them in sync is to share a modpack or a CurseForge App profile with your players.
The build you pinned is no longer available for your Minecraft version. Click Reset to Recommended below the Forge build field, or select another build number.
Install performance mods such as ModernFix and FerriteCore, or add more RAM via Customize server under Actions. Both mods are available for Forge on popular versions such as Minecraft 1.20.1. For newer Minecraft versions, check the mod browser for a Forge version first, as many performance mods are now only released for NeoForge and Fabric. Further tips can be found in Server Performance Optimization.
Congratulations, you have successfully set up your Forge server, chosen a Forge build, added mods, and learned how to keep it up to date! To expand your server, take a look at our guides on Installing Mods and Modpacks and Simple Voice Chat. Prefer lightweight mods? Our guide How to Make a Fabric Server shows the alternative.
For further questions or assistance, please don't hesitate to contact our support team, which is available daily to assist you! 🙂
