How to play Minecraft with friends depends on two things: where your friends are and which edition you all own. In the same house, open your world to LAN. Far away on Bedrock, invite them to your world through your Microsoft account. For a world that stays open when you log off, run a server on your PC or rent one that is online 24/7. Java and Bedrock players only meet on a Java server with Geyser.
Below is every option, what each one asks of you and your friends, and a table to compare them side by side.
Every option compared
| Option | Who must be online | Players at once | Open when the host leaves? | Mods and plugins |
|---|---|---|---|---|
| Open to LAN (Java) | The host, playing in the world | Small groups, limited by the host’s PC | No | No plugins. Mods only if everyone has the same ones |
| LAN or friends’ world (Bedrock) | The host, playing in the world | 5 or 8, depending on the host’s device | No | Add-ons in the world |
| Split-screen (Bedrock on console) | Everyone, on one console | Up to 4 | No | Same as the world |
| Mojang’s official subscription | Nobody | Java: owner plus 10. Bedrock: depends on the tier | Yes | Java: no mods or plugins |
| Your own server on your PC | Nobody, but the PC must stay on | 20 on Java and 10 on Bedrock by default, adjustable | Only while your PC runs | Plugins and mods (Java), add-ons (Bedrock) |
| Rented 24/7 server | Nobody | You set the limit | Yes | Plugins, mods and modpacks |
The player numbers come from the Minecraft Wiki: Bedrock worlds allow 5 or 8 players depending on the host system, and the default max-players in server.properties is 20 on Java and 10 on Bedrock.
Same house on Java: Open to LAN
If everyone is on the same Wi-Fi or router, Java Edition has a built-in option. No server software, no settings files.
- Open your world in single player.
- Press Esc and click Open to LAN.
- Pick the Game Mode your friends get and whether they can use commands with Allow Commands.
- Leave Port Number empty for a random port, or type one you want to keep.
- Click Start LAN World. The chat shows a line like “Local game hosted on port 2121”.
Your friends open Multiplayer and wait a moment: the world shows up below their saved servers. If it does not, they can use Direct Connection with your local IP address and that port, for example 192.168.1.20:2121. When nobody can connect, check that your firewall allows Java on that port. The Minecraft Wiki LAN tutorial covers the details.
Three limits to know. It only works on the same local network. The world closes the moment you quit. And each friend needs their own copy of Java Edition on the same game version as you.
Same house on Bedrock: LAN and split-screen
On Bedrock (Windows, phones, tablets and consoles), LAN play is on by default. The setting is Visible to LAN Players, under Edit World and then Multiplayer, and you change it before you load the world. The wiki notes it lets anyone on the same local network join, Xbox friend or not, and needs no internet connection. One catch: on Xbox, PlayStation and Switch, even LAN play requires the console’s online subscription.
On a console you can also play split-screen. Up to four players share one TV: connect another controller while the game is running and press its Menu, + or Options button.
How to play Minecraft with friends far away on Bedrock
Bedrock lets you invite friends to your world over the internet without any server, as long as everyone signs in with a Microsoft account.
- Sign in with your Microsoft account in the game and add your friends by their gamertag.
- In your world settings, keep the multiplayer option on. It is on by default for new worlds.
- Choose who can join under player access: Invited players, Friends (the default) or Friends of friends.
- Load the world. Your friends find it on the Worlds tab of their Play screen and join from there, or you send them an invite.
This works across devices: a friend on a phone can join a world hosted on Windows or a console. The limits are the same as LAN: 5 or 8 players depending on your device, and the world exists only while you are in it. If a younger player cannot join, the account’s privacy settings may block multiplayer, and a parent has to allow it.
Java and Bedrock do not mix (unless you add Geyser)
Java Edition and Bedrock Edition are separate games. A Java player cannot join a Bedrock world, and a Bedrock player cannot join a Java world, through any of the options above. The fix is a Java server running the Geyser and Floodgate plugins, which lets Bedrock players connect without buying Java. Read can Java and Bedrock play together before you pick a setup if your group is mixed.
Mojang’s official subscription
Mojang sells a monthly subscription that keeps a small world online for you. On Java it fits the owner plus 10 friends at a time, and mods and plugins cannot be installed. On Bedrock the player limit depends on the tier you pay for. It is the simplest paid option, but you get the world Mojang gives you: no plugins, no modpacks, no choice of server software.
Run your own server on your PC
A dedicated server is a separate program that hosts the world, so friends can play even when you are not in the game. Both editions have an official one:
| Edition | Server software | Default port | Guide |
|---|---|---|---|
| Java | server.jar from Mojang, or Paper, Purpur, Fabric and others | 25565 (TCP) | How to make a Minecraft Java server |
| Bedrock | Bedrock Dedicated Server, for Windows or Linux | 19132 (UDP), 19133 for IPv6 | How to make a Minecraft Bedrock server |
This is where most people get stuck. Friends outside your house cannot reach a server on your PC until you forward that port on your router, and some internet providers do not give you a public address at all. How to port forward a Minecraft server walks through it. The other route is a tunnel or VPN app that every friend installs, which adds a step for each of them.
Then there is the PC itself. It has to stay on, awake and connected for as long as anyone wants to play, and the server shares its CPU, RAM and upload speed with whatever else you do on it. If you only have a phone, read how to make a Minecraft server on mobile first.
Rent a server that stays on 24/7
A rented server is the same dedicated server, running in a data center instead of your bedroom. Friends join whenever they want, with or without you, and you never touch your router. How to keep a Minecraft server online 24/7 compares the ways to get there.
On TheGameHosting Minecraft Java hosting the server is ready about 60 seconds after payment, with its own public IP and port, so there is nothing to forward. Slots are unlimited. The web panel has Version Changer with 28+ platforms, a Plugin Installer, a Mod Installer and a Modpack Installer for Modrinth packs, plus backups. Bedrock groups get the same on Minecraft Bedrock hosting, and crossplay is available on every plan. You pick Dallas or Amsterdam, whichever is closer to your friends.
Which option fits your group
- Everyone in one house, just tonight: Open to LAN on Java, or LAN and split-screen on Bedrock.
- Bedrock friends in other cities, playing together at set times: a friends’ world through your Microsoft account.
- Friends who want to play when you are offline: a dedicated server, on your PC or rented.
- Plugins, mods or a modpack: a Java server you control.
- Some on Java, some on phones or consoles: a Java server with Geyser and Floodgate.
Skip the setup: play Minecraft with friends on TheGameHosting
LAN and friends’ worlds are great for a quick session, but they end when the host logs off. A home server fixes that, then asks you to open ports and leave your PC on. If what your group really wants is a world that is always there, a TheGameHosting server is the short path: no router changes, DDoS protection included, and a panel that works from your phone’s browser. The 2 GB plan at $1.90 USD/month runs a small Java or Bedrock world, and one plan works for every game through Game Changer. See the plans and pricing and use the code FULL2026 for 15% off for life.
FAQ
Can I play Minecraft with friends without a server?
Yes. On Java, use Open to LAN when everyone is on the same network. On Bedrock, use LAN, split-screen on a console, or invite friends to your world through your Microsoft account. In all of these the host has to stay in the world.
How many friends can join my Minecraft world?
A Bedrock world allows 5 or 8 players at a time, depending on the host’s device. A dedicated server is limited by max-players in server.properties, which defaults to 20 on Java and 10 on Bedrock, and you can raise it.
Why can’t my friend see my LAN world?
The usual causes are being on different networks, a firewall blocking Java on the LAN port, or different game versions. Try Direct Connection with your local IP and the port shown in chat. If your friend is in another house, LAN will not work: you need a server.
Can Java and Bedrock players play together?
Only on a Java server running Geyser and Floodgate. Bedrock players then join with the server address and the Geyser port. See can Java and Bedrock play together.
Do my friends need their own copy of Minecraft?
For Java, yes: servers run with online-mode=true by default, which checks that every player owns Java Edition. Bedrock players sign in with their own Microsoft account on their own device.
Hosting for these games
Minecraft Java hostingPaper, Purpur, Fabric, Forge and more
Minecraft Bedrock hostingPhones, consoles and Windows
Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.
All posts
TheGameHosting Team