Home/Guides/Start a Minecraft Server
Beginner guide · 15 min read

How to start a Minecraft server in 2026

The honest version: what actually works, which flags matter, and how to have players connected in about 15 minutes — without paying for anything you do not need.

By Unique TeamUpdated January 2026Minecraft 1.8 – 26.3

1. Choose your server software

Vanilla Minecraft server software works, but it is slow and has no plugins. For almost everyone, Paper is the right answer: it is a drop-in replacement for Spigot that fixes bugs, optimizes performance aggressively and supports the entire plugin ecosystem.

  • Paper — the default choice. Best performance, huge plugin support.
  • Purpur — Paper plus hundreds of gameplay toggles. Pick it if you want to tweak mechanics without writing a plugin.
  • Fabric / Forge / NeoForge — required when your modpack needs real mods (Cobblemon, Pixelmon). No Bukkit plugins.
  • Vanilla — only for pure survival with friends and zero customization.

Download Paper for 26.3 from its official site, put the jar in an empty folder, and run it once. It generates server.properties, eula.txt and the world folders.

2. Install the right Java version

This trips up more people than anything else. The rule of thumb:

Minecraft versionJava needed
1.8.8 – 1.16.5Java 8 (some work on 11)
1.17 – 1.18.2Java 17
1.19 – 1.20.4Java 17
1.20.5+ / 1.21.x / 26.xJava 21

Run java -version in a terminal to check what you have. If you host several servers on different versions, install multiple JDKs and point each launch script at the correct java.exe path — our start.bat generator lets you paste the full path.

3. How much RAM to allocate

More RAM is not better. The JVM gets slower when it has to clean a giant heap. Realistic targets:

  • Small vanilla/Paper server (2–10 players): 2 GB
  • Minigame server (SkyWars, Survival Games): 2–4 GB per server process
  • Modded (Cobblemon/Pixelmon) with 10–30 players: 6–8 GB
  • Never give the server all your machine's RAM — leave 2 GB for the OS.
Set -Xms equal to -Xmx on large servers so the heap does not resize mid-game. On small ones, half the max is fine.

Not sure? Use the built-in calculator in our free start.bat generator: enter your total RAM and it fills in sensible values.

4. Aikar flags: do they actually help?

Yes — on Paper/Spigot servers with 4 GB or more. The Aikar flag set tunes the G1 garbage collector for Minecraft's specific memory pattern (lots of short-lived entities), reducing the lag spikes you see when chunks load or mobs spawn.

-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M
-XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1

Copy them from the generator instead of typing them by hand — one wrong character and Java refuses to start.

5. Create your start.bat

A minimal Windows launcher looks like this:

@echo off
title Minecraft Server
cd /d "%~dp0"
:start
java -Xms1G -Xmx4G [Aikar flags] -jar server.jar --nogui
timeout /t 5 /nobreak >nul
goto start

The cd /d "%~dp0" line matters: without it, double-clicking from Explorer can make the server look for files in the wrong place. The loop restarts automatically after a crash.

Don't want to write this? Our start.bat generator builds the whole file — Windows, Linux, Dockerfile and systemd service — with validation for RAM and Java mismatches.

6. Port forwarding & making it public

For friends to join from outside your network you need to open port 25565 TCP:

  1. Find your machine's local IP (ipconfig on Windows).
  2. In your router admin panel, add a port forward: external 25565 → internal 25565 on that IP.
  3. Give players your public IP (whatismyip.com) or a free dynamic DNS hostname if your ISP changes IPs.

If your ISP uses CGNAT (common with mobile/fiber plans), port forwarding will silently fail. In that case, a hosting panel like BisectHosting is cheaper than pulling your hair out — we use and recommend Bisect with code uniquesetups (25% off).

7. MOTD, icon and first impressions

Players judge your server in the multiplayer list before they ever connect. Two things decide it:

  • The MOTD — two lines of text under your server name. Colors, gradients and a clear promise ("Custom enchants · Season 4 · 1.21"). Build yours in the free MOTD creator and paste the result into server.properties.
  • The icon — a 64×64 PNG named server-icon.png in the server root. The MOTD tool includes an icon preview uploader.

8. The fast path: skip all of it

If reading the steps above made you yawn, that is the point of our setups: every product ships as a complete, tested server — plugins configured, economy balanced, crates tuned, install guide included. Buy it on BuiltByBit, upload the folder, run your start.bat, and open the server tonight.

Popular starting points:

Launch tonight, not next weekend

Pick a ready-made setup: instant download, free updates and 24/7 Discord support.

Browse all setups