Skip to content

Private server, just for your friends

How to create a private Minecraft server: closed, protected, open only to your friends

To create a private Minecraft server for friends, install Paper on your PC or at a host, turn on the whitelist so only your friends' usernames get in, keep online mode on, then send your public address with port 25565. Minax does not host servers: it builds the plugins that make yours unique, with no code.

A server for your friends is not a public server in miniature. You want three things: only your friends can get in, nobody can pretend to be one of them, and everyone connects on the first try. This guide covers all three, from the Minecraft version to the address you paste in the group chat, by way of Paper, the most widely used server software. It also tells you where to run the server: on your PC, at a host, or through Realms. And it shows you how to give it rules of its own with plugins, the small programs a server loads at startup: Minax builds them to order, for 1.12.2 to 26.2.

  • The whitelist and online mode: your private server stays private
  • The address to give your friends, and why your local address never works from their house
  • Your PC with a tunnel, a host, or Realms: what each option lets you do
  • The plugins that make a server for friends, built with no code and tested online

Pick your version

PaperSpigotBukkit
1

Pick your version

The one your group already plays. Most servers still run 1.21, and 26.2 is the latest.

2

Get your plugins

Describe them in plain English, Minax compiles them into .jar files, the plugin files themselves, and you drop them into the plugins folder of your server.

Friends Only Server

3

Open the door to your friends

They add your address in the Multiplayer menu and join you, as long as their username is on the whitelist.

Private server, LAN world or Realms: how do you play Minecraft with friends?

There are three ways to open a game to your friends, and they are not equal. The simplest is the LAN world: from your single player game, you open it to the other players in the house. Nothing to install, but it only works on the same network, at your place, and the world closes the moment you quit the game. Perfect for one evening, useless for an adventure that runs for weeks.

Next comes the real private server, the one this guide teaches you to set up. It runs either on your PC or at a host, a company that rents out machines that stay on around the clock. On your PC it costs nothing, but the server shuts down with the computer and you have to open a passage to the internet, or use a tunnel tool like playit.gg or ngrok that skips that setting. At a host you pay every month, the server stays online while you sleep, and you pick the memory and the region.

Finally, Realms, Mojang's own service: simple, paid, but with no Java plugins at all. If you want homes, an economy or events of your own, that is the wrong door. Minax, for its part, does not host any server: it builds the plugins you then drop onto the server of your choice.

LAN worldYour PC + tunnelA hostRealms
Your friends join from their houseNo, same network onlyYesYesYes
Stays open when you leaveNo, it closes with youOnly if your PC stays onYesYes
Takes your Paper pluginsNoYesYes, if you can upload your filesNo
What it costsNothingNothing, but your PC keeps runningA monthly subscriptionPaid, with no plugins

Your PC to get started, a host the day the server has to live without you. No prices here: they change all the time, compare them the day you buy.

Step 1: the version, Java and Paper, what you need before you start

Start with the Minecraft version. Take the one your group already plays, not the newest one on principle. Most servers still run 1.21, and 26.2 is the latest release: since 2026, versions carry the year number, so 26.2 is not a typo.

Then Java. A Minecraft server is a Java program, so the machine needs Java installed. You get it from adoptium.net, which hands out Temurin, a free version of Java, with no account to create. A 26.x server needs Java 25, a 1.21.x server is happy with Java 21. If in doubt, launch Paper: it tells you in plain text at startup which Java version it expects.

Paper is the server software to pick. Mojang's official server, called vanilla, accepts no plugins at all, only datapacks. Paper is the most used, much faster, and it takes Bukkit and Spigot plugins, so everything Minax builds. You download its file from papermc.io, on the Downloads page, taking a build marked stable, meaning one that has already been tested, and run it once: it writes its files, including the plugins folder and server.properties, the one that keeps every server setting, then it stops and asks you to accept the Minecraft terms of use in eula.txt. Change eula=false to eula=true, run it again, and the world generates. server.properties is where you will come back for the whitelist and online mode.

  • Version: the one your group plays. A plugin compiled for 26.x needs a 26.x server
  • Java 25 for a 26.x server, Java 21 for a 1.21.x server
  • Paper by default: Bukkit and Spigot plugins accepted, nothing to install on your friends' side
  • Fabric or NeoForge are for mods: every friend has to install the same ones, so skip them for a server with friends

Step 2: the Minecraft whitelist and online mode, so your private server stays private

The whitelist is the list of usernames allowed in. When it is on, a player who is not on it is turned away before they even see the world. It is setting number one for a private server, and the one people forget most often. Turn it on in server.properties (white-list=true) or with the /whitelist on command in the console, the window where the server prints what it is doing and where you type commands at it, then add each friend with /whitelist add followed by their exact username, the one on their Minecraft account and not a nickname.

