The fastest way to play together in Minecraft Java

You can play multiplayer in Minecraft Java in three ways: invite friends to your single-player world using the LAN (Local Area Network) feature, rent a server from a hosting company, or set up your own server on a computer you own. LAN is free and works only if everyone is on the same network. Renting a server costs money but is the easiest option for ongoing play. Running your own server is free but requires a computer to stay on and running.

Which route you choose depends on how many people want to play, how often you want to play together, and whether you want to pay for hosting. Most casual groups start with LAN, then move to a rented server once they want to play regularly or invite people outside their home network.

Key Takeaways

  • LAN multiplayer is free and works immediately if your friends are on your home network, but stops working when anyone leaves the network.
  • Renting a server from companies like Aternos, Nitrado, or Apex Hosting costs between $3 and $10 per month and lets anyone join from anywhere.
  • Running your own server requires downloading the server software from minecraft.net, which is free but needs a computer left running 24/7.
  • You must give friends your server address or IP address so they can connect, and you may need to open ports on your router if you run your own server.
  • Mods and plugins work differently on multiplayer servers than in single-player, and not all hosting companies support them equally.

Using LAN to play with friends on your network

LAN multiplayer is the simplest option if everyone playing is already connected to your home Wi-Fi or ethernet network. Open your single-player world, press Escape, and look for the "Open to LAN" button. Click it, choose your game mode (Survival, Creative, or Adventure), and then click "Start LAN World." Your friends on the same network will see your world appear in their multiplayer server list within seconds.

The catch is that LAN only works while you are in the world. If you close Minecraft or quit to the main menu, the world closes for everyone else. Also, LAN stops working the moment anyone leaves your network — if a friend goes home or switches to mobile data, they disconnect immediately. This makes LAN good for one-off gaming sessions but not for a world you want to keep playing in over weeks or months.

Renting a server for ongoing multiplayer play

Renting a server is the most popular option for groups that want to play regularly. You pay a hosting company to run the server software on their computers, so the world stays online even when you are not playing. Your friends connect using the server address the host gives you, and they can join anytime the server is running.

Popular hosting companies for Minecraft Java include Aternos (free tier available, paid tiers start around $3 per month), Nitrado ($8 to $15 per month), Apex Hosting ($5 to $15 per month depending on player count), and Shockbyte ($5 to $20 per month). Most hosts let you install plugins (which add features like teleportation, economy systems, or custom commands) and some support mods, though mod support varies widely. Check what the host allows before you sign up if you plan to use either.

When you rent a server, the host handles backups, updates, and keeping the server running. You log into a control panel to restart the server, upload plugins, or change settings. The trade-off is that you lose some control compared to running your own server, and you pay for convenience.

Setting up your own server on a computer you own

Running your own server is free but requires a computer that stays on and connected to the internet all the time. Download the server software from minecraft.net/download/server. You will get a file called server.jar. Create a folder for your server, move server.jar into it, and run it. The first time you run it, the software creates a world and a file called eula.txt. Open eula.txt in a text editor, change eula=false to eula=true, save it, and run server.jar again.

Your friends connect using your computer's IP address. Find your local IP address by opening Command Prompt (Windows) or Terminal (Mac/Linux) and typing ipconfig (Windows) or ifconfig (Mac/Linux). Look for the address that starts with 192.168 or 10.0. Give this address to your friends, and they can add it as a server in their multiplayer list.

If your friends are outside your home network, you need to open a port on your router so traffic can reach your server. This involves logging into your router's settings (usually at 192.168.1.1 or 192.168.0.1) and forwarding port 25565 (Minecraft's default port) to your computer's local IP address. The exact steps vary by router model, so search for "[your router model] port forwarding" if you get stuck. This is more technical than renting a server, and if your internet goes down or your computer crashes, the server goes offline.

Inviting friends and managing who can join

For LAN worlds, your friends see your world in their server list automatically once you open it to LAN. They click it and join — there is no password or permission system.

For rented servers, the host gives you a server address (something like play.example.com or an IP address). Share this address with anyone you want to play with. They add it to their multiplayer server list by clicking "Add Server," pasting the address, and clicking "Done." Most rented servers are public by default, meaning anyone who knows the address can join. If you want to restrict access, some hosts let you enable a whitelist — a list of usernames allowed to join. Check your host's control panel for whitelist settings.

For your own server, the whitelist is in a file called whitelist.json in your server folder. You can edit it manually or use in-game commands like /whitelist add [username] while you are logged in as an operator. To make yourself an operator, add your username to a file called ops.json in the same folder.

Installing plugins and mods on multiplayer servers

Plugins and mods are not the same thing, and multiplayer servers handle them differently. Plugins are server-side only, meaning they run on the server and do not require players to install anything. Mods are client-side, meaning players must install them on their own computers to see them work.

If you rent a server, check whether your host supports plugins. Most do. Download plugins from sites like Spigot or Bukkit, drop them into the plugins folder in your server directory, and restart the server. The plugins load automatically. Not all rented hosts support mods, so ask before you sign up if mods are important to you.

If you run your own server, you have two options: use the vanilla server software (which supports no plugins or mods) or switch to Spigot or Paper, which are modified server software that support plugins. Download Spigot or Paper instead of the vanilla server.jar, and then add plugins the same way. Mods still require players to install them on their own computers, even with Spigot or Paper.

Troubleshooting common connection problems

If your friends cannot see your LAN world, make sure everyone is on the same Wi-Fi network and that your firewall is not blocking Minecraft. Restart Minecraft and open to LAN again.

If friends cannot connect to a rented server, check that the server is running in your host's control panel. Restart it if it is not. Make sure you gave them the correct address — copy it directly from your host's panel rather than typing it from memory. If the server is running and the address is correct, contact your host's support.

If friends cannot connect to your own server, first check that server.jar is still running on your computer. If it is, ask them to try connecting with your local IP address (192.168.x.x) if they are on your home network, or your public IP address (found by searching "what is my IP" in a browser) if they are outside your network. If they are outside your network and cannot connect, you likely need to open port 25565 on your router. If you already did that, check that you forwarded to the correct local IP address — if your computer's local IP changed, the port forward no longer works.

Frequently Asked Questions

Can I play multiplayer with friends who have Minecraft Bedrock instead of Java?

No. Minecraft Java and Minecraft Bedrock (the version on Windows 10/11, consoles, and mobile) are separate games and cannot play together. Everyone must have Minecraft Java Edition to join the same world.

Do I need to pay for Minecraft Realms if I want to play multiplayer?

No. Realms is an optional subscription service that handles server hosting for you, but it is not required. LAN, rented servers, and your own server all work without Realms. Realms costs around $8 per month and is mainly useful if you want the easiest possible setup with no port forwarding or technical configuration.

What happens to my world if the server goes down?

If you rent a server, your world is saved on the host's computers and comes back online when the server restarts. If you run your own server and your computer crashes or loses power, the world stays saved on your hard drive — it just goes offline until you restart the server. In both cases, your world data is not lost, but nobody can play until the server is running again.

Can I transfer a single-player world to a multiplayer server?

Yes, but the process depends on whether you are using a rented server or your own. For your own server, copy the world folder from your single-player saves folder into your server directory and rename it to "world." For a rented server, check your host's control panel for a world upload option, or contact support — most hosts can do this for you.

How many players can join my server?

LAN supports up to 4 players on most networks. Rented servers let you choose your player limit when you sign up — most start at 4 to 10 players and scale up with price. Your own server can theoretically support many players, but performance depends on your computer's power and internet speed. Most home computers run smoothly with 5 to 10 players.