How to Set Up a NeoForge 1.21 Minecraft Server
NeoForge is a community-maintained fork of Forge that supports Minecraft 1.21.x and newer. It uses the same libraries-based install method as modern Forge. Before starting, connect to your server via FTP.
Note: NeoForge mods are distinct from Forge mods. Make sure the mods you want to use list NeoForge as a supported loader before proceeding.
Steps
- Visit the NeoForge download page and download your preferred version.
- Run the installer JAR. Select Install server and check the Server starter jar box.
- Choose a local folder for the installation files, then click Proceed.
- After installation completes, navigate to
/libraries/net/neoforged/neoforge/[NeoForgeVersion]/inside the installation folder. - Copy
unix_args.txtfrom that subfolder and paste it into thelibrariesfolder (one level up). - Connect via FTP and upload the
librariesfolder andserver.jarto the root directory of your Minecraft server. - In the Minecraft panel, find the JAR File option and select Forge for Java 21+.
- Click Save and restart your server.
Tip: If you want to use Forge instead of NeoForge, see our guide on installing Forge for the version-specific steps.
Troubleshooting
| Problem | Solution |
|---|---|
| Server fails to start | Confirm unix_args.txt is in the libraries folder (not the version subfolder). |
| Mods not loading | Make sure all mods are placed in the /mods folder and are compatible with your NeoForge version. |
| Wrong JAR selected | NeoForge 1.21.x uses the Forge for Java 21+ option in Multicraft. |