Description
AutoHost P2P — Client Mod
AutoHost P2P is the client-side companion mod for the AutoHost P2P open-source project. It lets you join Minecraft worlds hosted through a Raspberry Pi (or any Linux system) without anyone needing to keep a dedicated server running - just a lightweight daemon on a low-power device.
⚠️ This mod only works with AutoHost servers. If you have not created one yet, go to the end of the page and visit the GitHub project for further information. It has no use on its own. If you are not joining an AutoHost server, this mod does nothing.
What is the AutoHost P2P project?
AutoHost P2P is a peer-to-peer world hosting solution for Minecraft 1.21.1 (NeoForge). Instead of renting a dedicated server, you run a lightweight Go daemon on a Raspberry Pi or Linux machine that handles connection routing, world storage, and a small web admin panel. The first player to join becomes the host — their game runs the world locally and syncs it back to the Pi every five minutes and when the session ends.
The result: an always-online world that feels exactly like a dedicated server, with no monthly fees and no server maintenance.
-
🖥️ The Pi does not run Minecraft or Java — only the daemon.
-
🎮 Every player connects through the same Multiplayer entry (
PI_IP_ADDRESS:25565). -
🌐 Works over LAN with zero setup, and over the Internet with simple port forwarding.
-
🧩 Fully mod-compatible — as long as all players use the same modpack.
-
⚙️ A built-in web panel (
http://PI_IP_ADDRESS:8080) lets you set the MOTD, upload a server icon, manage the whitelist, grant admin status, download/restore world ZIPs, and view player activity.
What does this mod do?
This JAR is the client-side mod that every player must install to join an AutoHost server. It handles the P2P connection between your game and the AutoHost daemon, allows you to claim the host role if you're the first to join, and keeps the world synchronized with the Pi while you play.
Installation:
-
Install Java 21 and NeoForge for Minecraft 1.21.1.
-
Download
autohost-client-x.x.x.jarfrom the GitHub Releases page. -
Drop the JAR into the
modsfolder of your Minecraft instance. -
Add
PI_IP_ADDRESS:25565to your Multiplayer list and press Join.
📌 All players must use the same modpack to join and to preserve mod-related blocks. Removing mods and joining as host will make those blocks disappear — be careful if that isn't intended. Adding or removing mods otherwise is fine.
Important notes
-
🔗 Only compatible with AutoHost servers. This mod will not do anything in vanilla servers, Realms, or any other hosting service.
-
🔄 The mod and the daemon must be updated in sync. Each new
.jarrelease on GitHub requires the matching server-side update, and vice versa. -
🌍 For Internet play, forward public TCP 25565 → local 25565 (game) and public TCP 4000 → local 8080 (panel/API) on your router.
🔧 Project repository & daemon: https://github.com/SergioTejada4/minecraft-autohostAutoHost P2P — play your world like a dedicated server, without ever running one.
