I would appreciate help on UI and in-game commands, the network stuff you can leave to me π
Updated January 9th:
I'm coding a way for players to join and host their own servers from their PC, without having to port forward, without risky protocols like UPnP.
The gist of it is, when you connect to a server (ex: hypixel.net), your local wifi temporarily allows hypixel.net to send you data.
Normally your wifi stops all data from coming, unless you connect to a server first.
This is called "hole punching", and it happens every time you use the internet; the tricky part is getting it to work for both the client and the server at the same time.
Both the client and server needs to have holes punched to eachother if they are both behind private wifi networks.
Only then can the client successfully connect to the server.
Thankfully I have found more than one method of doing this.
The video of the demo uses 300 lines and java.net.Socket.
The latest version uses a simple library, where you run a command on both ends, and it creates a reliable connection between the player and client.
Because it simply sends packets as byte arrays from your server to your players, it works for all versions of Minecraft, and has been tested on Beta 1.7.3, 1.20.4, and has support for Bedrock Edition players as well.
Vanilla lan worlds and locally running servers with plugins are both supported.
A demo of a program I wrote in Java that lets you form a tunnel between two users on separate LAN networks.
This can be used for a variety of purposes, from free game servers with plugins to in-game voice chat, and can be done in any general purpose programming language.
If you're interested in helping me create a multiplayer network out of th...
?




