A mod that enables seamless online multiplayer gaming with friends, eliminating the need for a centralized server.
P2P is a mod designed to facilitate multiplayer gaming directly between players without intermediaries. Unlike other methods, it relies solely on your internet connection, ensuring a direct and efficient gaming experience.
Compatibility
This mod is designed to be compatible with a wide range of other mods available. It does not directly modify the game's networking code, ensuring compatibility with various modifications. Additionally, it offers built-in Mod Menu integration and developer APIs for enhanced functionality.
How It Works
P2P employs a combination of techniques including hole punching to establish direct connections between players. For a detailed explanation of its functioning, refer to this paper.
Pros and Cons
Pros:
No complex setup required; simply install Fabric-API and this mod, exchange IP and port, and you're ready to play.
Direct connection between players ensures privacy and minimal latency.
High mod compatibility.
Cons:
External executable required for hole punching, though efforts are underway to streamline this process.
Initial setup may be challenging for some users.
How to Use It
Step 1: Click the P2P button to access the main menu.
Step 2: Choose whether to host or join a game.
Step 3: If hosting, configure server settings.
Depending on whether the server access is set to private or public, different configurations apply.
Provide your public IP to players connecting to you, and obtain their IP as well.
Step 4: Configure the mod settings.
Ensure correct IP and port assignments for seamless connection.
Q&A
Forge Port
This mod is not compatible with Forge and will not be ported.
Neoforge Port
Neoforge porting is permitted, provided proper credit is given.