Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Details
P2P Fabric
P2P is a mod that allows you to play with friends without a server in the middle.
This is different from other alternatives, as you do not rely on any outside factor except your internet connection. (except your ISP, but without your ISP you wouldn't be here, so /shrug)
Compatibility
This Mod should, in theory, be compatible with most, if not all, mods out there in the wilderness, as we do not edit the game's networking code directly. We offer built-in Mod Menu integration and some developer APIs. While not much, it is better than nothing.
Witchcraft or Black magic?
A little bit of both. Just kidding. If you want an in-depth explanation of how this mod functions, look no further. The whole principe of hole punching and a whole not more of whats going down under the hood is explained in this paper. It is quite long (75 pages) but its well worth it and is written rather good by a student. So give it a try if you want ;D
Pros and Cons
Pros:
No setup is required. Put in fabric-api and this mod. Exchange IP and port, enter into config and boom, there you go.
There are only two parties involved, you and the client that you want to connect with. No third party knows about this connection, not even we as the mod owner. No server or web service is being talked to (except for the server that provides you with your IP, but that hardly matters, nor is it related in any way)
The latency should be even lower than using a third-party server.
- Good mod compatibility
Cons:
- We need to download an external executable to do the hole-punching for us. An alternative is being worked on. While we do provide an automatic way for it, you can also just download and compile the executable yourself and enter the path to the executable in the game config.
- This mod can be a bit tricky when first using it
How to use it (The question I even ask myself)
Step 1 (press the p2p button):
Step 2 (Choose if you want to host or join, joining is straight forward so we will not explain it (join once server has started!))
Step 3 (So you have chosen death hosting)
Server Access Private: Settings are ignored, we just start the world and launch LAN
Server Access Public: Settings are used, we punch a hole, log the progress for you, and open the LAN for all players you specified.
Your IP: Your public IP, which you have to give to the person connecting to you. The person that wants to connect to you also has to give you their IP!
Step 4: (It's Morbin Configuration Time)
You shouldn't really touch anything here, unless you know that you do! You are only interested in the last two Lists!
You enter the IP of the player wanting to connect to you, assign that player a UNIQUE port. The player needs to input that port once you started the connection progress.
The first entry of the IP List corresponds to the first entry of the port List!
Q&A
Forge Port
If you want it bluntly, no. The longer version is, we will not port it ourselfs. I would also appreciate that no third party ports this mod to Forge.
Neoforge Port
If you want it bluntly, yes. The longer version is, we will also not port it ourselfs. But, here I have a quite opposite opinion on the matter. One is free to port this mod to neoforge as long as credit is given where credit is due.
It doesn't work!
This could be a plethora of things:
- Your ISP is incompatible. (One can only know this by trying)
- Your friend's ISP is incompatible.
- The is a bug in the mod, in that case, open an issue
There is a bug!
- Make sure it isnt a wrong configuration
- If that is sure, open an issue
The A Team
- Deflecto: Starting this Project, coming out with the Idea and developing first prototypes.
- zOnlyKroks: Project Owner and residential Networking maniac
- mineblock11: Residential UI Wizard
- Dev0Louis: Emotional support person and all the tasks noone wants to do
- Four_Griffins: Yet another residential Networking maniac