No description
Find a file
Hai-tun af9e793db3
Allow specifying packages to ignore (#63)
* Add parameter: authlibinjector.ignoredPackages

Co-authored-by: yushijinhun <yushijinhun@gmail.com>
2020-04-07 21:29:02 +08:00
.circleci update circleci buildscript 2018-12-09 13:18:31 +08:00
src Allow specifying packages to ignore (#63) 2020-04-07 21:29:02 +08:00
.gitignore Add .gitignore 2017-08-12 21:37:44 +08:00
build.gradle Add license headers 2019-01-12 18:58:35 +08:00
LICENSE Change the license to AGPLv3 2019-01-12 17:43:28 +08:00
license-header.txt Add license headers 2019-01-12 18:58:35 +08:00
README.en.md English readme 2019-02-24 21:55:39 +08:00
README.md English readme 2019-02-24 21:55:39 +08:00
settings.gradle Add gradle scripts 2017-08-12 22:42:31 +08:00

authlib-injector

circle ci license agpl-3.0 language require java 1.8+

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-injector
  • transform bytecode modification
  • config configuration fetching
  • httpd 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