mirror of
https://github.com/unmojang/authlib-injector.git
synced 2025-09-30 06:40:47 -04:00
- English
- 简体中文(Chinese Simplified)
authlib-injector
authlib-injector enables you to build a Minecraft authentication system offering all the features that genuine Minecraft has.
See the wiki for documents and detailed descriptions.
Download
You can download the latest authlib-injector build from here.
Build
Dependencies: Gradle, JDK 8+
Run:
gradle
Build output can be found in build/libs.
Deploy
The authentication server is required to implement Yggdrasil Server Specification.
Configure Minecraft server with the following JVM parameter:
-javaagent:{/path/to/authlib-injector.jar}={API Root of Authentication Server}
Debug
Print verbose logs
Add the following JVM parameter:
-Dauthlibinjector.debug={types of logs to print}
Types of logs:
launchstartup of authlib-injectortransformbytecode modificationconfigconfiguration fetchinghttpdlocal http server (The local http server acts as a reverse proxy between client and the remote authentication server, which allows authlib-injector to implement enhancements.)authliblogs intercepted from authlib (which contains detailed network communication)
Use , as the separator when specifying multiple types. To print all the logs, set the type to all.
Dump modified classes
Dump the modified classes to current directory with the following JVM parameter:
-Dauthlibinjector.dumpClass=true
Languages
Java
100%