mirror of
https://github.com/yushijinhun/authlib-injector.git
synced 2024-11-15 06:11:09 +01:00
2.3 KiB
2.3 KiB
- 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:
launch
startup of authlib-injectortransform
bytecode modificationconfig
configuration fetchinghttpd
local 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.)authlib
logs 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