minecraftserver setupguidesbeginner

How to Make a Minecraft Server in 2026 (Every Method Explained)

A complete guide to making a Minecraft server — whether you want instant hosting, a self-hosted setup on your PC, or full control via a VPS. Pick your path and play tonight.

Making a Minecraft server sounds complicated the first time. It isn't — but the right method depends on what you actually want: the fastest path to playing with friends, complete control over your machine, or something in between.

This guide covers all three approaches: using a hosting provider (done in under two minutes), self-hosting on your own PC (free, but requires some setup), and running a VPS (for those who want root access without the home internet limitations). By the end you'll know exactly which path fits your situation and how to follow it.

Java Edition vs Bedrock: Pick Your Version First

Before anything else, decide which edition your friends are playing.

Java Edition runs on Windows, Mac, and Linux. It has the largest modding ecosystem — Forge, Fabric, Paper, Spigot — and is what most PC players think of when they say "Minecraft." If you want mods or plugins, Java is the answer.

Bedrock Edition is the version on consoles (PlayStation, Xbox, Nintendo Switch), mobile, and Windows from the Microsoft Store. Bedrock servers let you host cross-platform games, so your friend on PS5 can play with someone on a phone.

The two editions are not compatible with each other. You cannot connect a Java client to a Bedrock server or vice versa. If your group is mixed, you'll need a Geyser proxy layer — which adds complexity. Most guides, including this one, default to Java Edition. If you need Bedrock, the hosting provider path below handles it without extra setup.

Method 1: Use a Hosting Provider (Fastest — Done in Under 2 Minutes)

If you want to play tonight without touching port forwarding, firewall rules, or Java installations, a hosting provider is the right call.

The way it works: the provider runs the server on their hardware 24/7. You get a control panel to manage it. Your friends connect with your server's IP address. You don't need to leave your PC on, your home internet isn't involved, and DDoS attacks don't take you offline.

How to get started with 3LifeHosting.com:

  1. Go to the Minecraft server hosting page and pick a plan. Plans start at $5.99 your first month — for a vanilla server with 2–5 friends, 2 GB is enough.
  2. Complete checkout. Your server spins up automatically — no waiting, no ticket required.
  3. Open your control panel. Your server IP and port are shown on the dashboard.
  4. Share the IP with your friends and connect.

That's it. No port forwarding, no firewall rules, no "is my IP dynamic" questions. The server runs on our hardware in a Canadian data centre and stays online even when your PC is off.

When this method makes sense:

  • You want to play tonight, not spend the evening troubleshooting
  • Your group plays regularly and wants the server always available
  • You want mod or plugin support without managing a Java install
  • You'd rather pay a few dollars a month than risk your home IP or connection

Method 2: Self-Host on Your Own PC (Free, More Setup)

Running a Minecraft server on your own machine costs nothing beyond your electricity and internet. It works well for occasional play sessions with a small group. The tradeoffs: your server is only online when your PC is on, and port forwarding exposes your home IP to the internet.

Step 1: Check Your System Requirements

For a small vanilla server (2–5 players), you need:

  • RAM: At least 4 GB available to the system, with 2–3 GB to dedicate to the server
  • CPU: Any modern quad-core processor handles vanilla fine
  • Storage: 1–5 GB for the server files and world data
  • Internet: A stable upload speed of at least 5 Mbps. Upload, not download.

If you're running a modpack, double those RAM figures. ATM10 or Vault Hunters needs 8–12 GB dedicated to the server alone.

Step 2: Install Java

Minecraft Java Edition's server requires Java. The version matters.

  • Minecraft 1.21+ requires Java 21
  • Minecraft 1.17–1.20.x requires Java 17
  • Minecraft 1.16.5 and earlier requires Java 8

Download the correct version from Adoptium (the safe, free, open-source build). Install it like any other application. After installing, open a terminal and run java -version to confirm it's working.

Step 3: Download the Minecraft Server JAR

Go to minecraft.net/en-us/download/server and download the latest server.jar file.

Create a dedicated folder for your server — something like C:\MinecraftServer on Windows or ~/minecraft-server on Mac/Linux. Move the JAR into that folder.

Step 4: Run the Server for the First Time

Open a terminal in your server folder and run:

java -Xmx2G -Xms1G -jar server.jar nogui

