Privacy notice This website only uses technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Learn more in our Privacy Policy.
Privacy notice This website uses only technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Read more in our Privacy Policy.
Informacja o prywatności Ta strona używa wyłącznie technicznie niezbędnych plików cookie. Statystyka, marketing i usługi zewnętrzne nie są ładowane bez JavaScript. Więcej w naszej Polityce prywatności.
Information sur la confidentialité Ce site n’utilise que des cookies techniquement nécessaires. Les services de statistiques, de marketing et les services externes ne sont pas chargés sans JavaScript. Plus d’informations dans notre Politique de confidentialité.
Avviso sulla privacy Questo sito usa solo cookie tecnicamente necessari. I servizi statistici, di marketing ed esterni non vengono caricati senza JavaScript. Maggiori informazioni nella nostra Informativa sulla privacy.
Aviso de privacidad Este sitio web solo usa cookies técnicamente necesarias. Los servicios de estadística, marketing y externos no se cargan sin JavaScript. Más información en nuestra Política de privacidad.
Privacymelding Deze website gebruikt alleen technisch noodzakelijke cookies. Statistiek-, marketing- en externe diensten worden zonder JavaScript niet geladen. Meer hierover in onze Privacyverklaring.
Privatlivsinformation Denne hjemmeside bruger kun teknisk nødvendige cookies. Statistik-, marketing- og eksterne tjenester indlæses ikke uden JavaScript. Læs mere i vores Privatlivspolitik.
Minecraft guides

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.

Updated on 17 min read

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.

What you need for a server for friends

  • Minecraft Java Edition or Bedrock, depending on your group
  • A server plan with enough RAM and CPU power
  • A shared Minecraft version
  • Optional: plugins, mods, or a whitelist
  • Regular backups of your world
  • A server address to give to your friends

This guide shows you step by step how to create a Minecraft server for friends and which option suits your group best.

Why Your Own Minecraft Server for Friends Makes Sense

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.

  • Your own world: You get your own survival, creative, or adventure world and don’t depend on someone else’s rules.
  • Friends only: With a whitelist, only selected players can join. This protects your world from outsiders.
  • Always online: A rented server runs independently of your PC and is available to your friends at any time.

What Options Do You Have for Playing Minecraft with Friends?

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: Step by Step

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.

  1. Choose a server type: First, decide whether you want to use Vanilla, Paper/Spigot, or a modpack. For regular survival with friends, Vanilla or Paper is enough. For plugins, Paper is usually the better choice. For real modpacks, you will need Forge or Fabric.
  2. Pick a suitable server plan: For small groups of friends, 4 GB of RAM is usually enough. If you plan to use plugins, mods, or more players, you should allow for a bit more headroom.
  3. Set the Minecraft version: All players should use the same Minecraft version. With plugins or mods, it is especially important that the server, client, and add-ons are compatible.
  4. Enable the whitelist: If only friends should be able to join, enable a whitelist. This way, only approved player names can enter the server.
  5. Share the server address: Once the setup is done, your friends receive the server address. They enter it in Minecraft under “Multiplayer” and can then connect.
  6. Set up backups and rules: It is best to define a few simple rules right away and make sure backups are created regularly. That way, your world is protected if something goes wrong.

Vanilla, Paper, or Modpack: What Suits Friends Best?

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.

  • Vanilla: Perfect if you want to play Minecraft as close to the original as possible. Good for small groups and simple survival worlds.
  • Paper: Ideal if you want to use plugins. For example homes, warps, claims, permissions, or smaller quality-of-life features.
  • Forge/Fabric: The right choice for modpacks, new content, tech mods, biomes, machines, or extensive add-ons.

For most groups of friends: If you are unsure, start with Paper. It lets you play normally, but you can add plugins later.

How Much RAM Does a Minecraft Server for Friends Need?

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.

Useful Plugins for a Minecraft Server with Friends

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.

  • Homes & teleports: Handy so players can return to their base or visit each other.
  • Whitelist & permissions: Helps keep the server private and allows certain commands only for selected players.
  • Backups: Important in case someone accidentally destroys something or a world gets corrupted.
  • Claims: Useful if you want to protect your plots or builds.
  • Sleep plugin: Handy so that not all players have to sleep at the same time.
  • Performance tools: Helpful if you later want to find out why the server is lagging.

Important: At the start, install just a few useful plugins. You can add more features at any time later.

Host a Minecraft Server at Home or Rent One?

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.

  • Hosting the server at home: You need a sufficiently powerful PC, have to forward ports on your router, and your PC has to be running whenever your friends want to play. You also expose your home network connection more to the outside.
  • Renting a server: Your server runs independently of your PC, is available at any time, and is easier to manage. You also benefit from server hardware, DDoS protection, backups, and easy handling in the panel.
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

