Our Discord Find a crew to play with. Join
Discord
How to play Minecraft with friends
Guides - Multiplayer

How to play Minecraft with friends

LAN, Realms, free hosting, your own server, Hamachi, Java + Bedrock crossplay: there are at least seven different ways to play with your friends. Which one to pick depends on how many players you have, your budget, and whether you're sitting in the same room or on opposite sides of the country.

LAN: playing on the same home network

The simplest method. If you and your friends are connected to the same Wi-Fi network (or by cable to the same router), a few clicks are all it takes. No sign-up, no costs, no server setup.

How to start a LAN game in Minecraft Java

  1. Open a world in singleplayer.
  2. Press Escape and choose Open to LAN.
  3. Set the game mode and whether cheats are allowed.
  4. Click Start LAN World: the game shows the port number (for example 19132).
  5. Your friends open Minecraft and go to Multiplayer: the server should appear in the list automatically.
  6. If the server doesn't show up, they can enter it manually: 192.168.x.x:PORT (your local IP address + the port from step 4).

Note: A LAN server only exists while you're playing. Closing the game or leaving the world ends the session for everyone. It's a solution only for evenings together on the same network.

Open to LAN is a Java feature. On Bedrock, local network play is turned on by default: the game automatically detects players on the same network with no setup at all.

Minecraft Realms: official hosting from Mojang

Realms is a cloud server run by Mojang. You pay a monthly subscription, and in return you get a server that runs 24/7, needs no technical setup and is managed straight from the game menu.

Realms for Java

  • Price: ~7.99 USD/month (30-day trial available)
  • Max players: 10 at the same time (the owner + 9 invited players)
  • Version: always the latest, vanilla
  • Access: invited players only: you send invites by username

Realms for Bedrock

  • Price: ~7.99 USD/month (similar structure)
  • Max players: 10 at the same time
  • Availability: works on PC (Windows), Xbox, PlayStation, Switch and mobile, and everyone plays together (full crossplay within Bedrock)

How to set up Realms

  1. In the main menu, click Minecraft Realms.
  2. Buy a subscription on the Mojang website or from inside the game.
  3. Once it's active, choose a map (a new one or upload an existing world).
  4. Manage access: click your realm, choose Configure and add players by their username.
  5. Invited players will see your realm in the list in the Realms menu.

Realms is the easiest way to get a permanent server for players who aren't into the technical side. The downside is the price: over several months you pay more than for many paid hosts with better performance.

Free hosting: Aternos and Minehut

If you don't want to pay and LAN isn't an option, free hosting is the logical choice for small groups. The two most important services are Aternos and Minehut.

Aternos

Aternos is the most popular free Minecraft host in the world. You sign up, create a server, choose the software (Java or Bedrock, Vanilla, Forge, Fabric, Paper...) and start it. The server starts in a queue: at peak times you can wait 5-20 minutes.

  • Cost: 0 PLN
  • Max players: about 20 (depends on resources)
  • Online 24/7: no, the server shuts down automatically when all players leave
  • Mods/plugins: yes, the panel supports Forge, Fabric, Paper and Spigot
  • Version: Java and Bedrock

Aternos is great for occasional sessions: one evening a week, a few friends, zero cost. It's not suited to serious projects where performance and uptime matter.

Minehut

Minehut works on a similar principle to Aternos: a free server that you wake up before a session. Minehut is more popular in the USA and offers a built-in community, which can make it an option if you sometimes want to let public players in.

  • Cost: free plan (paid plans from ~4 USD/month for more resources)
  • Max players (free): 10
  • Plugins: yes, through the built-in marketplace

You'll find a detailed comparison in the guide free Minecraft hosting.

Paid server hosting

When Aternos is too slow and Realms too expensive, it's worth looking at paid hosting. You pay a fixed monthly fee for a VPS or a dedicated server slot. In return you get a server that runs 24/7, with better performance and full control over the configuration.

Popular Polish and European Minecraft hosts include Nitrado, Apex Hosting and Bisect Hosting, plus several Polish companies offering machines in Polish data centers (lower ping for players in Poland).

Approximate prices for basic plans:

  • 1-2 GB RAM (up to 5 players): 5-15 PLN/month
  • 4 GB RAM (up to 20 players, mods): 20-40 PLN/month
  • 8 GB RAM (30+ players, heavy mods): 50-100 PLN/month

Paid hosting gives you a fixed IP address, a management panel (usually Pterodactyl or Multicraft), automatic backups and support. For a group of 5-15 people it's usually the best balance between price and convenience.

Your own dedicated server

If you have an old computer or you're renting a VPS, you can set up a Minecraft server yourself. It's the most flexible option: full control over every aspect of the configuration and no monthly "hosting" fee (you only pay for electricity or the VPS).

You'll find a detailed step-by-step guide in the article how to make a Minecraft server. In short:

  1. Download server.jar from minecraft.net (Vanilla) or Paper (recommended for performance).
  2. Run it with Java: java -Xmx4G -Xms1G -jar server.jar nogui
  3. Accept the EULA in the eula.txt file.
  4. Configure server.properties (port, game mode, whitelist).
  5. Open port 25565 (TCP) on your router (port forwarding).
  6. Give your friends your public IP address.

The challenge: you have to set up port forwarding, handle updates and look after security. It's an option for players with a technical streak. In return you get total freedom: any version, any mods, no limits.

Hamachi and other VPNs: a LAN over the internet

Hamachi (LogMeIn) and similar tools (ZeroTier, Radmin VPN) create a virtual local network over the internet. To Minecraft it looks like LAN: you open the world with "Open to LAN", but instead of being physically on the same network, your friend connects through a VPN tunnel.

