The fastest way to play Minecraft with friends

The simplest route is Minecraft Realms, a subscription service that runs a server for you on Mojang's computers. You pay per month, invite up to two friends, and the server stays online even when you log off. Setup takes minutes: buy a Realm in the Minecraft launcher, name it, and share the invite code.

If you want more players or don't want a monthly fee, you can run a server on your own computer or rent one from a hosting company. Running it yourself costs nothing but keeps your computer on all the time. Renting a server from a host like Aternos, Nitrado, or Shockbyte costs $3 to $15 per month depending on player count and performance, but the host handles keeping it running.

The choice comes down to player count, budget, and whether you want the server running 24/7. Realms works best for small groups. A self-hosted server works if you have one powerful computer and don't mind leaving it on. A paid host works if you want reliability and don't want to manage the technical side yourself.

Key Takeaways

  • Minecraft Realms costs $8 per month and supports up to three players total, with no setup beyond buying the subscription in the launcher.
  • Running a server on your own computer is free but requires leaving that computer on 24/7 and downloading server software from minecraft.net.
  • Renting from a hosting company costs $3 to $15 per month and handles uptime and performance for you, with support for 10 to 100+ players depending on the plan.
  • Java Edition and Bedrock Edition require different server software, so check which version your friends play before you start.
  • Port forwarding is needed only if you run the server on your own computer; hosting companies handle this automatically.

Using Minecraft Realms for the easiest setup

Realms is the official subscription service built into the Minecraft launcher. You open the launcher, click the Realms button, and buy a subscription. The server appears in your world list immediately. You can then invite friends by sharing a code or by entering their Minecraft usernames directly.

Realms supports up to three players at once: you plus two friends. The server runs on Mojang's computers, so it stays online whether you are playing or not. You can set the world to survival, creative, or adventure mode, and you can upload a world you already built. Realms works only with Java Edition on PC, Mac, and Linux, and with Bedrock Edition on Windows, Xbox, Nintendo Switch, and mobile devices — but not both at the same time on the same Realm.

The main limitation is player count. If you want more than two other players, Realms is not the right choice. If you want to play with a large group, you need either a self-hosted server or a paid host.

Running a server on your own computer

Download the server software from minecraft.net/download/server. This is a single .jar file. Create a folder on your computer, put the file in it, and run it. The first time you run it, it creates a folder structure and a file called eula.txt. Open eula.txt in a text editor, change eula=false to eula=true, save it, and run the server again.

The server opens a command window and prints a message saying "Done! For help, type 'help' or '?'". Your friends can now join by opening Minecraft, clicking Multiplayer, clicking Add Server, and entering your computer's IP address. You can find your IP address by opening Command Prompt (Windows) or Terminal (Mac/Linux) and typing ipconfig (Windows) or ifconfig (Mac/Linux). Look for the line that says "IPv4 Address" and copy that number.

The server runs only while the command window is open and your computer is on. If you shut down your computer or close the window, the server stops and friends cannot join. You can edit the server.properties file in the server folder to change the world name, difficulty, game mode, and other settings. Changes take effect the next time you restart the server.

Port forwarding is required if your friends are outside your home network. This means telling your router to send traffic on a specific port (default 25565) to your computer. The steps vary by router model, but you can find instructions by searching "[your router model] port forwarding". If you do not port forward, only people on your home network can join.

Renting a server from a hosting company

Hosting companies like Aternos, Nitrado, and Shockbyte run servers on their computers and rent you a slot. You pay monthly, log into a control panel, and the server is ready. Most hosts let you upload a world, change settings, install mods or plugins, and restart the server from the panel. You do not need to touch port forwarding or leave your computer on.

Aternos is free but shuts down the server after 30 minutes of no players and requires you to start it manually each time. Nitrado and Shockbyte keep the server running 24/7 for a monthly fee. Prices start around $3 per month for 10 players and go up to $15 or more for 50+ players. Most hosts offer a free trial or a money-back may provide, so you can test before committing.

