No description
Find a file
yushijinhun 059dc2641d
Remove ExecutionEnvironment & authlibinjector.side
'authlibinjector.side' option becomes unnecessary now.
This commit discards 'authlibinjector.side' option defined in proposal #16.
2020-08-13 20:50:14 +08:00
.github/workflows completely switch to github actions 2020-06-20 21:47:06 +08:00
src Remove ExecutionEnvironment & authlibinjector.side 2020-08-13 20:50:14 +08:00
.gitignore Add .gitignore 2017-08-12 21:37:44 +08:00
build.gradle completely switch to github actions 2020-06-20 21:47:06 +08:00
CONTRIBUTING.md Create CONTRIBUTING.md 2020-04-13 00:04:05 +08:00
LICENSE Change the license to AGPLv3 2019-01-12 17:43:28 +08:00
license-header.txt Remove license check plugin 2020-05-01 21:12:23 +08:00
README.en.md Fix wiki url in readme 2020-04-10 20:01:01 +08:00
README.md Fix wiki url in readme 2020-04-10 20:01:01 +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