We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Minecraft server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!
Minecraft guide

How to Make a Minecraft Server: Java Edition, Step by Step

By the ChicagoServers team · Updated · 7 min read

To make a Minecraft server you need three things: the server software, enough RAM to run it, and a way for your friends to reach it. You can run all three on your own PC for free, or rent a server that is online around the clock and does not depend on your computer being on.

This guide covers both routes for Minecraft: Java Edition. It starts with the decisions that matter (software and RAM), then walks through setup, the first start, adding players and joining.

Quick answer
  • Pick the software first: vanilla for the pure game, Paper for plugins and better performance, or Forge, NeoForge or Fabric for mods.
  • Plan RAM by use: about 4 GB for a small vanilla server, 6 GB with plugins, 8 GB for a modpack and 16 GB for a large one.
  • On your own PC you must accept the EULA, forward TCP port 25565 on your router and leave the PC on. On a host the panel does those parts for you.
  • Turn on the whitelist before you share the address, and give operator rights to as few people as possible.
  • Players join with Multiplayer, then Add Server, then the address. If the port is not 25565, add it after a colon.
On this page
  1. Step 1: Decide what kind of server you want
  2. Step 2: Choose how much RAM to give it
  3. Step 3: Make the server on a ChicagoServers host
  4. Alternative to step 3: run the server on your own PC
  5. Step 4: Join the server
  6. What to do after the first night
  7. Frequently asked questions

Step 1: Decide what kind of server you want

Everything else follows from this choice, so make it first. All of these run Minecraft: Java Edition, and all of them can be run at home or on a host.

Server typeBest forPlayers need
VanillaThe unmodified game, small groups, a quick startThe same game version, nothing else
Paper (or Purpur)Plugins, claims, economy, minigames and better performanceThe same game version, nothing else
Forge, NeoForge or FabricMods and modpacks that add new blocks, items and dimensionsThe same loader and the same mods installed

Most friend groups should start with vanilla or Paper. Plugins run on the server only, so your friends do not install anything. Mods change the game itself, so every player has to install them. For a detailed comparison read Paper vs Spigot vs Purpur vs Vanilla; for mods read How to Set Up a Modded Minecraft Server.

Step 2: Choose how much RAM to give it

RAM is the setting people get wrong most often. Too little causes lag and crashes. Far too much does not make the server faster and can make garbage collection pauses worse. These starting points match the RAM picker on our Minecraft hosting page:

SetupStarting RAM
Vanilla, a few friendsAbout 4 GB
Paper with pluginsAbout 6 GB
A typical modpackAbout 8 GB
A large modpack or a big communityAbout 16 GB

Number of players, the view distance you allow and the plugins or mods you add all move these numbers. The full reasoning is in How Much RAM Does a Minecraft Server Need?, and the server RAM and slot calculator gives a quick estimate.

Step 3: Make the server on a ChicagoServers host

Hosting is the easier route because the panel handles Java, ports and restarts for you.

  1. Order and open the panel

    Choose your RAM on the Minecraft hosting page and check out. Your server appears in the panel right away. Open it from the server list.

  2. Choose the software and version

    Open the Mods tab and pick the server software (for example Paper, or Fabric for mods) and the Minecraft version. Pick the version your friends will play on. On the same tab, pick the Java version that version needs.

  3. Start the server

    Click Start or Restart at the top of the page and watch the Console tab. The first start creates the world and can take a minute. When you see the line that says the server is done loading, it is ready.

  4. Set the rules

    Open the Configs tab and pick Server properties to change difficulty, game mode, view distance and more, then Save and Restart. Every setting is explained in Minecraft server.properties Explained.

  5. Add your friends

    Open the Whitelist tab and add each player's Minecraft username. To make yourself an operator, type op YourName on the Console tab.

    op YourName
  6. Turn on backups

    Open the Backups tab and set up Automatic backups, then use Back up now before you try anything risky.

Alternative to step 3: run the server on your own PC

Running at home costs nothing extra and is fine for a short test or a LAN party. The steps are the same everywhere; only the folder and commands change.

  1. Install Java

    Install the Java version your Minecraft version requires. Minecraft 1.20.5 through 1.21.11 uses Java 21, and the new 26.x versions use Java 25. Running the wrong one is the most common first-start failure.

  2. Download the server file

    Download the official server .jar from Minecraft's download page, or a Paper build from Paper's site. Put it in its own empty folder.

  3. Run it once, then accept the EULA

    The first run stops and creates eula.txt. Open it and change eula=false to eula=true, then save.

    java -Xms4G -Xmx4G -jar server.jar nogui
  4. Forward the port

    In your router, forward TCP port 25565 to the PC running the server. Without this, only people on your home network can join. Some internet providers use CGNAT and do not allow inbound connections at all, which is covered in Game Server Hosting vs Hosting at Home.

  5. Share your public IP

    Your friends use your public IP address, not the local 192.168.x.x one. Check it with the port checker after the server is running.

Step 4: Join the server

In Minecraft: Java Edition choose Multiplayer, then Add Server, paste the address and click Done. The default Minecraft port is 25565, and it can be left off the address. If the panel shows a different port, add it after a colon, for example 123.45.67.89:25570. Copy the exact address from the top of your server page.

If a player cannot connect, the cause is almost always a version mismatch, the whitelist, or a typo. How to Fix Can't Connect to Game Server Errors goes through them in order.

What to do after the first night

Frequently asked questions

Can I make a Minecraft server for free?

Yes. You can run the free server software on your own PC at no cost beyond electricity. It is only online while your PC is on and the server is running, and you need to forward a port on your router for friends outside your home. A rented server costs money but stays online without your PC.

What port does a Minecraft Java server use?

The default is TCP port 25565. When you host with ChicagoServers the panel assigns the port and shows the full address at the top of your server page, so you only copy and paste it.

How much RAM do I need for a Minecraft server?

About 4 GB for a small vanilla server, 6 GB with plugins, 8 GB for a typical modpack and 16 GB for a large modpack or big community. Players, view distance, plugins and mods all push this up.

Do my friends need to install anything?

Not for vanilla or Paper servers, they only need the same Minecraft version. For Forge, NeoForge or Fabric servers every player must install the same loader and the same required mods.

Can Bedrock players join a Java server?

Not by default. The Geyser plugin lets Bedrock players on phones, consoles and Windows join a Java server. Our Geyser and Floodgate guides explain the setup.

Not sure what a term means? See the game server glossary.

We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Minecraft server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

We offer quality support, a detailed knowledgebase, video tutorials on most topics, and even live support in case you prefer a live human.

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!