You can run a modded Minecraft server from your own computer without paying, but it requires installing server software, choosing mods, and managing player connections yourself
A modded server lets you and your friends play Minecraft together with custom mods — things like new items, creatures, dimensions, or gameplay changes — all on one shared world. The free route means hosting the server on a computer you already own rather than renting space from a hosting company. Your computer becomes the server, so it needs to stay on while people are playing, and your internet connection carries all the player traffic.
This is different from single-player modded Minecraft, where mods only affect your own game. On a server, every player sees the same mods and the same world changes. Setting one up involves downloading server software, installing mods into it, configuring settings, and telling your friends how to connect.
Key Takeaways
- You need a computer running Windows, Mac, or Linux, Java installed, and enough disk space for the server files and world data — typically 2 to 5 GB to start.
- Most modded servers use Forge or Fabric, which are mod loaders that let you add mods to the server software itself.
- Your friends connect by entering your computer's local network IP address (if they are on the same WiFi) or your public IP address (if they are remote), plus the port number you set.
- The computer hosting the server must stay powered on and connected to the internet while anyone is playing, and performance depends on your computer's CPU and RAM.
- You control who joins, what mods run, and what the world rules are — but you are also responsible for backups, updates, and troubleshooting when things break.
Choosing between Forge and Fabric server software
Forge and Fabric are the two main mod loaders for Minecraft servers. Both let you install mods into the server, but they work differently and support different mod collections.
Forge is older and more widely used. Most popular mods are built for Forge, so if you have a specific mod in mind, Forge is usually the safer choice. Forge servers are heavier on CPU and RAM — they run slower than Fabric on the same hardware. Forge is better for large modpacks with dozens of mods that depend on each other.
Fabric is newer and lighter. It uses less CPU and RAM, so it runs faster on weaker computers. Fabric mods tend to be smaller and more focused — one mod does one thing well. If you want a small, lean server with just a few quality-of-life mods, Fabric is often the better pick. Some popular mods exist only for Fabric, not Forge.
You choose one or the other when you download the server software. You cannot run both on the same server. Start by looking up whether the mods you want exist for Forge or Fabric — that choice usually makes itself.
Downloading and installing server software
Go to the official Forge website (minecraftforge.net) or Fabric website (fabricmc.net) and download the server installer for the Minecraft version you want to play. Minecraft versions matter — mods for version 1.20 do not work on version 1.19, so pick a version that has mods you actually want to use.
Run the installer. It creates a folder with the server files. Inside that folder, you will see a file called eula.txt. Open it in a text editor, find the line that says eula=false, change it to eula=true, and save. This confirms you accept Minecraft's End User License Agreement. Without this step, the server will not start.
Next, create a file called run.bat (on Windows) or run.sh (on Mac or Linux) in the same folder. Inside it, paste this line:
java -Xmx2G -Xms2G -jar forge-server.jar nogui
The -Xmx2G part tells Java to use up to 2 gigabytes of your computer's RAM. If your computer has less than 4 GB total RAM, use 1G instead. If it has 16 GB or more, you can use 4G or 6G. Save the file and double-click it to start the server. The first run takes a minute or two and generates world files.
Installing mods into the server
Mods come as .jar files. You download them and drop them into the mods folder inside your server directory. The server loads them automatically when it restarts.
Find mods on CurseForge (curseforge.com) or Modrinth (modrinth.com). Both sites let you filter by mod loader (Forge or Fabric), Minecraft version, and category. Read the mod description to confirm it supports your version and loader. Download the .jar file.
Stop the server (type stop in the server window), drop the .jar file into the mods folder, then restart the server. The server loads the mod on startup. If the server crashes, check the latest.log file in the logs folder — it usually tells you which mod caused the problem.
Start with just one or two mods to make sure they work. Adding many mods at once makes it hard to find which one breaks things if something goes wrong. Some mods depend on other mods to work — the mod description usually lists these dependencies, and you need to download them too.
Configuring server settings and world rules
Open the server.properties file in a text editor. This file controls basic server behavior. The most useful settings are:
- motd — the message players see when they look at the server in their list. Example: motd=My Cool Modded Server
- max-players — how many people can join at once. Default is 20. Lower this if your computer is weak.
- difficulty — set to 0 (peaceful), 1 (easy), 2 (normal), or 3 (hard).
- pvp — set to true or false. True lets players hurt each other; false turns off player-versus-player combat.
- spawn-protection — the radius around spawn where players cannot break blocks. Set to 0 to turn it off.
Save the file and restart the server for changes to take effect. You can also type commands directly into the server window while it is running — for example, say Hello everyone sends a message to all players, and op playername makes someone an operator so they can use admin commands.
Connecting players to your server
Players on the same WiFi network as your computer can connect using your local IP address. Open Command Prompt (Windows) or Terminal (Mac/Linux) and type ipconfig (Windows) or ifconfig (Mac/Linux). Look for the IPv4 address — it usually starts with 192.168 or 10.0. Tell your friends to open Minecraft, click Add Server, enter that address plus a colon and the port number (usually 25565), and click Done.
Players outside your home network need your public IP address. Go to whatismyipaddress.com and note the IPv4 address shown. This is what the outside world sees as your internet connection. Tell remote friends to use this address plus the port number.
If remote players cannot connect, your router's firewall is probably blocking the port. You need to port forward — tell your router to let traffic on port 25565 through to your computer. Log into your router's admin page (usually 192.168.1.1 or 192.168.0.1 in your browser), find the port forwarding section, and forward port 25565 to your computer's local IP address. The exact steps vary by router brand — search "[your router model] port forwarding" for instructions.
Keeping the server running and backing up your world
The server only runs while the computer is on. If you shut down your computer, everyone gets disconnected and the world stops. For a casual server with friends, this is fine — just tell people when you plan to shut down. For a server that runs most of the time, you need a computer that stays on, which uses electricity and generates heat.
Back up your world regularly. The world data lives in a folder called world inside your server directory. Copy this folder to an external drive or cloud storage (like Google Drive or Dropbox) every week or after big changes. If something corrupts the world or a mod breaks it, you can restore from backup.
Update mods carefully. When a mod releases a new version, download it, stop the server, replace the old .jar file with the new one, and restart. Some updates break compatibility with other mods or change how things work. Test updates on a backup copy of your world first if you are nervous.
Troubleshooting common problems
If the server crashes on startup, check the latest.log file in the logs folder. The error message usually points to a specific mod. Try removing that mod and restarting. If the server runs but players cannot connect, make sure the server window shows "Done" at the bottom — if it is still loading, wait longer. If it shows errors, a mod is probably broken.
If the server runs slowly or lags, your computer does not have enough RAM or CPU power for the number of players and mods you are running. Lower max-players, remove some mods, or reduce the RAM limit in the run.bat file if you gave it too much. Mods that add lots of creatures or block types use more CPU than simple mods.
If players see chunks not loading or blocks disappearing, the world data may be corrupted. Restore from your most recent backup. If you do not have a backup, the world may be partially lost — this is why backups matter.
Frequently Asked Questions
Do I need a powerful computer to run a modded server?
Not necessarily. A computer with 4 GB of RAM and a decent CPU can run a small modded server for two to four players. More players or more mods require more power. If your computer struggles with regular Minecraft, it will struggle with a modded server. You can always start small and add more mods or players later if it runs well.
Can I play on my own server while it is running?
Yes. Open Minecraft on the same computer and connect to localhost or 127.0.0.1 as the server address. You will join the server like any other player. This does use some extra CPU and RAM, so performance may dip slightly.
What happens if I add a mod after people have already played?
If the mod only adds new items or creatures and does not change existing blocks, players can usually join without problems — they just will not see the new stuff until they restart their game. If the mod changes how existing blocks work, players may see visual glitches until they restart. Mods that change the world generation (like new biomes) only affect newly generated chunks, not old ones.
Can I use a hosting company instead of my own computer?
Yes. Companies like Aternos, Nitrado, and Apex Hosting rent server space and let you upload mods. Free options like Aternos shut down the server after 30 minutes of no players, but cost nothing. Paid hosting runs all the time and gives you more control, but costs money monthly. If you want a server that runs 24/7 without keeping your computer on, paid hosting is the trade-off.
What if a mod breaks the world or causes problems?
Stop the server, remove the mod's .jar file from the mods folder, and restart. The world usually stays intact. If the world is corrupted, restore from your backup. This is why backing up regularly is important — mods sometimes have bugs or conflicts that damage world data.