anvilauth-injector/README.en.md
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

2.2 KiB

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.