haveachin / infrared

An ultra lightweight minecraft reverse proxy and idle placeholder
https://infrared.dev
GNU Affero General Public License v3.0
753 stars 61 forks source link

Transfer packet #138

Open NebulaBC opened 2 years ago

NebulaBC commented 2 years ago

Is your feature request related to a problem? Please describe. I hate having to use BungeeCord, it would be a lot lighter on resources/maintenance to only use infrared.

Describe the solution you'd like I would like to see a transfer packet added to infrared so I can just build a plugin for my servers to transfer people between them

Describe alternatives you've considered BungeeCord

Additional context Not 100% sure how this would be done, but I would love to see it added in the rewrite. It would be a killer feature to only have to use a infrared proxy and nothing else

haveachin commented 2 years ago

This could be more difficult to implement since it will break encryption. I would need to decrypt every packet between client and server to enable this, since I wouldn't be able to transfer connection form server to server otherwise. It would also be possible to enable such functionality via a plugin that leaks the servers decryption key to Infrared. I'm not sure what the right call would be here.