Floodgate
Floodgate copied to clipboard
Add ability to directly link to Mojang account on login
What feature do you want? This is a request of a functionality which allows directly linking your Bedrock account to your Mojang one instead of having to input your Mojang account's login data to play with your Mojang account or logging in with Floodgate.
Possible ways of doing this:
- Display an input field which accepts a linking code which you can get when logging in with your Mojang account and running a link command (easy method)
- Directly link your Xbox account to your Mojang account via Xbox's OAuth (this might be a bit more difficult to do and would require the Geyser software to host a website to get a callback from their API and might even require the server owner to setup their own xbox oauth app or a general geyser one with shared api keys)
Ideally this would be a new auth-type additionally to online, offline and floodgate. Due to the nature of it (requiring a link code from the server side) it might only be possible in the minecraft server/proxy parts or would have to be integrated in Floodgate (maybe it even fits better there, if so feel free to move the issue to that repo. If this would be better in Floodgate then no fake player should ever be visible to the actual server and plugins in order to not cause issues by non-mojang players).
Adding such a feature would enable Geyser to really be usable in front of public servers as it would neither require the user to trust the server by handing over their login data as well as make it compatible with every server plugin which might break due to how Floodgate works.
Alternatives? A possible alternative would be to use Floodgate and connect players using it to a placeholder server where they can link their account, and only then they could switch to one of the other servers or do anything. This would make the setup way more complex than just having to install Geyser and linking.
It sounds like this already exists with Floodgate and /linkaccount
, is it not?
This should be an issue on Floodgate I think you want to block players with no Java account? That's something that could be added if that's what you mean
Yes, this is something that would be handled with Floodgate. I'll transfer the issue.
I think you want to block players with no Java account?
Yes, I only want to allow people with a linked account to log in without the proxy/server ever seeing the XUID users like the current linking requires.
Sure, something like this will be added in the future.
Hello! Any updates on this? Thanks :)
Not yet, but I didn't forget it.
There is now an option in Floodgate 2.0 which allows you to only allow linked accounts on your server. Does this fulfill your feature request?
What happens if it's required and someone joins the Bedrock server without a linked account? How do they link it then?
What happens if it's required and someone joins the Bedrock server without a linked account? How do they link it then?
The default linking option in Floodgate 2.0 is using the Global Link Server, which they connect to beforehand
I'm closing this as I don't see the ideal situation described in this issue being implemented. However, the alternative (blocking non-linked accounts from joining) has been implemented.