Open your hosting company

Enzonic for Resellers

Open your hosting company

How to host a Forge server for your community

Install a Forge server, pick the right Java version, add a modpack, set up permissions and backups, and keep a modded world fast for your players.

Enzonic teamUpdated 7 minute read

Running a Forge server for your community is mostly about three things: matching versions, managing memory, and protecting the world. Get those right and a modded server can run for months with very little drama. Get them wrong and you spend your evenings reading crash reports instead of playing.

This guide walks through installing Forge, the files you will actually touch, how to add a modpack, permissions, performance, backups and updates. If you are thinking about selling Forge servers rather than running one, the Forge hosting business guide covers that side.

What Forge is and when to use it

Forge is a mod loader: it loads mod jars into Minecraft and gives them a shared API so they can add blocks, items, dimensions and mechanics. The server needs Forge and the same mods as your players (minus any client-only mods). It is the loader behind a huge number of modpacks across many Minecraft versions, especially older ones.

Use Forge when the pack or mods your community wants are built for Forge. If you are starting fresh on a recent Minecraft version, check whether your mods are also available for NeoForge, a community fork of Forge; how to host NeoForge for your community explains that path. The loader is decided by the mods, not the other way around.

Step 1: pick the Minecraft version and Java version

Every mod targets a specific Minecraft version, and every Minecraft version needs a specific Java version. Decide the Minecraft version first, based on the pack, then match Java:

Minecraft versionJava to use
1.16.5 and olderJava 8
1.17.xJava 16 or 17
1.18 to 1.20.4Java 17
1.20.5 and newerJava 21

Running the wrong Java version is one of the most common reasons a Forge server refuses to start. If you see errors about class versions or unsupported modules in the first few lines of the log, check Java before anything else.

Step 2: install Forge

Download the installer for your Minecraft version from the official Forge site at minecraftforge.net. Pick the recommended build if there is one. Then run the installer in server mode from an empty folder:

java -jar forge-1.20.1-47.x.x-installer.jar --installServer

Replace the file name with the one you downloaded. What you get depends on the version:

  • Minecraft 1.17 and newer: the installer creates run.sh and run.bat start scripts, a user_jvm_args.txt file for memory settings, and a libraries folder. You start the server with the script, not a jar.
  • Older versions: the installer creates a Forge server jar that you start with java -jar.

Start the server once. It will stop and ask you to accept the Minecraft EULA. Open eula.txt, set eula=true, and start it again.

To set memory on modern versions, edit user_jvm_args.txt:

-Xms4G
-Xmx6G

Those numbers are only an example. A reasonable starting point for a mid-size pack with a handful of players is 6 to 8 GB of maximum heap; light packs need less and large packs need more. Watch real memory use with your players online and adjust.

Step 3: the files you will actually edit

A Forge server folder can look intimidating. These are the parts that matter day to day:

  • server.properties: the standard Minecraft settings. Port (default 25565), motd, max-players, view-distance, simulation-distance, difficulty, white-list, online-mode.
  • mods/: every mod jar the server loads. This is where the pack's server-side mods go.
  • config/: global configuration for each mod, usually .toml or .cfg files.
  • world/serverconfig/: per-world server configs for mods that use them. These are created when the world is first generated.
  • defaultconfigs/: if a pack ships files here, Forge copies them into serverconfig when a new world is created. Edit these if you plan to reset the world.
  • ops.json, whitelist.json, banned-players.json: who is an operator, who can join, who cannot.
  • logs/latest.log and crash-reports/: the first place to look when something breaks.

Step 4: add a modpack or your own mod list

If you are using a published modpack, look for its server pack. Pack authors often publish one with only the server-side files and the right configs. Upload it, keep the pack's config and defaultconfigs folders, and use the pack's recommended Forge version.

If you are building your own list:

  1. Pick mods that all target the same Minecraft version and Forge.
  2. Install them on a client first and make sure the game launches and you can load a world.
  3. Copy the same jars to the server's mods folder, leaving out client-only mods such as minimaps, shader loaders, HUD tweaks and sound mods.
  4. Start the server and read the log until it says the server is done loading.

Client-only mods are the classic cause of a server crash on boot. If the crash report mentions a client class, find the mod that owns it and remove it from the server. Players keep it on their side.