Online mode does the rest. When it is on, the server checks with Mojang that the player really owns the account behind that username. Offline mode (online-mode=false) exists and plenty of servers use it, but it opens the door to impersonation: anyone can log in with your best friend's username and walk through the whitelist in their place. On a server for friends, leave online mode on. Everyone has an account, there is no reason to switch it off.

One last setting: the operator. The /op command followed by a username grants every admin right, including the right to wreck everything. Keep it for yourself, and at most for one person you trust. An operator friend who plays around with commands is a damaged world in no time.

  • Whitelist on: only the usernames on the list get in
  • Online mode kept on: nobody can pass as one of your friends
  • The username has to be spelled exactly, otherwise the friend is refused with no explanation
  • Operator rights stay in your hands

Step 3: how to invite friends to your Minecraft server, and which address to give them

This is where most servers for friends get stuck. A Java player joins a server with an address and a port, a kind of door number on the machine. The default port is 25565. The trap is that your PC has two addresses: a local address, valid only inside your house, and a public address, the one your router shows to the internet. The local address works for you and for your brother in the next room. It never works for a friend at their place.

If the server runs on your PC, you therefore give out the public address and open port 25565 on your router, what is called port forwarding: the router learns to send Minecraft connections to your computer. Every router has its own menu for that, look for port forwarding in its settings. And know that the public address changes sometimes: if your friends cannot get in one morning, check it before anything else.

If you would rather not touch the router, a tunnel tool like playit.gg or ngrok gives you a ready made address your friends type in as is, with no port forwarding. Hamachi is an old method that forces every friend to install the same program: leave it aside. At a host, none of these worries: the address is written in your panel and it never moves.

  • Local address: your house only. Public address or tunnel address: for your friends
  • Port 25565 has to be open on the router, unless you use a tunnel
  • At a host, the address sits in the panel and never changes
  • Your friends open Multiplayer, then Add Server, and paste your address

What you paste in the group chat: your public address (or the tunnel address), a colon, then the port

your-public-address:25565

How much RAM does a multiplayer Minecraft server for 3 to 10 friends need?

RAM is the working memory, the place where the server keeps the pieces of world loaded around each player. For a few friends in survival with a few plugins, count on 2 to 4 GB. Above that come servers of 20 to 30 players, or stuffed with plugins, that climb to 6 or 8 GB. Your group of 3 to 10 people sits in the first range, a bit more if you explore far away from each other, because each of you loads their own area.

What actually makes a server lag is rarely RAM. It is the processor: one fast core counts more than many slow cores, because the world is computed on a single thread. Smoothness is measured in TPS, the number of calculation ticks per second, with 20 as the target. If TPS drops, adding memory changes nothing. On your PC, the server and your game share the same processor: if it stutters with three friends online, that is usually where it pinches.

How many friends online at the same time?

View distance, in chunks (pieces of world) around each player

RAM to plan for

2.5 to 4.5 GB

A rough range for a Paper survival server with a few plugins, never a guarantee.

Which plugins make a real Minecraft server for friends, with no code?

A bare Paper server is vanilla survival with more people. What turns it into your group's server is the plugins: small Java programs dropped into the plugins folder that add commands and rules without asking anything of your friends. Four families show up on almost every private server: homes and teleportation (/sethome, /home, /tpa to join a friend), build protection (nobody breaks someone else's base), a small economy (a currency, a shop, rewards), and events (a boss on Saturday night, a treasure hunt, a leaderboard).

Minax builds them from a description in plain English. You write what you want, it generates the Java code, compiles it into a .jar, and lets you try the plugin in game on an online test server, before you have even set up your own. A bot player can also play through the scenario and check that the plugin does what you asked. Then you drop the .jar into your plugins folder and restart. To create, a credit pack paid once, with no subscription: 50 credits for €17.99. The plans are detailed on the pricing page.

Here are three requests ready to copy. Change the names, the numbers and the rules: it is your server, not ours.

Text to copy : Homes and teleporting between friends

Create a homes plugin for a private Paper server for friends. Each player can set up to three homes with /sethome name, go back with /home name, and list them with /homes. Add /tpa username to ask to join a friend, who accepts with /tpaccept within 30 seconds. A 3 second wait without moving before each teleport, cancelled if the player takes damage.

Paste it into Minax
Text to copy : Build protection

Make a protection plugin for a small private server. A player places a lapis lazuli block and types /claim to protect a 32 by 32 block square around it, up to 3 zones per player. Inside a zone, only the owner and the friends added with /trust username can break, place or open chests. A clear message when someone is blocked, and /unclaim to free the zone.

Paste it into Minax
Text to copy : Weekend event

