longdistance.io

How to Set Up a Minecraft Server for Two

A comprehensive guide on creating your own Minecraft server to play with your long-distance partner.

1. The Easiest Option: Minecraft Realms

If you want zero technical hassle and don't mind spending a few dollars a month, Minecraft Realms is the official hosting service from Mojang.

  • Pros: Literally takes two clicks. Always online. Completely secure.
  • Cons: Requires a monthly subscription. Limited modding support.

If you just want vanilla Minecraft and want to start playing right away, Realms is the best choice.

2. Free and Simple: Aternos or Minehut

If you don't want to pay, services like Aternos offer free server hosting specifically designed for small groups.

  • How it works: You create an account, start a server from their web dashboard, and share the IP address with your partner.
  • Pros: 100% Free. Supports some basic plugins.
  • Cons: You might have to wait in a queue to start your server. The server shuts down automatically if no one is playing.

3. LAN + VPN (Hamachi or Radmin)

If you're tech-savvy, you can host the game on your own computer and use a Virtual Private Network (VPN) tool like Hamachi or Radmin VPN to simulate a local network.

  1. Both of you install Hamachi/Radmin and join the same virtual network.
  2. The host opens their single-player world and selects "Open to LAN".
  3. The other player goes to the Multiplayer menu and connects using the host's VPN IP address and the port provided by the game.

4. Self-Hosting a Java Server

For complete control, you can host the server software on your own PC.

  1. Install Java: Make sure you have the latest version of Java installed.
  2. Download the Server File: Grab the official server.jar from Minecraft.net.
  3. Run and Accept EULA: Run the .jar file in an empty folder, then open the generated eula.txt and change false to true.
  4. Port Forwarding: Log into your router's settings and forward port 25565 to your computer's local IP address.
  5. Share Your Public IP: Give your partner your public IP address to connect.

Warning: Port forwarding exposes your network. Only share your IP address with people you trust!

Conclusion

No matter which method you choose, building a world together in Minecraft is incredibly rewarding. Happy mining!