The -Xmx2G flag sets the maximum RAM the server can use (2 GB here — adjust to match what you're allocating). The -Xms1G flag sets the starting allocation.

The server will immediately stop and generate a eula.txt file. Open it and change eula=false to eula=true. This accepts Mojang's End User Licence Agreement. Save the file, then run the command again. This time the server will fully start and generate your world.

Step 5: Configure server.properties

The server.properties file controls everything about your server. Open it in any text editor. Key settings to review:

SettingWhat it doesDefault
server-portThe port players connect to25565
max-playersPlayer cap20
gamemodesurvival, creative, adventure, spectatorsurvival
difficultypeaceful, easy, normal, hardeasy
motdThe message shown in the server listA Minecraft Server
white-listRestrict to approved players onlyfalse
online-modeVerify accounts with Mojang (set false for cracked clients, not recommended)true

After editing, save the file and restart the server.

Step 6: Port Forwarding

This is the step that trips most people up. By default, your router blocks incoming connections to protect your home network. Port forwarding creates an exception for your Minecraft server.

  1. Find your router's admin panel — usually at 192.168.0.1 or 192.168.1.1 in your browser
  2. Log in (check the sticker on the back of your router for credentials)
  3. Find the Port Forwarding section (sometimes called "Virtual Servers" or "NAT")
  4. Create a new rule:
    • External port: 25565
    • Internal IP: your PC's local IP (find it by running ipconfig on Windows or ifconfig on Mac/Linux — look for the 192.168.x.x address)
    • Internal port: 25565
    • Protocol: TCP (or TCP/UDP)
  5. Save the rule

To find your public IP (what friends use to connect), go to whatismyip.com. Share that IP with your friends. They connect using your.public.ip:25565.

One caveat: most home internet connections have a dynamic IP, meaning it changes occasionally. If friends can't connect one day and they could the previous day, your IP likely changed. You can use a free dynamic DNS service like DuckDNS to give your server a consistent hostname that updates automatically.

Step 7: Whitelist and Op Commands

Once the server is running, open the server console and use these commands:

  • /whitelist add PlayerName — add someone to the whitelist (if white-list is enabled)
  • /op PlayerName — give someone operator (admin) permissions
  • /gamemode creative PlayerName — change a player's game mode

Type help in the console for the full command list.

Method 3: VPS / Cloud Server (Full Control, Technical)

A Virtual Private Server (VPS) gives you a Linux machine in a data centre that you control completely. You SSH in, install Java, run the server JAR, and manage everything yourself. It's always online, your home IP isn't exposed, and you can run whatever software you want.

This is the right path if you're comfortable with Linux and want root access — for example, to run a heavily customised server with specific network configs, multiple servers on one machine, or non-standard software.

The tradeoff: you're responsible for everything. Security patches, Java updates, backups, firewall configuration — all on you. It's more work than a managed hosting provider for similar or higher cost once you account for time.

If you go this route, DigitalOcean, Vultr, and Hetzner all offer Linux VPS plans. Choose Ubuntu 22.04 or 24.04, install Java as described in Step 2 above, and follow the same server setup process. Use tmux or screen to keep the server running after you disconnect from SSH, or write a systemd service unit to manage it.

Adding Mods and Plugins

Once your server is running, you'll likely want to add content. The approach depends on your server software.

Vanilla (no mods, no plugins)

The default server.jar from Mojang. No modifications possible — just the base game. Fine for casual play.

Spigot / Paper (plugins)

Paper is the most popular plugin-capable server software. It's a drop-in replacement for server.jar with significant performance improvements. Download the Paper JAR, rename it to match your startup command, and run it. A plugins/ folder will be created.

Install plugins by dropping .jar files into the plugins/ folder and restarting. Hangar and Modrinth are the reliable sources. Popular plugins: EssentialsX (basic server management), WorldEdit (terrain editing), LuckPerms (permissions), Dynmap (web map).

Forge / Fabric (mods)

Mods work differently from plugins — they modify the game itself. Both the server and every connecting client need the same mods installed.

Download Forge or Fabric and run the installer. It generates a new server JAR. Drop mod .jar files into the mods/ folder. Your friends need the same mod files installed on their Minecraft clients.

If you're running a modpack (like ATM10, Vault Hunters, or a CurseForge pack), download the server pack specifically — it includes the right mod versions pre-configured.

Mods on a hosted server

If you're using a hosting provider, the process is simpler. Most panels have a one-click modpack installer. You select the pack, the server installs it, you share the IP. Your friends install the client-side pack separately (via CurseForge or the Modrinth launcher) and connect.

Keeping Your Server Online 24/7

If you self-host, your server is only up while your PC is running. A few options if you want it always available:

  • Leave the PC on — simple, costs electricity, and assumes your home internet is reliable
  • Use an old laptop or mini PC — a dedicated machine you don't need for other things
  • Scheduled hours — some groups only play at set times; the server only needs to be up then
  • Switch to hosting — the cleanest solution if uptime starts mattering

A managed host like 3LifeHosting.com keeps your server running in a data centre around the clock. No PC left on, no power cost on your side, and your server is available even when you're at school or work.

RAM Requirements Quick Reference

SetupMinimum RAM
Vanilla, 2–5 players2 GB
Vanilla, up to 20 players4 GB
Light modpack4–6 GB
Mid-weight modpack6–8 GB
Heavy modpack (ATM10, Vault Hunters)8–12 GB
Large public server (50+ players)16 GB+

These are server-side RAM figures — your PC or your hosting plan needs to provide this. Client-side RAM is separate.

Which Method Should You Choose?

Here's the honest breakdown:

  • Just want to play tonight with friends? Use a hosting provider. It takes two minutes, costs a few dollars a month, and you won't spend the evening debugging port forwarding.
  • Want to experiment for free with a small group? Self-hosting works. Follow Method 2, accept that it's only online when your PC is on, and keep your expectations calibrated.
  • Running a public or semi-permanent server? Hosting is the better long-term choice. Your home IP, your electricity bill, and your internet upload speed become limitations fast.
  • Technical user who wants root access? VPS is your path — but account for the management overhead.

If you're leaning toward hosting, 3LifeHosting.com plans start at $5.99 your first month, include DDoS protection and automatic backups, and spin up instantly. No contracts, cancel anytime.