Create an event plugin for my group of 8 players. An operator runs /event start: a buffed zombie boss spawns at the spawn point with 200 health, a name above its head and a boss bar everyone can see. Each player's damage is counted, and when the boss dies, a top 3 leaderboard shows in chat with a diamond reward for first place.

Paste it into Minax

The mistakes that waste an entire evening

Almost every failure of a server for friends comes from the same handful of mistakes. They have nothing to do with how powerful the machine is, and each one takes a few minutes to fix once you have spotted it. Before you dig any deeper, run through this list in order.

  • Giving out the local address instead of the public one: it works at your place, never at your friends' place
  • Port 25565 closed on the router: the server runs, but nobody can get in. A tunnel skips that setting
  • Forgetting the whitelist: your private server is open to anyone who stumbles on the address
  • Switching to offline mode to "fix" a connection problem: you open the door to username impersonation
  • A username misspelled in the whitelist: the friend is refused while everything else is right
  • A plugin compiled for 26.x on a 1.21 server: it will not load, the plugin version follows the server version
  • The wrong Java version: Paper refuses to start and says so in the console, read the first message
  • Turning off the PC thinking the server keeps going: on your PC, it stops with the machine

What Minax does for your private server

Builds your plugins from a description in plain English, with no code

Compiles a .jar ready to drop into the plugins folder of your Paper server

Lets you try the plugin in game on an online test server, before you even have your own server

Can run a bot player to check that the plugin does what you asked

What Minax does not do

Does not host your server and sells no hosting

Does not keep your world running for your friends when your PC is off

Does not build Fabric or NeoForge mods, nor Bedrock servers

Does not set up the whitelist, online mode or your router for you

Frequently asked questions

How do you play Minecraft with friends without creating a server?

Open your single player world to LAN from the pause menu: players connected to the same network as you, so in the same house, can join it. It is free and instant, but the world closes the moment you quit the game, nobody can join from their own house, and no plugin is possible. For a group spread across town, you need a real private server.

What is the Minecraft whitelist, and how do you turn it on?

The whitelist is the list of usernames allowed onto your server. The simplest way is /whitelist on in the server console: it takes effect right away. You can also write white-list=true in server.properties, but that file is only read at startup, so you have to stop the server with the stop command and start it again. Then you add each friend with /whitelist add and their username: a player who is not on the list is turned away and never sees the world. It is not enough on its own, though: keep online mode on, otherwise a stranger can take a friend's username and walk straight past it.

My friends can't connect to my server, what should I check?

In order: the address you gave is the public one or the tunnel one, not the local address; port 25565 is open on your router, or the tunnel is running; the friend's username is on the whitelist, spelled exactly; and you all play the same Minecraft version, or the server has ViaVersion to accept other versions. At a host, only the whitelist and the version are left to check.

Private Minecraft server with friends: on my PC or at a host?

On your PC if you mostly play when you are around: it costs nothing, but the server shuts down with the computer, you have to open the port or use a tunnel, and your public address can change. At a host if the server has to stay open while you sleep or go on holiday: you pay every month, the address never moves, and you choose the RAM and the region. Check that you can upload your own .jar files there.

My friend plays on a phone or console, can they join my server?

Not directly: the phone, console and Windows 10 or 11 editions are Minecraft Bedrock, and a Paper server is a Java server. The bridge is called Geyser: this plugin lets Bedrock players onto your Java server, and Floodgate saves them from needing a Java account. Minax builds plugins for Java servers only; with Geyser, your Java server also welcomes the part of your group that plays on Bedrock.

We don't all have the same Minecraft version, is that a problem?

The simplest thing for a group is to agree on one version and stick to it. Otherwise, the ViaVersion plugin lets players on other versions connect to your server, without ever changing the version of the server itself. Remember too that a plugin compiled for 26.x needs a 26.x server: the server version decides everything.

Can Minax host my private server?

No. Minax does not host any server and sells no hosting. It builds the custom Java plugins for your server from a description in plain English, compiles them into .jar files, and lets you test them in game on an online test server before you install them on your PC or at your host. To create, a credit pack paid once, with no subscription: 50 credits for €17.99. The plans are on the pricing page.

How many players can a Minecraft server for friends hold?

As many as your machine can carry. For 3 to 10 friends in survival with a few plugins, 2 to 4 GB of RAM and a processor with one fast core are the usual ballpark. What matters most is smoothness, measured in TPS with 20 as the target: if it drops, look at the processor and at hungry plugins before adding memory.

Your server for friends deserves its own rules

Describe the plugin in plain English, try it in game on the test server, then drop the .jar on your PC or at your host. Minax does not host your server: it builds what makes it unique. Your account is free. Credits paid once, no subscription: 50 credits for €17.99 VAT included.

Build the plugins for my server