How to use Hamachi with Minecraft

  1. Download and install LogMeIn Hamachi (hamachi.com).
  2. You (the host) create a network (Network → Create new network) and set a name and password.
  3. Your friends install Hamachi and join the same network (Network → Join existing network).
  4. The host launches Minecraft and opens the world with Open to LAN.
  5. In Minecraft, your friends go to Multiplayer → Direct Connection and enter the host's Hamachi IP address (shown in the Hamachi window, for example 25.x.x.x).

Alternatives: ZeroTier and Radmin VPN work the same way and are often faster.

Pros: no port setup on your router, works behind NAT, good for a quick session.
Cons: the server only exists while the host is playing, slightly higher ping than a direct connection, and Hamachi has a limit of 5 devices on the free plan.

Java + Bedrock crossplay: GeyserMC

Technically, Java and Bedrock are two different game engines. Normally Java players can't play with Bedrock players on the same server. GeyserMC is the bridge that changes that.

GeyserMC is a plugin/proxy that you install on a Java server. It translates the Bedrock protocol on the fly: players on phones, consoles or the Windows 10/11 edition can join a Java server without changing anything on their side.

How to set it up:

  1. Set up a Java server with Paper or Spigot.
  2. Download GeyserMC and drop it into the plugins/ folder.
  3. Restart the server: GeyserMC opens an extra UDP port (19132 by default, the Bedrock port).
  4. Bedrock players enter your IP address and port 19132, Java players connect as usual on port 25565.

GeyserMC works great for basic gameplay. Limitations: some Java plugins may not work properly for Bedrock players, and some UI elements (for example certain inventories) display differently. For casual survival with friends, that's enough.

Tip: If the server has account verification turned on (online-mode=true), Bedrock players need a Microsoft (Xbox Live) account. You can also add the Floodgate plugin alongside GeyserMC so Bedrock players don't need a Java account.

Bedrock: multiplayer on consoles, mobile and PC

Minecraft Bedrock Edition (available on Xbox, PlayStation, Nintendo Switch, iOS, Android and Windows) has built-in crossplay between all of these platforms. You don't need any extra tools.

Friends from your Xbox list

The simplest method on Bedrock: both players have a Microsoft/Xbox Live account. Add your friend as an Xbox friend, then in Minecraft go to the Friends tab, where their world will appear in the list. Click "Join" and you're in. It works between Xbox, PC, Switch, PS and phones with no setup at all.

External Bedrock servers

Bedrock has its own system for external servers. In the Multiplayer → Add Server menu you can enter the address of any Bedrock server. There are also Java servers running GeyserMC that Bedrock players can join.

A Realm on Bedrock

As described above, Realms for Bedrock is a great option because it works on all platforms at once. One realm, with players on Xbox, Switch, phones and PC all playing on it.

Details on the Minecraft Bedrock servers page.

Port forwarding: how to open your server to the internet

If you're hosting your own server at home, you need to set up port forwarding on your router so players outside your network can connect. The default port for Minecraft Java is 25565 TCP, and for Bedrock it's 19132 UDP.

General steps (the details depend on your router model):

  1. Find the local IP address of the computer running the server (for example 192.168.1.100).
  2. Set a static IP for that computer in your router (DHCP reservation).
  3. Open your router's admin panel (usually 192.168.1.1) and look for a "Port Forwarding" or "NAT" section.
  4. Add a rule: external port 25565 → the computer's internal IP, port 25565, TCP protocol.
  5. Check your public IP (for example on whatismyip.com) and give it to your friends.

Security: When you open a port to the internet, your server becomes publicly accessible. Set white-list=true in server.properties and add only your friends' usernames, otherwise strangers may try to connect.

An alternative without port forwarding: Playit.gg or ngrok, tunnels that give you a public address without opening ports on your router. Useful if you have a router you can't configure (a dorm, work and so on).

Comparison table

Method Cost Difficulty Max players Online 24/7 Best for
LAN Free Very easy ~8 No Friends on the same network
Hamachi / ZeroTier Free Easy ~8 No Small groups, no router access
Aternos Free Easy ~20 No Occasional sessions
Realms (Java) ~32 PLN/mo. Very easy 10 Yes Players who don't want to deal with tech
Paid hosting From 5 PLN/mo. Medium 20-100+ Yes Regular play, mods, plugins
Own server Electricity / VPS Hard Depends on hardware Yes Advanced players, full control
Bedrock crossplay Free Very easy ~8 (friends) No Consoles, mobile, Windows
GeyserMC (crossplay) Server cost Hard Depends on server Yes Mixed Java + Bedrock groups

Which method to choose

A quick decision cheat sheet:

You're on the same Wi-Fi network

LAN, no question. No other method is this simple and instant.

Small group (2-4 people), no budget, playing remotely

Aternos or Hamachi. Aternos if you want a server that runs independently of your computer (you can log off and the world stays). Hamachi if you want to jump in fast without signing up or waiting in a queue.

You don't want to mess with tech and can spend a few dozen PLN a month

Realms. Two clicks and you have a server. Mojang takes care of it, you just play.

Regular play, 5-20 people, you want mods or plugins

Paid hosting is the best balance. For 20-40 PLN a month you get a fast server with a panel, backups and a fixed address. Split the cost between players and it comes to pocket change per person.

You're a technical player and want full control

Your own server, on an old PC at home or a VPS. You can set up exactly what you want, with no hosting restrictions.

You play on Bedrock (console, phone, Xbox)

Use your Xbox friends list to join a friend's world, with zero setup. For a permanent server: Realms for Bedrock, or a server with GeyserMC if part of the group plays on Java.

Related pages