When you sign up, the host asks how many players you expect. This determines the server size and price. You can upgrade or downgrade later. The host provides you with a server address to give to friends — something like "play.example.com:25565". Friends add this address in Multiplayer just like a self-hosted server, but they do not need your IP address.

Java Edition versus Bedrock Edition servers

Java Edition and Bedrock Edition are separate games with separate servers. A Java server cannot host Bedrock players, and a Bedrock server cannot host Java players. Before you set up a server, confirm which version your friends play.

Java Edition runs on Windows, Mac, and Linux. Bedrock Edition runs on Windows, Xbox, Nintendo Switch, PlayStation, and mobile devices. If your group is mixed — some on Java, some on Bedrock — you need a proxy server like Geyser, which translates between the two. Most hosting companies do not offer Geyser by default, but some allow you to install it if you have technical knowledge.

The server software is different for each edition. Java servers use the .jar file from minecraft.net. Bedrock servers require different software and are usually rented from a host rather than self-hosted, because Bedrock server software is more complex to set up.

Adding mods and plugins to your server

Mods and plugins change how the game works — adding new items, creatures, mechanics, or quality-of-life features. Plugins work only on Java servers and require server software like Spigot or Paper instead of the vanilla server. Mods work on both Java and Bedrock but require players to install matching mods on their own computers.

If you want to use plugins, download Spigot or Paper instead of the vanilla server software. The setup is the same: put the .jar file in a folder, run it, edit eula.txt, and restart. Then create a plugins folder and drop plugin .jar files into it. Restart the server and the plugins load. Popular plugins include EssentialsX (teleportation, homes, chat tools), WorldEdit (terrain editing), and LiteBans (moderation).

Mods are more complex because every player needs the same mods installed. You can use a launcher like CurseForge or MultiMC to bundle mods and distribute them to friends, but this requires more setup. If you are new to servers, start without mods or plugins and add them later once the basic server is working.

Troubleshooting common server problems

If friends cannot connect, check that the server is running and that you gave them the correct address. If you are self-hosting, make sure port forwarding is set up correctly. Test by opening a web browser and visiting canyouseeme.org, entering port 25565, and clicking Check. If it says "open", port forwarding is working. If it says "closed", check your router settings or contact your internet provider.

If the server is slow or crashes, it may not have enough memory. By default, the server uses 1 GB of RAM. You can increase this by editing the startup command. On Windows, create a batch file with the line: java -Xmx2G -Xms2G -jar server.jar nogui. This allocates 2 GB of RAM. Increase the number if you have more RAM available and more players joining.

If players see "outdated server" or "outdated client", the server and client versions do not match. Make sure everyone is running the same Minecraft version. If you updated Minecraft and the server did not, download the latest server software from minecraft.net and replace the old .jar file.

Frequently Asked Questions

Can I play on my own server while my friends play?

Yes. The server runs independently, so you can join as a player just like anyone else. If you are self-hosting, the server keeps running on your computer even while you are playing. If you are using Realms or a paid host, the server runs on their computers, so your connection does not affect uptime.

What happens to my world if I stop paying for Realms?

Your world is saved and you can download it. Log into your Realm, click the pencil icon next to the world name, and look for a download option. You can then upload it to a new Realm, a self-hosted server, or a paid host. You have 18 months to download it before Mojang deletes it.

How many players can a self-hosted server support?

It depends on your computer's CPU and RAM. A typical gaming computer can handle 10 to 20 players smoothly. The default server software allocates 1 GB of RAM, which is enough for 5 to 10 players. Allocate more RAM if you have it available, and consider upgrading to a paid host if you want more than 20 players.

Do I need to buy Minecraft again to run a server?

No. The server software is free. You need a copy of Minecraft for each player who wants to join, but the server itself does not require a purchase. Realms is the only option that costs money, and that is a monthly subscription, not a one-time purchase.

Can I use a laptop as a server?

Yes, but it needs to stay on 24/7. Laptops can overheat if left running continuously, so use a desktop computer or a paid host instead. If you must use a laptop, make sure it has good ventilation and consider setting it up in a cool location.