Skidamek / AutoModpack

Enjoy a seamless modpack installation process and effortless updates with a user-friendly solution that simplifies management, making your gaming experience a breeze.
https://modrinth.com/mod/automodpack
GNU Lesser General Public License v3.0
90 stars 29 forks source link

Open to lan working #238

Closed petermg closed 2 days ago

petermg commented 4 weeks ago

Motivation

I would love for this to be able to work just with direct connections over the lan via the "OPEN TO LAN" option so that no server is required, just two people on the same network playing just on the Minecraft clients connecting as they already do one to the other via "OPEN TO LAN". Would be amazing if this would also work for those instances as well!

Description

This would make is just as easy for two people on the same LAN using "OPEN TO LAN" to play multiplayer to both sync their mods! This would be AMAZING if this could be added as a feature!

Other information

No response

Skidamek commented 4 weeks ago

It is planned, but do note that both clients will still be required to have automodpack installed in the first place

petermg commented 4 weeks ago

It is planned, but do note that both clients will still be required to have automodpack installed in the first place

Nice! Can't wait! Plus the requirement for both to have automodpack installed is already a requirement isn't it? So that wouldn't be an issue.

Skidamek commented 4 weeks ago

Yes that's right

Skidamek commented 5 days ago

Okay lan connections are working now. Try this dev build. Only thing you need to do when opening to lan is to generate modpack via automodpack generate command.

The only issue is that mods like essential, worldhost or e4mc don't work with it. I am not sure why but i can guess that is because AutoModpack uses HTTP to host modpack and these mods may allow only packets from minecraft protocol.

However solutions like https://playit.gg/ or https://ngrok.com/ should work since they proxy whole TCP protocol.

petermg commented 5 days ago

Awesome! I will try this out soon! Thanks.

On Wed, Jun 26, 2024 at 2:38 AM Skidam @.***> wrote:

Okay lan connections are working now. Try this dev build https://github.com/Skidamek/AutoModpack/actions/runs/9677214729 The only issue is that mods like essential or e4mc don't work with it. I am not sure but i can guess it is because AutoModpack uses HTTP protocol to host modpack and these mods may allow only packets from minecraft protocol. However solutions like https://playit.gg/ or https://ngrok.com/ should work since they proxy whole TCP protocol.

— Reply to this email directly, view it on GitHub https://github.com/Skidamek/AutoModpack/issues/238#issuecomment-2191255960, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6NOTLTPYRL7VL2UJAFO7LZJKDZDAVCNFSM6AAAAABIXED736VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGI2TKOJWGA . You are receiving this because you authored the thread.Message ID: @.***>

petermg commented 5 days ago

Okay lan connections are working now. Try this dev build. Only thing you need to do when opening to lan is to generate modpack via automodpack generate command.

The only issue is that mods like essential, worldhost or e4mc don't work with it. I am not sure why but i can guess that is because AutoModpack uses HTTP to host modpack and these mods may allow only packets from minecraft protocol.

However solutions like https://playit.gg/ or https://ngrok.com/ should work since they proxy whole TCP protocol.

Oh BTW, this can easily be done OVER THE INTERNET without the need for any third party service or plugin! This is the method I use! https://youtu.be/Mij15k6RVKw