How do you play Minecraft with friends?
LAN (the same Wi-Fi network), a server (your own or hosted), Realms (paid) or Aternos (free). On Bedrock, invite friends through Xbox Live. Java and Bedrock can't connect without GeyserMC.
Quick answer
LAN (the same Wi-Fi network), a server (your own or hosted), Realms (paid) or Aternos (free). On Bedrock, invite friends through Xbox Live. Java and Bedrock can't connect without GeyserMC.
Detailed answer
Minecraft gives you several ways to play with friends: (1) LAN (local network): the simplest option, and it's free. One player opens a world and clicks Esc → Open to LAN → Start LAN World. A friend on the same Wi-Fi sees the world under Multiplayer. It only works when you're on the same network.
(2) A dedicated server: one of you sets up a server (on your own computer or through a server hosting company). Everyone connects by entering its IP address. You get a persistent world, plugins and protection. (3) Minecraft Realms: Mojang's official service (~36 PLN/month). A simple control panel, online 24/7, invites by username. Up to 10 players at once on both Java and Bedrock.
(4) Aternos/Minehut: free hosting services. One player creates the server and the rest join. The server shuts down when nobody is playing. (5) Bedrock cross-play: in Bedrock Edition (Windows, consoles, phones), invite friends from your Xbox Live friends list. Your friends can join your world without any server setup.
Java vs Bedrock: Java players can ONLY play with Java players, and Bedrock players ONLY with Bedrock players. The exception is the GeyserMC plugin on a Java server, which lets Bedrock players join. Port forwarding: if you host a server on your own PC, you have to open port 25565 on your router and give your friends your public IP address (check it at whatismyip.com).
Related topics
Related questions
How do you make a Minecraft server?
Download server.jar from minecraft.net, run java -Xmx4G -jar server.jar, accept the EULA and configure server.properties. Or use a hosting service (Aternos is free, paid plans start at 15 PLN/month).
Servers and multiplayerHow do you join a Minecraft server?
Java: Multiplayer → Add Server → enter the IP address → Done → connect. Bedrock: Play → Servers → Add Server → address + port 19132.
Servers and multiplayerHow do you fix lag in Minecraft?
FPS lag: install Sodium, lower your render distance and allocate 4-6 GB of RAM. Network lag: use Ethernet instead of Wi-Fi, switch your DNS to 1.1.1.1 and check your ping.
GeneralHow do you install plugins on a Minecraft server?
You need a PaperMC or Spigot server. Download the plugin (.jar) from Modrinth or SpigotMC, drop it into the /plugins/ folder and restart the server.
Servers and multiplayerHow do you configure a Minecraft server (server.properties)?
Edit the server.properties file in the server folder. The key settings: gamemode, difficulty, max-players, pvp, online-mode (never turn it off!) and view-distance.
Servers and multiplayerHow do you secure a Minecraft server?
online-mode=true (always!), a whitelist, WorldGuard (region protection), CoreProtect (logs and rollbacks), LuckPerms (permissions), an anti-cheat and regular backups.
Servers and multiplayerLooking for more answers?
Browse all 101 questions