Closed lukruh closed 4 years ago
Hi, I'm the initiator of authlib-injector project. And I'm sorry that almost all the documents are only available in Chinese. I would be grateful if anyone could help me translate those things into English.
Let me give a brief introduction of how these things work:
I hope this will help you.
if this can be used in addition to mojang auth (not only as replacement) on the same server?
As to this question, my answer is No. Mixing two authentication systems is really complex. I have tried this before (see #4 , unfortunately it's in Chinese), but did not succeed.
Thanks for the reply, I'll come back to this and try to install it on my server later on. Your brief instruction was good to give me a clear overview how the projects are related. Only thing that's not clear yet is how to implement/install the authlib-injector on the server (unix/debian, spigot 1.13.2).
I guess I need to install the package and start the servers jar file with the -javaagent:{authlib-injector.jar 的路径}={Yggdrasil 服务端的 URL(API Root)}
parameter?
I guess I need to install the package and start the servers jar file with the
-javaagent:{authlib-injector.jar 的路径}={Yggdrasil 服务端的 URL(API Root)}
parameter?
You are right if I didn't misunderstand your meaning. Note that the parameter should be inserted before -jar
.
And the English translation of the parameter:
-javaagent:{/path/to/authlib-injector.jar}={API Root of Authentication Server}
You need to replace the two string templates ({...}
) in the parameter.
authlib-injector can be downloaded here (JSON API). (or here if you understand Chinese)
Take skin.prinzeugen.net (a demo Blessing Skin Server instance maintained by @printempw) for example, "API Root of Authentication Server" is https://skin.prinzeugen.net/api/yggdrasil
. But it can be shorter: the protocol can be omitted when using https; the path can be omitted when the server supports.
So finally your parameter will be like this:
-javaagent:authlib-injector.jar=skin.prinzeugen.net
Hey, I'm interested in implementing a custom yggdrasil auth service in my minecraft server. Unfortunatly I can't find any english (or german) instructions. Tryed to translate the readme using google translate but it's not very helpful at all ;).
So I'm using the HMCLauncher already there is an option -> "authlib-injector". But same problem there.. everything in chinese..
As far as I know three applications need to be changed, since they communicate with mojange auth server by default (launcher/game/server). I don't know how to implement the injector on serverside and also I would like to know if this can be used in addition to mojang auth (not only as replacement) on the same server?