Floodgate icon indicating copy to clipboard operation
Floodgate copied to clipboard

Admin level account linking

Open MattElek opened this issue 4 years ago • 7 comments

What feature do you want? Add some kind of /linkaccount subcommand or functionality that would allow server admins to link bedrock and java accounts without requiring players to do it themselves, and without requiring players to log in on both accounts.

Alternatives? Manually editing the linked-players.db with a tool such as DB Browser for SQLite.

MattElek avatar Jun 12 '20 23:06 MattElek

This could maybe be done if the bedrock player is online and we could lookup the uuid of the java player using Mojang's API. /linkaccountforce <java> <bedrock> so it doesn't collide with any usernames

rtm516 avatar Jun 12 '20 23:06 rtm516

Sounds ok to me

Tim203 avatar Jun 12 '20 23:06 Tim203

Maybe even an option to pass either UUID and XUID or even XUID in UUID format, because although I'm not sure of whatever legal issues using an XUID grabber in the actual code presents, it's still possible and easy to just use an online XUID grabber.

MattElek avatar Jun 12 '20 23:06 MattElek

This would be really handy, especially if someone can't get their accounts to link for some reason, or if they are unable to (like if they don't have access to their Java account)

jackson-57 avatar Jun 13 '20 00:06 jackson-57

I would add to this the possibility to add another admin command to force unlink players.

NyaomiDEV avatar Aug 31 '20 11:08 NyaomiDEV

Relevant API endpoint for retrieving a gamertag from xuid and vice versa

https://docs.microsoft.com/en-us/gaming/xbox-live/api-ref/xbox-live-rest/uri/profilev2/uri-usersuseridprofilesettingspeopleuserlistget#ID4EKB

Also, according to another project it may simply be /users/{profile}/settings

lukeeey avatar Sep 01 '20 01:09 lukeeey

any updates on this? still work on progress?

the-najjar avatar May 21 '21 06:05 the-najjar