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

Can add authlib-injector to use Mojang's yggdrasil API? #3260

Closed
yealqp opened this issue Jan 19, 2025 · 3 comments
Closed

Can add authlib-injector to use Mojang's yggdrasil API? #3260

yealqp opened this issue Jan 19, 2025 · 3 comments

Comments

@yealqp
Copy link

yealqp commented Jan 19, 2025

Enhancement Type

A completely new feature

Describe the enhancement

Yggdrasil is the name of the authentication system that is currently used for authenticating user credentials for Minecraft.Add this to enable third-party verification login

@yealqp yealqp changed the title Can add authlib-injector to use Mojang's yggdrasil API Can add authlib-injector to use Mojang's yggdrasil API? Jan 19, 2025
@itzg
Copy link
Owner

itzg commented Jan 19, 2025

I'm not sure why that's not already built in. Can you point me to documentation that describes how someone adds that?

@yealqp
Copy link
Author

yealqp commented Jan 19, 2025

我不确定为什么还没有内置它。您能给我指出描述某人如何添加它的文档吗?

You can take a look at this, but it's in Chinese https://manual.littlesk.in/yggdrasil/authlib-injector
"-javaagent:authlib-injector-1.2.5.jar=yggdrasil url"
Use authlib-injector and add this before - jar

@itzg
Copy link
Owner

itzg commented Jan 19, 2025

Thanks. Looks like you can already solve this by adding

-javaagent:authlib-injector-1.2.5.jar=https://littleskin.cn/api/yggdrasil

to JVM_OPTS

https://docker-minecraft-server.readthedocs.io/en/latest/configuration/jvm-options/#extra-jvm-options

@yealqp yealqp closed this as completed Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants