Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using multiple authservers #245

Open
ghost opened this issue May 7, 2024 · 7 comments
Open

using multiple authservers #245

ghost opened this issue May 7, 2024 · 7 comments

Comments

@ghost
Copy link

ghost commented May 7, 2024

I wanted to use both microsoft and elyby authservers for example. Like, if the user can't be verified on ely.by, then the game will try on microsoft, but i don't know if thats possible.

@Lama3L9R
Copy link

Lama3L9R commented May 8, 2024

Try Multilogin

@ghost
Copy link
Author

ghost commented Jul 13, 2024

any idea on how to configure this for using ely.by?

@kuruaff
Copy link

kuruaff commented Jul 13, 2024

any idea on how to configure this for using ely.by?

What's the problem with specifying ely.by as the api url

@tnqzh123
Copy link

I'll not recommend using multiple authenticate servers since it may bring some problems such as duplicate UUIDs and player names which is hard to handle.

If you insist doing this, my suggestion is building your own authenticate server and handle the situation you mentioned by yourself. MultiLogin is another workaround, but it requires a Velocity server, so it may not be applicable to all servers.

@kuruaff
Copy link

kuruaff commented Jul 13, 2024

I'll not recommend using multiple authenticate servers since it may bring some problems such as duplicate UUIDs and player names which is hard to handle.

If you insist doing this, my suggestion is building your own authenticate server and handle the situation you mentioned by yourself. MultiLogin is another workaround, but it requires a Velocity server, so it may not be applicable to all servers.

A UUID is a completely unique thing and the chance of a duplicate UUID is nil, and with different Yggdrasil you can develop a plugin that will add a prefix to a player's nickname depending on the method of authorization

But all this is not particularly cost-effective in production, using authorization server with online mode disabled is much more reasonable, so you are right

@tnqzh123
Copy link

A UUID is a completely unique thing and the chance of a duplicate UUID is nil, and with different Yggdrasil you can develop a plugin that will add a prefix to a player's nickname depending on the method of authorization

The thing is you don't know the UUID algorithm and seeds that authenticate server uses. If you use the same algorithm and the same seed, then you will get the same UUID. I'm sure both Mojang and Ely.by use UUID v4 (totally random UUID), but for other authenticate servers, it's still an unknown.

AFAIK some Blessing Skin servers are using UUID v3 and uses player name as seeds, just for "compatible with offline authentications". I cannot agree with this, since this will prevent players from changing their name, and will cause problems I mentioned before.

Adding prefix or suffix will in player names break user experience. Nobody wants to have a strange label in their name.

@kuruaff
Copy link

kuruaff commented Jul 13, 2024

Adding prefix or suffix will in player names break user experience. Nobody wants to have a strange label in their name.

it was just a suggestion under the author wanted, but as it is, yeah, I wouldn't use such a thing myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants