DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
VGSources
Blog

How to Host a Modded Minecraft 1.20.1 Server

A practical, version-specific guide to hosting a modded Minecraft Java 1.20.1 server, covering Forge and Fabric installation, Java 17, EULA setup, RAM, networking, backups and common errors.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To host a modded Minecraft Java Edition 1.20.1 server, install Java SE 17, create a server for the same loader and Minecraft version as the modpack, run it once, set eula=true in eula.txt, allocate suitable memory, and forward TCP port 25565 if people outside your home network will connect. Every player must use the matching modpack version, while client-only performance mods remain on individual computers.

The exact files and startup command depend on whether the pack uses Forge or Fabric. Treat the pack author’s server bundle as authoritative when it includes a launch script or a required Java version.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What you need before installing

Prepare these items before creating the server directory:

  • A computer that can remain powered on while people play. It must have enough free RAM and storage for the world, logs, backups and downloaded mods.
  • Java SE 17 installed on the operating system. Minecraft Java Edition 1.20.1 lists Java 17 as the minimum. Do not assume the Java bundled with a game launcher is available to a standalone server.
  • The exact modpack name, Minecraft version, loader (Forge or Fabric), loader build requested by the pack, and any server files supplied by its author.
  • Router access if players outside your local network need to join. The normal Minecraft server port is TCP 25565.
  • A separate folder for the server. Keeping server files out of the client installation makes backups, upgrades and troubleshooting safer.

Check the pack’s documentation first. Some packs include a Windows run.bat, a Linux/macOS start.sh, configuration files and a curated server download. In that case, use those files rather than replacing them with a generic launcher command.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Install and verify Java 17

Open a terminal or Command Prompt and run:

java -version

The output should identify a 17.x runtime. The server uses the Java installed on the machine, not a launcher’s private runtime. If the command is not found, install a 64-bit Java SE 17 distribution, reopen the terminal, and run the check again. On a machine with several Java versions, use the operating system’s Java selection tools or an absolute path in your start script so the server consistently uses 17.

Some community reports describe startup errors with JDK 22 on Forge 1.20.1, while other guides mention Java 21. Those reports are not a blanket compatibility guarantee. Use Java 17 unless the specific pack documentation names another tested version; changing Java is one of the first troubleshooting steps when a newly installed server exits immediately.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Match the loader, Minecraft version and modpack

Forge and Fabric are different mod-loading platforms. A Forge pack requires a Forge server; a Fabric pack requires a Fabric server. Neither loader can substitute for the other, and a 1.20.1 pack must not be pointed at a 1.20.2, 1.20.4 or other-version server.

Pack type Server installation Important extra
Forge 1.20.1 Run the Forge installer for Minecraft 1.20.1 and choose the server-install option in an empty server folder. Use the generated Forge launcher files or the pack’s supplied script. Do not mix Forge and Fabric mods.
Fabric 1.20.1 Run the Fabric installer, select the Server tab, choose Minecraft 1.20.1, and install into the server folder. Install the Fabric API version required by the pack in the server’s mods folder, unless the pack bundle already includes it.
Pack with a server bundle Extract the bundle to a new folder and follow its included run.bat or start.sh. Respect its documented Java version, memory flags, required environment variables and file layout.

Download the loader and mods from their official project pages or the distribution named by the pack author. Exact installer and loader build numbers change, so verify that the selected build explicitly supports Minecraft 1.20.1.

Forge 1.20.1 server setup

  1. Create the folder. Make a new directory such as Minecraft-1.20.1-Forge. Avoid a path that is synchronized or aggressively scanned by backup software while the server is running.
  2. Run the Forge installer. Choose the server-install option, select the new directory, and let the installer download the required vanilla and Forge files. If the installer offers a choice of Forge builds, use the build specified by the modpack.
  3. Copy the pack’s server files. If the author supplies a server download, merge it into this folder as instructed. Keep the supplied configuration files, scripts and mod versions together.
  4. Start once. Run the generated Windows script or Linux/macOS script. The first launch normally creates configuration files and then stops because the EULA has not been accepted.
  5. Accept the EULA. Open eula.txt, change eula=false to eula=true, save it, and restart the same script.
  6. Install mods. Put only Forge-compatible server mods in mods. A mod that is marked client-only, such as a rendering or HUD enhancement, generally stays on players’ computers and should not be forced onto the dedicated server.

Modern Forge installations often manage the correct libraries and class path through their generated script. Starting an arbitrary jar instead of that script can omit required arguments and produce misleading “missing class” or dependency errors.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Fabric 1.20.1 server setup

  1. Create a clean directory. Use a separate folder for this Fabric instance so its world and configuration cannot be confused with a Forge installation.
  2. Install the server. Open the Fabric installer, select Server, choose Minecraft 1.20.1 and the loader version required by the pack, then select the folder.
  3. Add Fabric API. Place the matching Fabric API jar in the server’s mods directory. Many Fabric mods depend on it; a pack’s server bundle may already contain it.
  4. Copy the modpack. Add the server-side and common mods supplied for the exact pack version. Do not copy a client-only collection blindly.
  5. Launch once and edit the EULA. Start the generated launcher, open eula.txt after it stops, set eula=true, save, and launch again.
  6. Use the generated launcher. A typical Fabric installation may use a file named fabric-server-launch.jar. If you need a direct command, an example is java -Xms4G -Xmx6G -jar fabric-server-launch.jar nogui; change the memory values to suit the pack and retain any arguments supplied by its documentation.

If Fabric reports a missing dependency, read the first error naming a mod and install the required version for 1.20.1. Do not solve a dependency error by downloading a similarly named mod for another Minecraft version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Complete the first launch and server configuration

After accepting the EULA, allow the server to finish generating its world. Stop it with the console stop command before editing files. Important files include:

  • server.properties — port, difficulty, game mode, view distance, simulation distance, online-mode and other server settings.
  • ops.json — operator permissions. Grant operator status only to trusted accounts.
  • whitelist.json — an allow-list for private servers. Enable the whitelist in the console or properties file, then add player names.
  • world (or the configured level name) — the generated world. Never copy or delete it while the server is running.
  • logs/latest.log — the first place to inspect a crash, failed mod load or connection problem.

The official Minecraft EULA permits installing server software to host online play. It also places conditions on distributing modified server software; mods are a separate category. Read the current EULA before redistributing a complete server package.

Allocate RAM deliberately

The Minecraft Wiki lists 1 GB as a basic server allocation and gives an example using -Xmn 128M -Xmx1G. Its setup tutorial recommends at least 2 GB for a small server. Modded instances usually need more, but there is no reliable “RAM per mod” formula: world size, entity counts, generation, view distance, player count and the behavior of individual mods matter as much as the mod count.

Starting point When it may fit How to treat it
2–4 GB Small test server or a lightly modded pack with a few players. A starting allocation, not a guarantee. Watch the log and in-game pauses.
4–6 GB Moderate pack and several simultaneous players. Increase only when monitoring shows memory pressure; unused heap is not automatically useful.
8–12 GB Large content pack, extensive world generation or a busier group. Secondary guides recommend ranges like this, but their figures conflict and are not official benchmarks.

Set both heap flags in the launch script. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
java -Xms4G -Xmx6G -jar fabric-server-launch.jar nogui

-Xms is the initial heap and -Xmx is the maximum. Some guides set them equal to reduce heap resizing; doing so reserves that memory immediately, so leave the operating system and other applications adequate headroom. Never allocate more RAM than the machine can sustain without swapping.

Increase memory only after checking the symptom. A crash mentioning an out-of-memory condition supports a larger heap or a mod investigation. Long pauses with a healthy heap can instead indicate CPU limits, chunk generation or an overloaded disk. More RAM cannot fix an incompatible mod.

Start scripts for Windows and Linux

Windows

Use the run.bat supplied by Forge, Fabric or the modpack whenever one exists. To add memory, edit the script’s existing -Xms and -Xmx values rather than deleting its loader arguments. Add pause at the end only while diagnosing a window that closes immediately, so the error remains visible.

Linux or macOS

Run the supplied start.sh. If the script is not executable, grant permission with:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
chmod +x start.sh

Launch it from the server directory, not from a different working directory. A terminal multiplexer or service manager can keep the process attached after you disconnect, but configure automatic restarts carefully: a broken configuration should not be restarted in a rapid loop.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Safe shutdown

Type save-all if you want an explicit save, then stop. Killing the process or closing the terminal can corrupt chunks and lose player progress.

Install the correct client and server mods

Every player needs the same Minecraft version, loader family, loader-compatible mod versions and pack configuration. A client with an extra content mod may fail to connect or create a different gameplay state. A server with a client-only visual mod may fail during startup.

Mod category Where it normally belongs Connection impact
Content, blocks, items, mobs or world generation Server and every participating client, with matching versions. Usually required on both sides.
Server administration or performance mod Server, unless its documentation also requires a client component. Follow the mod’s stated side; never infer from its name alone.
Rendering, shader, HUD or input enhancement Client only in many cases. Keep it off the dedicated server unless the author explicitly labels it common or server-side.

Keep a written pack version or export file for the group. When updating, back up the world, test the new set in a copy, and have every player update before opening the public server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Make the server reachable on port 25565

  1. Give the host a stable local address. Create a DHCP reservation in the router or configure a suitable static address so a reboot does not invalidate the forwarding rule.
  2. Allow the Java process through the host firewall. Permit inbound TCP 25565 on the network profile you actually use. Do not disable the firewall globally.
  3. Create the router rule. Forward external TCP port 25565 to the host’s local IP and port 25565. UDP is not required for ordinary Java server connections.
  4. Leave server-port=25565 unless you have a reason to change it. If you choose another port, forward that port and tell players to include it after the address.
  5. Test from outside the home network. A friend on another connection is a better test than entering the public address from inside the same router, because some routers do not support hairpin NAT.

Players on the same home network can usually connect with the host’s local IP. Remote players use the public address and port. If the router has carrier-grade NAT, double NAT or an ISP policy that blocks inbound connections, ordinary forwarding may not work; ask the ISP for a public IPv4 address or use a documented tunnel or virtual-network solution instead.

Never publish the server’s administrative credentials. Use whitelist and operator controls, keep the operating system and Java patched, and take offline backups before changing mods or generating new terrain.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Self-hosting versus a managed server

Choice Advantages Costs and responsibilities
Host at home Full file access, direct control over Java and mods, and no recurring game-server rental fee. You supply power, upload bandwidth, backups, firewall configuration, port forwarding and uptime.
Rent a managed Minecraft server Usually provides a public address, data-center connectivity, web controls and easier always-on operation. Recurring cost, provider-specific limits and less control over the underlying system. Check that the plan supports Forge or Fabric 1.20.1 and your required memory.

The modpack still determines the loader, Java requirement and RAM in either arrangement. A rented machine does not make an incompatible mod list compatible.

Troubleshoot the most common failures

The window closes immediately

  • Run the script from a terminal so the error remains visible.
  • Confirm java -version reports Java 17 and that the script is using that installation.
  • Check that eula.txt contains exactly eula=true.
  • Use the loader’s generated script instead of launching a jar with missing arguments.
  • Read logs/latest.log and the first “Caused by” section, not only the final stack-trace line.

Forge reports a timeout while loading

Heavy Forge packs may need longer loading and login timeouts. A secondary guide suggests adding -Dfml.readTimeout=120 -Dfml.loginTimeout=120 before the -jar argument. Treat this as a pack-specific workaround, not a universal fix; first verify Java, loader build, dependencies and available CPU.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

“Missing mods” or mismatched-mod errors

Compare the server and client mod filenames and versions, including dependencies. Remove client-only files from the server, install required common files on both sides, and ensure that every jar targets Minecraft 1.20.1 and the same loader.

Players cannot connect from outside

  • Confirm the server console says it is listening and that local players can connect.
  • Check the host firewall and the router’s destination IP.
  • Verify the public address has not changed and that the external port matches server-port.
  • Investigate double NAT or carrier-grade NAT if port tests fail despite correct local settings.

Lag, freezes or watchdog crashes

Use the log timestamps to correlate lag with chunk generation, entity-heavy areas or a particular mod. Lower view and simulation distance, limit exploration during initial world generation, remove a recently added mod in a test copy, and monitor CPU, disk and heap usage. Do not delete the world as a first response; restore a backup only after identifying which backup is safe.

Backups, updates and operating practice

  1. Stop the server cleanly before copying its world and configuration.
  2. Keep several dated backups, including one away from the host machine.
  3. Test a mod or loader update on a copied world first. World formats and registries can change, and downgrading after an upgrade may be unsafe.
  4. Record the Java version, loader build, mod list and RAM flags that produced a working instance.
  5. Use a whitelist for a private group and grant operator privileges sparingly.
  6. Review latest.log after updates and after unexplained disconnects.

Frequently Asked Questions

Can I run a 1.20.1 server with Java 21?

Compatibility reports are inconsistent. Unless the modpack author documents and tests Java 21, Java SE 17 is the safer choice for 1.20.1; a newer JDK can introduce loader or mod startup errors.

Do I need to forward a port for players in my house?

No. Players on the same local network can normally use the host computer’s private IP. Port forwarding is for connections arriving from the internet.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does giving the server more RAM sometimes make it worse?

A larger maximum heap cannot fix incompatible mods or CPU-bound chunk generation, and reserving too much memory can force the operating system to swap. Increase the heap only when logs and monitoring indicate memory pressure.

Can I change from Forge to Fabric without deleting the world?

Treat that as a new server instance. The loaders use different mod ecosystems and registries; back up the world, create a separate installation, and do not assume a world made with one loader will load safely with the other.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.