All guidesGet a server

Home / Guides

How to make a Minecraft server

By the Bytebath team · Updated October 3, 2026 · 3 min read

Want to play Minecraft with friends on your own world? A server lets everyone join whenever they like. This guide shows you how to make a Minecraft server two ways: on your own computer for free, or with a host that keeps it online 24/7.

What you need before you start

Option 1: Host a server on your own computer

Step 1: Create a folder. Make a new folder called minecraft-server so all the world and config files stay in one place.

Step 2: Download the server file. Get the official server.jar from Minecraft's website, or download Paper from papermc.io if you want better performance and plugin support. Put the file in your folder.

Step 3: Start the server. Open a terminal in the folder and run:

java -Xms2G -Xmx2G -jar server.jar nogui

The first run stops quickly and creates a file called eula.txt. Open it, change eula=false to eula=true, save it, and run the command again. The server then builds your world.

Step 4: Let friends connect. On the same network, friends join using your local IP address. For friends elsewhere you must forward TCP port 25565 on your router to your computer. Be aware this exposes your home IP address, which is the main reason many people choose a hosted server instead.

Option 2: Use a hosted server

A host runs the server for you on always-on hardware. You pick a plan, choose a server type and get an address to share. There is no port forwarding, your computer can be off, and DDoS protection and backups are usually included. Bytebath plans start at $3/month and are ready in about a minute.

Choose your server type

TypeBest for
VanillaThe plain, unmodified game
PaperFaster survival servers with plugins
FabricLightweight mods
Forge / NeoForgeBig modpacks

Configure server.properties

This file controls how your world works. The settings most people change are:

Add friends and set admins

In the server console, use whitelist add PlayerName to approve a friend and op PlayerName to give someone admin powers. Only give operator status to people you trust.

Add plugins or mods

On Paper, drop plugin .jar files into the plugins folder. On Fabric or Forge, add mods to the mods folder. Every player needs the same mods installed, but plugins only need to be on the server.

Back up your world

Copy your world folder regularly, and always before installing a new mod or updating. Many hosts, including Bytebath, take daily backups so you can roll back after a crash or griefing.

Fixing common problems

Frequently asked questions

Is it free to make a Minecraft server?

Running one on your own computer is free, but it only stays online while your computer is on. A hosted server costs a monthly fee and runs 24/7.

Which Minecraft server type is best for beginners?

Paper is a good start because it is fast and supports plugins. Choose vanilla if you want an unmodified game.

What port does a Minecraft Java server use?

Java servers use TCP port 25565 by default.

Ready to host your own Minecraft server? Plans start at $3/mo with instant setup, DDoS protection and daily backups.

View plans

Keep reading