mirror of
https://github.com/yushijinhun/authlib-injector.git
synced 2024-11-15 06:11:09 +01:00
No description
1ba5bbb678
YggdrasilConfiguration -> APIMetadata InjectorInitializationException -> InitializationException javaagent/AuthlibInjectorPremain -> Premain |
||
---|---|---|
.github/workflows | ||
src | ||
.gitignore | ||
build.gradle | ||
CONTRIBUTING.md | ||
LICENSE | ||
license-header.txt | ||
README.en.md | ||
README.md | ||
settings.gradle |
- 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
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.