LibreLogin icon indicating copy to clipboard operation
LibreLogin copied to clipboard

[suggestion] Disable pass-through and limbo config

Open xpiREC opened this issue 3 years ago • 5 comments

It would be very nice to see an option to disable redirection of players after login and limbo, the reason for this is that I have several sub servers that are connected via proxy and the selection is done by the version of the client that connects to the server (That is: VersionConnector) This option is helpful for small networks which don't want to run additional servers just to move players and chewing up extra resources for unnecessary things.

xpiREC avatar Jun 25 '22 19:06 xpiREC

How does the VersionConnector find out when to connect the player to the lobby or limbo?

kyngs avatar Jun 25 '22 19:06 kyngs

No, VersionConnector only connects players by detecting their version when connecting, and since LibrePremium does additional redirection, this is not possible, hence the question about adding the ability to disable this functionality.

xpiREC avatar Jun 25 '22 20:06 xpiREC

I guess I might add it, but I would suggest you to use the API for this.

kyngs avatar Jun 25 '22 20:06 kyngs

Unfortunately I'm not that good at Java programming. Therefore, I have created are suggestions that may also be helpful to others in the future.

xpiREC avatar Jun 25 '22 20:06 xpiREC

Be the very last one to make the determination and if the user needs to be rerouted to an authorization server, remember where he should have connected before and reroute to where you need to go with status tracking.

The plugin can still save its implementation of player destination for connections that do not have an end server. Users can remove all destinations in the configuration of the proxy server, if possible, otherwise put a stub, which the plugin will perceive as no server. And in this case the server destination will be delegated by the plugin.

@xpiREC, what do you think about it?

HarvelsX avatar Jun 30 '23 11:06 HarvelsX