Modrinth hosts many Forge mods and packs, and its pages show which loaders and versions each file supports.

Permissions and moderation

Forge has no built-in permissions system beyond vanilla operator levels. You can get a long way with those:

  • op-permission-level in server.properties sets the default level for operators (1 to 4).
  • Give moderators operator status only if they need it, and avoid level 4 for anyone who does not need to stop the server.
  • Turn on the whitelist (white-list=true and /whitelist add <name>) for private community servers.

For finer control, LuckPerms has a Forge build. It lets you create groups such as member, helper and moderator, and give each group exactly the commands that mods expose as permissions. Not every mod supports permission nodes, so test the commands your staff need.

Keep online-mode=true unless you are running behind a proxy that handles authentication. An offline-mode server reachable from the internet lets anyone join under any name.

Performance for a modded world

Modded servers slow down for a few predictable reasons.

World generation

Exploring new terrain is the most expensive thing players do. Pre-generate the area around spawn with a mod such as Chunky before you open the server, and set a world border so the map does not grow forever.

View and simulation distance

Lower simulation-distance first. It controls how far from players entities and machines tick. view-distance controls how far players can see. Modest values make a big difference on modded servers, and most players will not notice.

Find the real cause

Install the spark profiler mod. When the server lags, run a profile and look at what takes the most time: a specific machine, a mob farm, a chunk loader, or a mod with a known problem. Guessing wastes time; profiling usually points at one or two culprits.

Chunk loaders and farms

Tech packs let players keep chunks loaded around automated bases. A few of those are fine. Dozens of them mean the server is ticking half the map all the time. Set a community rule early.

Backups that actually work

A modded world takes a long time to build and only seconds to corrupt. Back up before every update and on a schedule.

For a clean manual backup while the server is running:

save-off
save-all

Copy the world folder (and config, serverconfig and mods if you changed them), then run save-on. Better still, stop the server for the copy if you can.

Keep more than one backup, and test a restore at least once. A backup you have never restored is a guess.

Updating Forge and the pack

Updates are where most worlds get damaged, so slow down:

  1. Read the changelog of the pack or mod. Some updates warn that items or blocks were removed.
  2. Take a full backup.
  3. Replace the mods and configs, keep the world.
  4. Start the server, read the log, and join to check that bases still look right.
  5. Tell players to update their client to the same version.

Never move a world to a different Minecraft version without a backup, and never expect a world to go backwards to an older version.

Running it through a branded panel

If your community wants its own server panel, Enzonic for Resellers gives you one under your name, logo and colors. Panel-only mode skips the storefront: the address serves only sign-in and the customer panel, which suits communities that handle payments elsewhere or not at all.

Your admins get a live console with power controls and resource stats, a file manager and SFTP for uploading packs, a Modrinth installer for mods and modpacks, scheduled backups and restores, scheduled tasks for restarts, and subusers so moderators can help without sharing one account. Switching software takes a backup first and rolls back if the install fails. With Enzonic for Resellers, Forge 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. Servers are placed automatically on Enzonic nodes, or you can connect your own machine running Pterodactyl Wings or Pelican Wings.

You can grant your community a free server; on Enzonic nodes its base price is charged monthly from credits, and new sites get a one-time starting credit of $5.00 after confirming email. Open a site and see the panel features customers expect for the full tour.

Frequently asked questions

Why does my Forge server crash right after it starts?

The most common causes are a client-only mod in the mods folder, a missing dependency mod, or the wrong Java version. Open the newest file in crash-reports or the end of logs/latest.log; the first error usually names the mod.

Do players need the exact same mods as the server?

They need the same mods that add content (blocks, items, entities) at the same versions. They can add client-only mods like minimaps or shaders that the server never sees.

How do I give moderators permissions on Forge?

Vanilla operator levels work for small servers. For groups and per-command control, install the Forge build of LuckPerms and give each staff group only what it needs.

Can I switch my Forge world to NeoForge?

Sometimes, if every mod you use has a NeoForge version for the same Minecraft version. Back up first, swap the loader and the mods, and test on a copy before your players join.

#minecraft#forge#modpacks#server-admin