DimiDimit / Custom-LAN

Minecraft Fabric mod that gives you more control over your integrated server through the Open to LAN menu.
https://modrinth.com/mod/custom-lan
MIT License
16 stars 8 forks source link

Where and how to throw authtoken ngrok #34

Closed AxolotlBro closed 2 months ago

AxolotlBro commented 2 months ago

I changed the config file and added a token between "" but it didn't change anything. Then I restarted minecraft and tried to use tunnels again and minecraft just crashed (it looks like something that might help https://mclo.gs/QjMgKUt ) I have no idea what else can be done to make the mod see authtoken

Thank you for your help

DimiDimit commented 2 months ago

It seems that outside of a dev environment, SnakeYAML is required… I thought I tested it, not sure how I missed that (or why this wasn't reported sooner—has no one used the ngrok tunnel until now, or did it suddenly stop working?). v2.3.1 now includes it in the JAR. Tell me if it works so I can close this issue.

muhammedesadcomert commented 2 months ago

It seems that outside of a dev environment, SnakeYAML is required… I thought I tested it, not sure how I missed that (or why this wasn't reported sooner—has no one used the ngrok tunnel until now, or did it suddenly stop working?). v2.3.1 now includes it in the JAR. Tell me if it works so I can close this issue.

It works as intended, the issue can be closed.

AxolotlBro commented 2 months ago

I checked the patch and now I don't crash minecraft, but when I ask to connect to the ip, I get a problem with the login and I restart minecraft (I have a pirate client), I checked on friends and they didn't work either Here is a log file that can help you figure it out https://mclo.gs/IEKkLiz image Here is the error itself on the screen And I will add that we use this mod only to play with each other on the pirate, and the developer of world-host (a mod similar to yours) said that on the pirate you can connect via nrog and this is done through your mod

DimiDimit commented 2 months ago

Did the host disable Online Mode when opening to LAN?

AxolotlBro commented 2 months ago

it works and ngrok works well too. Thank you for your help