PrismarineJS / mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/mineflayer/
MIT License
4.95k stars 904 forks source link

Adding an option enable IP-Forwarding and connect to a port of a bungeecord server without having to use a localhost to redirect bot. #931

Closed ItsJokerz closed 4 years ago

ItsJokerz commented 4 years ago

Is your feature request related to a problem? Please describe.

Adding an option enable IP-Forwarding and connect to a port of a bungeecord server without having to use a localhost to redirect bot, so I can see kick errors and all that.

Thanks for your time.

rom1504 commented 4 years ago

Can you try to explain what you actually want to do ? I didn't understand what feature you want

On Sat, Mar 28, 2020, 01:17 ItsJokerz notifications@github.com wrote:

Is your feature request related to a problem? Please describe.

Adding an option enable IP-Forwarding and connect to a port of a bungeecord server without having to use a localhost to redirect bot, so I can see kick errors and all that.

Thanks for your time.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437VFEHY7BINWFNPWX7DRJU6YZANCNFSM4LVL4F7A .

ItsJokerz commented 4 years ago

A way to "bypass" the message that it appears when you try to connect the bot to a server port directly: "If you wish to use IP forwarding, please enable it in your BungeeCord config as well!", it would be good so I can send a bot directly to a gamemode instead of the bungeecord proxy to get the info I want of my gamemode since by default, I have to setup a bungeecord proxy with a custom plugin to redirect bot to the port I want. IDK if you understood the whole thing but yeah.

wvffle commented 4 years ago

This message seems like a bungeecord doesn't allow connecting in a way you want your bot to connect. Check your bungeecord config.

ghost commented 4 years ago

Yeah this isn't something mineflayer is capable of fixing. It's a server-side message. If the Bungeecord network is setup properly, this message will appear because the proxy has to handle the authentication of accounts.