How to host a NeoForge server for your community
Set up a NeoForge server for a modern modpack: version choice, install, config folders, permissions, performance, safe pack updates and backups.
Your community picked a modpack, the pack page says NeoForge, and now someone has to run the server. That someone is you. The good news: NeoForge servers are straightforward once you understand how versions, the installer and the config folders fit together. The part that needs discipline is updates, because modern packs update often and every update is a chance to damage a world you spent weeks building.
This guide covers the full loop: choosing a version, installing, configuring, adding mods, permissions, performance, backups and updates. If you are running an older pack on Forge instead, see how to host Forge for your community.
NeoForge in two minutes
NeoForge is a mod loader for Minecraft Java Edition. It started in 2023 as a community fork of Forge, led by many of the people who had worked on Forge, and the two projects have diverged since. On Minecraft 1.20.1, a lot of mods load on both. On newer versions, mods are built for one loader or the other, and many current packs are built for NeoForge.
What that means for you: the server must run NeoForge, at the exact Minecraft version the pack targets, with the same content mods your players have.
Choosing the version
NeoForge version numbers line up with Minecraft versions. NeoForge 21.1.x runs Minecraft 1.21.1; 20.4.x runs 1.20.4. The first number matches the Minecraft minor version and the second matches the patch.
Practical rules:
- Use the exact NeoForge version the pack recommends. Pack authors test against a specific build.
- If you are building your own mod list, pick the Minecraft version where your must-have mods all exist, then take a recent stable NeoForge build for it.
- Java: Minecraft 1.20.5 and newer need Java 21. Earlier versions NeoForge supports run on Java 17.
Installing NeoForge
Download the installer jar for your version from neoforged.net. In an empty folder, run it in server mode:
java -jar neoforge-21.1.x-installer.jar --installServer
Use the real file name. The installer downloads the libraries it needs and creates:
run.shandrun.bat, the start scriptsuser_jvm_args.txt, where you put memory and JVM flags- a
librariesfolder (leave it alone)
Start the server with ./run.sh. The first run stops and asks you to accept the EULA: set eula=true in eula.txt and start again.
Memory goes in user_jvm_args.txt:
-Xmx8G
That value is an example. A reasonable starting point for a mid-size modern pack with a few players is 6 to 8 GB of maximum heap. Do not give the server every byte of the machine; the operating system and Java itself need room outside the heap. Watch real usage with players online and adjust from there.
Where the settings live
Once the world has generated, you will have three layers of configuration. Knowing which is which saves a lot of confusion.
- **
server.properties** holds vanilla settings:server-port(25565 by default),motd,max-players,difficulty,view-distance,simulation-distance,white-list,online-mode,op-permission-level. - **
config/** holds each mod's global and common settings, usually as.tomlfiles. These apply no matter which world is loaded. - **
world/serverconfig/** holds per-world server settings for mods that use them. They are created the first time the world loads.
There is a fourth folder worth knowing: defaultconfigs/. When a new world is created, NeoForge copies files from here into that world's serverconfig. Packs use it to ship their tuned settings. If you edit a value in serverconfig and later reset the world, your change is gone unless you also put it in defaultconfigs.
When you change a config, restart the server. Some mods reload certain files live, but a restart is the safe assumption.
Adding the pack
From a published pack
Most packs offer a server pack: a download with only the files a server needs. Upload its contents to the server folder, keep its config and defaultconfigs, and install the NeoForge version it names. Modrinth packs show their loader and version on the pack page, and modrinth.com is a good place to browse NeoForge mods and packs.
From your own list
- Build and test the list on a client first. Launch, create a world, walk around.
- Copy the content mods to the server's
modsfolder. - Leave out client-only mods: minimaps, shaders, HUD and sound mods, zoom mods, menu tweaks.
- Start the server and watch
logs/latest.loguntil it reports it is done.
If the server crashes on boot, the crash report in crash-reports/ usually names the mod involved. Client-only mods and missing dependencies are the two most common causes.
Permissions and staff
Out of the box, permissions are vanilla operator levels. For a small trusted group, that is often enough:
- Give staff op only if they need commands, and use
op-permission-levelto keep the default level low. - Use the whitelist for private servers:
white-list=trueinserver.properties, then/whitelist addfor each player. - Keep
online-mode=trueso players are verified with their Minecraft accounts.
When you need groups, install the NeoForge build of LuckPerms. Create a member group, a helper group and a moderator group, and give each the specific commands it needs. Some mods do not expose permission nodes for their commands, so test what your staff will use.
Write down your rules for things that hurt the server: chunk loaders, giant automated farms, endless item storage. It is easier to set limits on day one than to take things away later.
Keeping it fast
Modern packs do a lot of work per tick. Most lag comes from a short list of causes.
- New terrain. Generating chunks is expensive, especially with mods that change world generation. Pre-generate around spawn with Chunky before launch and set a world border.
- Simulation distance. Lowering
simulation-distancereduces how much of the world ticks around each player. It is the single most useful setting on a busy modded server. - Automation. Large machine setups and mob farms that stay loaded around the clock add up. Ask players to keep them reasonable.
- Entities. Item drops and mobs piling up in one place are a classic lag source. Check with a profiler before blaming a mod.
When the server lags, install spark and run a profile during the lag. It shows which mods, entities or chunks take the most time per tick, so you fix the cause instead of guessing.
A scheduled daily restart at a quiet hour clears memory buildup and gives you a natural moment for backups.
Backups
Treat backups as part of running the server, not something you do after a disaster.
- Back up on a schedule, and keep several copies, not just the latest.
- Back up right before every pack update, every NeoForge update, and every config change you are unsure about.
- For a manual backup while running, use
save-offthensave-all, copy theworldfolder, thensave-on. Stopping the server for the copy is safer still. - Restore one backup to a test folder now and then, so you know the process works.
Updating safely
Current packs update often. Here is a routine that keeps worlds intact:
- Read the pack changelog. Look for removed mods, because their blocks and items will vanish from the world.
- Take a full backup.
- If you can, run the new version against a copy of the world first and walk around the main bases.
- Replace
mods,configanddefaultconfigswith the new versions. Keepworld. - Start the server, read the log, then let players in.
- Post the new pack version for players so their clients match.
Never downgrade a world to an older pack or Minecraft version. Going backwards is how worlds get corrupted.
NeoForge behind a proxy
If your community runs several servers behind a proxy such as Velocity, a NeoForge backend needs a proxy forwarding mod so it can accept player data from the proxy. Look on Modrinth for one that supports your NeoForge and Minecraft version, and read how to run a Velocity proxy for your community for the proxy side.
Running it from your own branded panel
Enzonic for Resellers gives your community its own panel under your name, logo and colors. With panel-only mode, there is no storefront: the address serves only sign-in and the customer panel, which fits a community that handles donations or payments somewhere else.
From that panel your admins get a live console with power controls and CPU, memory and disk stats, a file manager plus SFTP for server packs, a Modrinth installer for mods and modpacks, backups and restores on a schedule, scheduled tasks for daily restarts, and subusers for your staff. Changing software takes a backup first, rolls back automatically if the install fails, and can be undone within 14 days.
With Enzonic for Resellers, NeoForge runs on Enzonic nodes in Europe, North America and Asia and on your own Pterodactyl or Pelican Wings nodes, so you can sell it without running any hardware. On Enzonic nodes, servers are placed automatically; you can also connect your own machine running Pterodactyl Wings or Pelican Wings. You can grant your community a free server, with its base price charged monthly from credits on Enzonic nodes, and a new site gets a one-time starting credit of $5.00 after confirming email. Open your site, or read what a game server control panel is first.
Frequently asked questions
Can I use Forge mods on a NeoForge server?
On Minecraft 1.20.1, many Forge mods also load on NeoForge. On newer versions, use mods built for NeoForge. Check each mod's page for the loaders it supports.
How much RAM does a NeoForge server need?
It depends on the pack and player count. A reasonable starting point is 6 to 8 GB for a mid-size modern pack with a few players. Measure with your own players and adjust.
Why do players get kicked with a mod mismatch?
Their client pack is a different version from the server's. Post the exact pack version you run and ask everyone to match it after each update.
Where do I change a mod's settings for my world only?
In world/serverconfig/. To keep those settings for future worlds, put the same files in defaultconfigs/.