Playing Minecraft on a local network on a phone with a friend is not a difficult task, but when it comes to pirated version and connection at a distancetechnical issues arise nuances. The official Bedrock Edition offers built-in tools for multiplayer, but unlicensed builds often lack this function. In this article, we will look at how to bypass restrictions, configure LAN server through third-party applications and ensure a stable connection even with a pirated version of the game.

The main problem is the lack official support online games in unlicensed APKs. However, using applications like PocketMine-MP or Nukkit you can deploy your own server directly on your smartphone. An alternative option is to use Hamachi or ZeroTier to create a virtual local network. We will look at both methods, point out pitfalls and give recommendations for optimizing performance.

โš ๏ธ Attention: Using pirated versions of games violates the terms of the Mojang license agreement. This instruction is for informational purposes only. The risks of account blocking (if login via Microsoft is used) and legal consequences lie with the user.

1. Preparation: what you need to play online on a pirate

Before setting up, make sure that you and your friend have same versions of Minecraftinstalled. Pirated builds are often delayed in updating or contain modified code, which can cause connection conflicts. The best option is to use APK from one source (for example ReVanced or Lucky Patcherif they support multiplayer).

Also check:

  • ๐Ÿ“ถ Stable Internet connection (preferably Wi-Fi, as mobile traffic can slow down).
  • ๐Ÿ”‹ Battery charge above 50% - the server on the phone consumes a lot of energy.
  • ๐Ÿ“ฑ Free space on the device (minimum 500 MB for server files).
  • ๐Ÿ”’ Permissions to install applications from unknown sources (Settings โ†’ Security).

If you plan to use Hamachi or analogues, please note that these apps create virtual network, but do not guarantee low ping. For playing at a distance of more than 500 km, lags may occur. An alternative is to rent a cheap VPS (virtual server) for 100โ€“200 rubles per month, but this will require additional skills.

๐Ÿ“Š Which connection method do you prefer?
Local network (Wi-Fi)
Hamachi/ZeroTier
Own server on the phone
Rented VPS

2. Method 1: Creating a server on the phone with PocketMine-MP

PocketMine-MP is server software for Minecraft Bedrock, adapted for Android. It allows you to run a game server directly on your smartphone, which other players can connect to. Here's how to do it:

  1. Download PocketMine-MP from the official website or trusted source (for example, pmmp.io). Avoid modified assemblies - they may contain malicious code.
  2. Install the application and run it. At the first start, the server will generate the necessary files in the folder /sdcard/games/com.mojang/.
  3. Configure server.properties:
server-name=MyAndroidServer

server-port=19132

max-players=10

allow-flight=true

Main parameter - server-port. The default port is 19132, but if it is busy, change it to another (for example, 19133).

After configuration:

  1. Start the server in PocketMine-MP (button Start Server).
  2. B Minecraft click Play โ†’ Servers โ†’ Add server.
  3. Enter localhost (if connecting from the same phone) or local IP address your device (for example 192.168.1.105:19132).

โ˜‘๏ธ Preparing the server on the phone

Done: 0 / 4
โš ๏ธ Attention: The server on the phone will only work while the device is on and the application is active. When you lock the screen or switch to other tasks, the connection may be interrupted. Use the mode Do not turn off the screen in the Android settings.

3. Method 2: Virtual network via Hamachi or ZeroTier

If you and your friend are on different networks, the easiest way is to create a virtual local network (VPN) using Hamachi or ZeroTier. These apps emulate a local connection, allowing you to play as if you were on the same Wi-Fi network.

Instructions for Hamachi:

  1. Download LogMeIn Hamachi from the official website (there is a version for Android).
  2. Create a new network (Create a new network) and send your friend the ID and password.
  3. Connect to the network on both devices. After connecting, everyone will have a virtual IP (for example, 5.123.45.67).
  4. In Minecraft add a server with a friendโ€™s IP address (the same ports: 19132).

Advantages of the method:

  • โœ… Does not require port forwarding in the router.
  • โœ… Works at any distance.
  • โœ… Supports up to 5 players in the free version.

Cons:

  • โŒ Possible lags with high ping.
  • โŒ Hamachi limits speed in free version.
  • โŒ Requires registration.
๐Ÿ’ก

If Hamachi is slow, try ZeroTier โ€”it is less demanding on resources and does not limit speed. You can download it at zerotier.com.

4. Port forwarding for direct connection (alternative)

If virtual networks are not suitable, you can configure direct connection via the Internet by forwarding ports on the router. This method is more complicated, but gives better performance.

Steps:

  1. Find out local IP address the phone on your network (Settings โ†’ About phone โ†’ Status โ†’ IP address).
  2. Go to the router control panel (usually at 192.168.1.1 or 192.168.0.1).
  3. Find section Port Forwarding (or Port forwarding).
  4. Add a rule:
Parameter Value
Service name Minecraft
External port 19132
Internal port 19132
Device IP address 192.168.1.105 (your local IP)
Protocol UDP

After saving the rules, your friend will be able to connect via your external IP (you can find it on the website 2ip.ru). However, this method has risks:

โš ๏ธ Attention: Port forwarding opens your network to attacks. Use strong passwords for the server and disable forwarding when you are not playing. If you have a dynamic IP (changes when you reconnect), use the service DDNS (for example, No-IP).

5. Optimizing performance on weak phones

Running a server on a smartphone is a resource-intensive task. If you have a weak device (less than 4 GB of RAM), follow these tips:

  • ๐Ÿ”ง Reduce the number of mobs in server.properties:
spawn-mobs=false

spawn-animals=false

  • ๐ŸŒ Limit the world to a small area:
level-seed=flat

generator-settings={"preset":"flat"}

  • โšก Disable unnecessary plugins (if you are using a modified server).
  • ๐Ÿ“‰ Close background applications via Settings โ†’ Applications.

On phones with a processor weaker than the Snapdragon 600 series server will lag even with 1 player. In this case, it is better to rent a VPS or use a PC as a host.

What to do if the server crashes?

If the server crashes when connecting, check:

- Compatibility of Minecraft versions (pirate builds often conflict).

- Is there enough memory (try reducing view-distance in the settings).

- Is there an IP ban in banned-ips.json (delete the file if there is one).

6. Frequent errors and their solutions

Even with proper configuration, problems may arise. Here are the most common ones and how to fix them:

Error Cause Solution
"Could not connect to the world" Invalid IP or port Check the server settings and port forwarding
"You are not authorized" The pirated version blocks online Use offline mode (online-mode=false)
High ping (500+ ms) Weak host or far apart Try Hamachi or rent a VPS
Server does not start Not enough rights or memory Give storage permissions and close background applications

If the game crashes when loading the world, try:

  1. Delete the world folder (/games/com.mojang/minecraftWorlds/and create a new one.
  2. Disable high-resolution textures (if you use mods).
  3. Reinstall server software.
๐Ÿ’ก

90% of connection problems are solved by checking ports, game versions and access rights. If all else fails, try another method (for example, use ZeroTier instead of Hamachi).

7. Security: how not to lose data and account

Using pirated versions Minecraft is associated with risks:

  • ๐Ÿ”“ Blocking your Microsoft account (if you are trying to log into a pirated account through it).
  • ๐Ÿฆ  Viruses in modified APKs (download only from trusted sources).
  • ๐Ÿ“ฅ Loss of worlds when resetting the settings or deleting the game.

To minimize risks:

  • ๐Ÿ” Use offline mode (online-mode=false in server.properties).
  • ๐Ÿ’พ Regularly make backups of your worlds via Settings โ†’ Manage worlds โ†’ Export.
  • ๐Ÿ›ก๏ธ Install an antivirus (for example, Malwarebytes) to scan the APK before installation.

If you still want to play legally, keep an eye on promotions: Minecraft they often discount up to 50% on official sites (Google Play, minecraf.net). The legal version supports cross-platform multiplayer without additional settings.

Is it possible to play online on a pirate without a server?

Yes, but only on a local network (Wi-Fi). To do this:

  1. Start the world in Minecraft.
  2. Click World settings โ†’ Multiplayer โ†’ Enable local network.
  3. A friend must connect to your local IP (for example, 192.168.1.105:19132).

You won't be able to play at a distance without a server or virtual network (Hamachi).

Why doesn't a friend see my server in the list?

The reasons may be the following:

  • ๐Ÿ”Œ Port 19132 is not forwarded to router.
  • ๐Ÿ”’ Windows Firewall/antivirus is blocking the connection.
  • ๐Ÿ“ก The IP address is incorrect (check via ipconfig or ifconfig).
  • ๐Ÿ”„ Different versions of the game (update or install the same assembly).

Try to connect via Direct connection (enter the IP manually).

How to reduce lags in a network game?

Optimization methods:

  • ๐Ÿ“ถ Use a cable instead of Wi-Fi (if you play from a PC).
  • ๐ŸŽฎ Reduce render-distance in the graphics settings.
  • โš™๏ธ Disable particles and anti-aliasing.
  • ๐Ÿ”„ Restart the server every 2-3 hours (on the phone it slows down from working for a long time).

If lags remain, try another host (for example, rent a VPS for 100โ€“200 rubles/month).

Can you play with a friend on iOS?

Yes, but only if:

  • ๐ŸŽ A friend has an official version Minecraft Bedrock (there are almost no pirates on iOS).
  • ๐Ÿ”— You use Hamachi or ZeroTier for cross-platform connection.
  • ๐Ÿ”„ The game versions are the same (for example, both 1.20.80).

Direct connection to the server on Android with iOS works, but there may be bugs with skins and achievements.

How to transfer a world from a pirated version to the official version?

This is possible, but not always:

  1. Find the folder with the world (/games/com.mojang/minecraftWorlds/).
  2. Copy it to your PC or to the cloud.
  3. In the official version, import the world via Settings โ†’ Storage โ†’ World import.

โš ๏ธ Attention: In some pirated builds, worlds are saved in an incompatible format. If errors occur during import, use converters. like MCWorld Converter.