How to Create a Minecraft Server for Friends: 2026 Guide
Create a Minecraft server for friends: learn which server type fits, how much RAM makes sense, and how to easily start your shared server.
Create a Minecraft server for friends: learn which server type fits, how much RAM makes sense, and how to easily start your shared server.
Want to play Minecraft together with your friends, build your own world, and stay independent of public servers? Then your own Minecraft server is the best solution. In this article, we explain in plain terms which options you have, which server type makes sense, and what to look out for when it comes to RAM, mods, plugins, and security.
This guide shows you step by step how to create a Minecraft server for friends and which option suits your group best.
Your own Minecraft server gives you and your friends much more freedom than a public server. You decide who gets to play, which rules apply, which world is used, and whether plugins, mods, or special settings are enabled.
An own server is especially convenient if you play together regularly. Nobody has to keep a personal PC running around the clock, the world is available at any time, and your progress stays stored in one central place. You can also create backups, assign roles, and easily expand later.
There are several ways to play Minecraft together. Which one fits depends on how often you play, how many friends take part, and whether you want mods, plugins, or a world that is always reachable.
| Option | Best for | Advantages | Disadvantages |
|---|---|---|---|
| LAN world | Players on the same network | Very simple, free, quick to start | Local use only, not permanently online |
| Personal PC as a server | Small groups, technical interest | More control, no direct hosting costs | Port forwarding, security risks, PC has to be running |
| Rented Minecraft server | Friends, communities, regular play | Always online, easy access, backups, better stability | Monthly costs |
| Realm | Very simple small groups | Easy to use, built directly into Minecraft | Less control, less flexible with plugins and mods |
Recommendation: If you play together regularly and want your world to be available at any time, a rented Minecraft server is usually the best solution. You don’t need port forwarding at home, your PC doesn’t have to run around the clock, and your friends can join whenever they like.
Creating a Minecraft server for friends is easier than many people think. When you rent a server, you don’t have to deal with complicated network settings, port forwarding, or hardware that has to run around the clock.
You don’t have to start with something complicated for a server for friends. The best choice depends on what you want to do together. For a regular survival world, Vanilla or Paper is ideal. If you want more convenience, such as homes, warps, or protection against griefing, Paper is better. If you want new blocks, machines, or tech mods, you need a modpack.
For most groups of friends: If you are unsure, start with Paper. It lets you play normally, but you can add plugins later.
For a small Minecraft server with friends, you usually don’t need a huge amount of RAM. What matters is how many players are online at the same time and whether you use plugins, mods, or large worlds.
| Group of friends | Typical use | Recommended RAM | Recommendation |
|---|---|---|---|
| 2–5 players | Vanilla survival, few extras | 2–4 GB | Good for small private worlds |
| 5–10 players | Paper, a few small plugins, regular world | 4 GB | Solid starting point for friends |
| 10–20 players | Several plugins, regular activity | 6–8 GB | More headroom for growth |
| Modpack group | Forge/Fabric, tech or adventure mods | 6–16 GB | Depends on the size of the modpack |
| Larger group of friends | Many players, events, multiple worlds | 8–16 GB | Makes sense for active groups |
Tip: It is better to plan in some headroom. A server runs much more smoothly when RAM and CPU are not constantly at their limit.
For a private server for friends, you don’t need many plugins. Too many add-ons can make the server needlessly complicated and cost performance. A few well-chosen plugins, however, can noticeably improve the gameplay experience.
Important: At the start, install just a few useful plugins. You can add more features at any time later.
Many people first think about hosting the Minecraft server on their own PC. That can work for a quick test. For regular play with friends, however, a rented server is usually much more comfortable.
| Criterion | Hosting at home | Renting a server |
|---|---|---|
| Setup | More technical, port forwarding required | Easier via the hosting panel |
| Availability | Only while your PC is running | Online at any time |
| Security | Your home network has to be opened up | Server runs externally in a data center |
| Performance | Depends on your PC and internet connection | Server hardware and a stable connection |
| Backups | You have to organize them yourself | Included right away, depending on the plan |
If you are technically inclined, you can also host a Minecraft server yourself. This is especially interesting if you want to learn how servers, Docker, Linux, backups, and networks work. Keep in mind, though: with self-hosting, you are responsible for security, updates, backups, port forwarding, availability, and performance yourself.
For beginners, a rented Minecraft server from a cloud provider such as Nexthosting is usually easier. But if you deliberately want to host it yourself, there are some good free and open-source solutions.
| Tool | Best for | Advantage | Note |
|---|---|---|---|
| Crafty Controller | Beginners, private Minecraft servers, web interface | Free, open source, Minecraft-specific interface | Good if you want to manage several Minecraft servers easily. |
| Pterodactyl Panel | Advanced users, multiple game servers, Docker environment | Free, open source, isolated Docker containers | Very powerful, but the setup is more technical than with Crafty. |
| Docker + itzg/minecraft-server | Technical users, VPS, homelab, Linux servers | Very flexible, quickly reproducible, good for Paper/Forge/Fabric | You should understand the basics of Docker, ports, and backups. |
| PaperMC | Plugin servers, survival with convenience features | Good performance and many configuration options | Usually better than Vanilla for plugins. |
| GeyserMC | Java servers that Bedrock players should also be able to join | Allows Bedrock players to join Java servers | Not every feature behaves exactly as in pure Java Minecraft. |
Recommendation: If you just want to play with friends, Nexthosting as a cloud provider is much more relaxed. If you want to learn how Minecraft hosting works technically, you can self-host with Docker, Crafty, or Pterodactyl.
For a small group of friends, you don’t need extreme settings. A clean basic configuration matters much more: enable the whitelist, keep online mode turned on, keep the view distance moderate, and use regular backups.
server.properties for 2–10 friendsThese settings are suitable for a private survival server running Vanilla or Paper. You can use them as a starting point and adjust them later.
# General
motd=Minecraft Server for Friends
gamemode=survival
difficulty=normal
hardcore=false
max-players=10
# Security
online-mode=true
white-list=true
enforce-whitelist=true
spawn-protection=0
enable-command-block=false
allow-flight=false
# Performance
view-distance=8
simulation-distance=6
max-tick-time=60000
# World
level-name=world
level-seed=
generate-structures=true
spawn-monsters=true
spawn-animals=true
spawn-npcs=true
# Network
server-port=25565
enable-rcon=false
Important: Keep
online-mode=trueenabled. This makes the server verify real Minecraft accounts. You should not useonline-mode=falsefor a regular server for friends on the internet.
If you run a private server for friends, you should not automatically give every player administrator rights. Use the whitelist and OP permissions selectively instead.
whitelist on
whitelist add PlayerName1
whitelist add PlayerName2
whitelist add PlayerName3
whitelist list
whitelist remove PlayerName
kick PlayerName
op YourMinecraftName
deop PlayerName
save-all
say Server restarting in 60 seconds.
stop
time set day
weather clear
difficulty normal
gamemode survival PlayerName
Tip: Give OP permissions only to yourself or to very trustworthy people. For regular friends, adding them to the whitelist is completely sufficient.
Docker is a clean way to self-host. Your Minecraft server runs in its own container. This often makes updates, backups, and migrations easier. For beginners, however, it is still more technical than a ready-made cloud server.
sudo apt update
sudo apt install -y docker.io docker-compose-plugin ufw
sudo systemctl enable --now docker
sudo ufw allow 25565/tcp
sudo ufw enable
mkdir -p /opt/minecraft-friends
cd /opt/minecraft-friends
mkdir -p minecraft-data backups
Create a file named docker-compose.yml:
services:
mc:
image: itzg/minecraft-server:java21
container_name: minecraft-friends
restart: unless-stopped
ports:
- "25565:25565"
environment:
EULA: "TRUE"
TYPE: "PAPER"
VERSION: "LATEST"
MEMORY: "4G"
MOTD: "Minecraft Server for Friends"
MODE: "survival"
DIFFICULTY: "normal"
MAX_PLAYERS: "10"
ONLINE_MODE: "TRUE"
ENABLE_WHITELIST: "TRUE"
ENFORCE_WHITELIST: "TRUE"
VIEW_DISTANCE: "8"
SIMULATION_DISTANCE: "6"
ENABLE_RCON: "true"
RCON_PASSWORD: "PleaseSetAVerySecurePassword"
volumes:
- ./minecraft-data:/data
docker compose up -d
docker compose logs -f mc
docker compose exec mc rcon-cli whitelist add PlayerName1
docker compose exec mc rcon-cli whitelist add PlayerName2
docker compose exec mc rcon-cli whitelist list
docker compose restart mc
docker compose stop mc
docker compose start mc
Note: You normally don’t need to expose the RCON port publicly. Use RCON internally through Docker and only open the Minecraft port
25565/tcpto the outside.
Backups are extremely important. On a server for friends in particular, things can go wrong quickly: a wrong command, a corrupted world, a plugin error, griefing, or an accidentally deleted folder. With a simple script, you can back up your world regularly.
For example, create the file /opt/minecraft-friends/backup.sh:
#!/bin/bash
cd /opt/minecraft-friends || exit 1
DATE=$(date +"%Y-%m-%d_%H-%M")
BACKUP_DIR="./backups"
DATA_DIR="./minecraft-data"
mkdir -p "$BACKUP_DIR"
echo "Triggering save on the server..."
docker compose exec -T mc rcon-cli save-off
docker compose exec -T mc rcon-cli save-all flush
echo "Creating backup..."
tar -czf "$BACKUP_DIR/minecraft-backup-$DATE.tar.gz" \
"$DATA_DIR/world" \
"$DATA_DIR/world_nether" \
"$DATA_DIR/world_the_end" \
"$DATA_DIR/server.properties" \
"$DATA_DIR/whitelist.json" \
"$DATA_DIR/ops.json" 2>/dev/null
echo "Re-enabling saving on the server..."
docker compose exec -T mc rcon-cli save-on
echo "Deleting old backups..."
find "$BACKUP_DIR" -type f -name "minecraft-backup-*.tar.gz" -mtime +14 -delete
echo "Backup finished: minecraft-backup-$DATE.tar.gz"
chmod +x /opt/minecraft-friends/backup.sh
crontab -e
Then add this line:
0 4 * * * /opt/minecraft-friends/backup.sh >> /opt/minecraft-friends/backups/backup.log 2>&1
Recommendation: Don’t keep backups only on the same server. Regularly upload important backups to your PC, a cloud, or an external storage system as well.
For a private server, you don’t need many plugins. A few well-chosen add-ons are usually enough. Plugins for permissions, performance analysis, protection, and convenience are particularly useful.
| Plugin / tool | Purpose | Useful for a server for friends? | Note |
|---|---|---|---|
| LuckPerms | Manage permissions and groups | Yes, if you want several roles | Optional for small servers, very helpful for larger groups. |
| spark | Analyze performance | Yes, very helpful when there is lag | Shows you which processes or plugins consume resources. |
| CoreProtect | Log block changes | Yes, if you want to trace griefing | Helps you trace destroyed blocks and roll them back. |
| EssentialsX | Homes, warps, TPA, convenience commands | Yes, very popular for survival servers | Don’t enable everything, only use the features you need. |
| GeyserMC | Let Bedrock players join Java servers | Optional | Useful if friends play on mobile, console, or Bedrock. |
Important: Don’t install 30 plugins right away. Start small, test everything carefully, and create a backup before every major change.
For a simple private Paper server, this combination is often enough. It keeps the server clear, secure, and still comfortable.
For small groups that want to stay as close to Vanilla as possible.
Paper
Whitelist enabled
Backups enabled
Optional: sparkFor friends who want homes, teleporting, and simple management.
Paper
EssentialsX
LuckPerms
CoreProtect
spark
Whitelist enabled
Backups enabled
For a small server for friends, you don’t have to start with anything complicated. For example, you can use just two roles: player and admin.
Group: Player
- play normally
- use /home
- use /sethome
- use /tpa
Group: Admin
- manage players
- manage the whitelist
- use server commands
- check backups and logs
If you host the server at home, your friends must be able to reach your server over the internet.
This usually requires port forwarding on your router. The default port for Minecraft Java is 25565/tcp.
25565/tcp .Simpler alternative: If you don’t feel like dealing with port forwarding, router problems, DS-Lite, firewall rules, and security risks, a cloud server from Nexthosting is the much simpler solution.
Both options have their place. Self-hosting is good if you want to learn and control everything yourself. Nexthosting is better if you just want to play without having to worry about server operations, networking, DDoS protection, backups, and availability.
| Criterion | Self-hosting at home / your own VPS | Nexthosting cloud server |
|---|---|---|
| Setup | More technical, Docker/Linux/ports required | Easier via a ready-made hosting panel |
| Availability | Depends on your internet, power, and router | Server runs independently of your PC |
| Security | You have to manage the firewall, updates, and ports yourself | No port forwarding needed on your home network |
| DDoS protection | Usually not available at home in any meaningful way | DDoS protection included |
| Backups | You have to set them up and monitor them yourself | Included right away, depending on the plan |
| Performance | Depends on your hardware or your VPS | Suitable resources such as RAM, vCores, and NVMe storage can be booked |
| Recommended for | Tech enthusiasts, homelab, learning | Groups of friends who want to play quickly and reliably |
Our clear recommendation: For a regular group of friends, Nexthosting is usually the better choice. Self-hosting is worthwhile mainly if you deliberately want to learn or already run a server of your own.
If your server is meant for friends only, you should not leave it completely open. A whitelist is the simplest way to give access only to specific players. This prevents outsiders from joining and damaging your world.
1. No griefing and no deliberately destroying other players’ builds. 2. No cheats, X-ray texture packs, or unauthorized client mods. 3. Build farms in a way that doesn’t permanently strain the server. 4. PvP only if both players agree. 5. Discuss major changes to shared areas beforehand.
Small mistakes often happen with your very first Minecraft server and become annoying later. With a bit of preparation, you can avoid many problems right away.
A smaller plan is often enough for a Minecraft server with friends. But if several of you play regularly, use plugins, or want to grow later, a bit more headroom makes sense.
| Plan | Specs | Price | |
|---|---|---|---|
| Minecraft Basic For small private servers with friends. | approx. 1–10 players · 4 GB RAM · 2 vCores CPU · 20 GB NVMe storage · Ideal for Vanilla or a few plugins | €7.99 | View Basic |
| Minecraft Advanced For servers for friends with several plugins. | approx. 1–20 players · 8 GB RAM · 3 vCores CPU · 40 GB NVMe storage · Good choice for Paper/Spigot | €15.99 | View Advanced |
| Minecraft Premium For active groups, mods, and larger worlds. | approx. 1–50 players · 16 GB RAM · 5 vCores CPU · 80 GB NVMe storage · Priority support included | €28.99 | View Premium |
| Minecraft Community For very large groups of friends or community projects. | approx. 100 players · 24 GB RAM · 7 vCores CPU · 120 GB NVMe storage · Monitoring & plenty of resources | €42.99 | View Community |
| Minecraft Custom For individual requirements, modpacks, or custom configurations. | RAM as needed · Freely selectable vCores · Flexibly selectable storage · Dedicated hardware possible · Personal consultation available | from €8.22 | Configure Custom |
Recommendation: For a regular server for friends, Minecraft Basic is usually a good start. If you want plugins, mods, or more headroom, Minecraft Advanced is often the better long-term choice.
The easiest way is to rent a Minecraft server, enable a whitelist, and give access only to your friends. Then you share the server address with them.
For small groups, 4 GB of RAM is often enough. If you use several plugins, mods, or have more players, 8 GB or more makes sense.
For quick tests, a server at home can be enough. For regular play, a rented server is usually better because it is permanently online, easier to manage, and doesn’t require port forwarding on your home network.
For regular survival, Vanilla is enough. If you want to use plugins, Paper is usually the best choice. For modpacks, you need Forge or Fabric.
Enable the whitelist and add only your friends’ Minecraft names. This way, only approved players can enter the server.
Yes. For plugins, you should use Paper or Spigot. For real mods and modpacks, you normally need Forge or Fabric. Always create a backup first.
Our support helps you with technical questions and choosing the right product.
Open support