Self-Hosting a Minecraft Server: Free Open-Source Options

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.

Recommended Settings for a Small Server for Friends

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.

Recommended server.properties for 2–10 friends

These 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=true enabled. This makes the server verify real Minecraft accounts. You should not use online-mode=false for a regular server for friends on the internet.

  • View distance: 8: A good compromise between view distance and performance. For small servers, this value is usually more than enough.
  • Simulation distance: 6: Slightly reduces the active processing of mobs, farms, and redstone and helps prevent unnecessary load.
  • Whitelist enabled: Only registered friends can join. For private servers, this is the most important security setting.

Practical Commands for Whitelist, OP Permissions, and Server Management

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.

Enable the whitelist and add friends

whitelist on
whitelist add PlayerName1
whitelist add PlayerName2
whitelist add PlayerName3
whitelist list

Removing players again

whitelist remove PlayerName
kick PlayerName

Granting and revoking OP permissions

op YourMinecraftName
deop PlayerName

Important everyday server commands

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.

Self-Hosting with Docker: Example for a Paper Server

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.

1. Install Docker on an Ubuntu or Debian 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

2. Create a project folder

mkdir -p /opt/minecraft-friends
cd /opt/minecraft-friends
mkdir -p minecraft-data backups

3. Create the Docker Compose file

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

4. Start the server

docker compose up -d
docker compose logs -f mc

5. Add friends to the whitelist

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

6. Stop or restart the server

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/tcp to the outside.

Backup Script for Self-Hosted Minecraft Servers

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.

Create the backup script

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"

Make the script executable

chmod +x /opt/minecraft-friends/backup.sh

Automatic daily backup with a cron job

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.

Useful Free Plugins for Servers for Friends

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.

A Concrete Basic Plugin Setup for a Server for Friends

For a simple private Paper server, this combination is often enough. It keeps the server clear, secure, and still comfortable.

Minimal setup

For small groups that want to stay as close to Vanilla as possible.

Paper
Whitelist enabled
Backups enabled
Optional: spark

Comfort setup

For friends who want homes, teleporting, and simple management.

Paper
EssentialsX
LuckPerms
CoreProtect
spark
Whitelist enabled
Backups enabled

Example: a simple permissions concept

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

Port Forwarding at Home: What You Need to Know

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.

  • Forward port 25565 TCP: Forward the port on your router to the local IP of your server PC.
  • Assign a fixed local IP: Give your server PC a fixed local IP so that the port forwarding doesn’t suddenly point to the wrong device.
  • Check your firewall: Allow incoming connections on port 25565/tcp .
  • Watch out for DS-Lite: With some internet connections, classic port forwarding doesn’t work properly because there is no real public IPv4 address.
  • Don’t open unnecessary ports: Only open the Minecraft port. RCON, databases, or management interfaces should not be publicly accessible.

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.

Self-Hosting vs. Nexthosting Cloud: What Is Better for Friends?

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.

Whitelist, Rules, and Security

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.

  • Enable the whitelist: Only registered players can enter the server.
  • Grant OP permissions sparingly: Only give administrator rights to people you truly trust.
  • Set rules: Agree in advance whether PvP, griefing, cheats, farms, or mods are allowed.
  • Use backups: Backups protect your world if something is accidentally destroyed.
  • Agree on versions: All players should know which Minecraft version they need to join with.

Example of simple server rules

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.

Common Mistakes When Creating a Server for Friends

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.

  • Booking too little performance: If you start right away with mods, many plugins, or more than 10 players, you should not choose the smallest plan.
  • Not setting up backups: Without backups, a corrupted world or a mistake can quickly wipe out a lot of progress.
  • Leaving the server public: Without a whitelist, outsiders can join if they know or find the address.
  • Installing too many plugins: More plugins don’t automatically mean more fun. Too many add-ons can hurt performance and make things harder to keep track of.

Which Nexthosting Plan Fits a Server for Friends?

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.

PlanSpecsPrice
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.99View 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.99View 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.99View 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.99View Community
Minecraft Custom
For individual requirements, modpacks, or custom configurations.
RAM as needed · Freely selectable vCores · Flexibly selectable storage · Dedicated hardware possible · Personal consultation availablefrom €8.22Configure 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.

Frequently Asked Questions About a Minecraft Server for Friends

How can I create a Minecraft server for friends only?

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.

How many GB of RAM do I need for a server for friends?

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.

Is a Minecraft server at home or a rented one better?

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.

Which server software is best for friends?

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.

How do I stop outsiders from joining?

Enable the whitelist and add only your friends’ Minecraft names. This way, only approved players can enter the server.

Can I add plugins or mods later?

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.

Need more control?

For your own applications, Docker, databases and custom setups.

View VPS

Question about your project?

Our support helps you with technical questions and choosing the right product.

Open support