No description
Find a file
yushijinhun 496baee488
refactor config & logging
replaced java.logging, fixed #80

deprecated options:
-Dauthlibinjector.debug=all => -Dauthlibinjector.debug
-Dauthlibinjector.mojang.proxy= => -Dauthlibinjector.mojangProxy=
2020-08-22 02:24:37 +08:00
.github/workflows completely switch to github actions 2020-06-20 21:47:06 +08:00
src refactor config & logging 2020-08-22 02:24:37 +08:00
.gitignore Add .gitignore 2017-08-12 21:37:44 +08:00
build.gradle update build dependencies 2020-08-14 20:51:39 +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 refactor config & logging 2020-08-22 02:24:37 +08:00
README.md refactor config & logging 2020-08-22 02:24:37 +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

Configure Minecraft server with the following JVM parameter:

-javaagent:{/path/to/authlib-injector.jar}={Authentication Server URL}

Options

-Dauthlibinjector.mojangProxy={proxy server URL}
    Use proxy when accessing Mojang authentication service.
    Only SOCKS protocol is supported.
    URL format: socks://<host>:<port>

-Dauthlibinjector.debug (equals -Dauthlibinjector.debug=verbose,authlib)
 or -Dauthlibinjector.debug=<comma-separated debug options>
    Enable debug options.
    Available debug options:
      verbose             enable verbose logging
      authlib             print logs from Mojang authlib
      dumpClass           dump modified classes
      printUntransformed  print classes that are analyzed but not transformed, implies 'verbose'

-Dauthlibinjector.ignoredPackages={comma-separated package list}
    Ignore specified packages. Classes in these packages will not be analyzed or modified.

-Dauthlibinjector.disableHttpd
    Disable local HTTP server. Some features may not function properly.