All Projects → yushijinhun → Authlib Injector

yushijinhun / Authlib Injector

Licence: other
Build your own Minecraft authentication system.

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Authlib Injector

Cursed-Legacy-API
API for beta 1.7.3. Downloads are hosted on the website linked below:
Stars: ✭ 14 (-94.68%)
Mutual labels:  minecraft
NT-RPG
A new rpg plugin for Sponge & Spigot
Stars: ✭ 21 (-92.02%)
Mutual labels:  minecraft
Opennoteblockstudio
Open Minecraft Note Block Studio is a open source continuation of Minecraft Note Block studio
Stars: ✭ 257 (-2.28%)
Mutual labels:  minecraft
MatterOverdrive-Legacy-Edition
Sci-Fi minecraft mod
Stars: ✭ 35 (-86.69%)
Mutual labels:  minecraft
Extropy
Custom version of PocketMine-MP for the @ConflictPE network! 🚀🕹️
Stars: ✭ 16 (-93.92%)
Mutual labels:  minecraft
FlameCord
Patch for Waterfall to improve performance during attacks and fix memory issues.
Stars: ✭ 103 (-60.84%)
Mutual labels:  minecraft
MojangSharp
A C# wrapper library for Mojang API (no longer actively maintained)
Stars: ✭ 38 (-85.55%)
Mutual labels:  minecraft
Nocheatplus
Anti cheating plugin for Minecraft (Bukkit/Spigot).
Stars: ✭ 260 (-1.14%)
Mutual labels:  minecraft
Traverse
A biome expansion mod that embraces the simplistic nature of Minecraft biomes.
Stars: ✭ 86 (-67.3%)
Mutual labels:  minecraft
Client
KAMI Blue: a continuation of 1.12.2 KAMI
Stars: ✭ 257 (-2.28%)
Mutual labels:  minecraft
FoodCraft-Reloaded
Reloaded version of FoodCraft.Original repository:https://github.com/InfinityStudio/FoodCraft
Stars: ✭ 27 (-89.73%)
Mutual labels:  minecraft
Terra
Voxel world generation modding platform
Stars: ✭ 320 (+21.67%)
Mutual labels:  minecraft
BurgerSpawners
Pocketmine Plugin implementing Stackable Spawners
Stars: ✭ 32 (-87.83%)
Mutual labels:  minecraft
ModularArmour
Modular Armour for Minecraft
Stars: ✭ 12 (-95.44%)
Mutual labels:  minecraft
Baritone
google maps for block game
Stars: ✭ 3,868 (+1370.72%)
Mutual labels:  minecraft
pymine
python learns to play minecraft (TOTALLY not copying https://github.com/Sentdex/pygta5 😂)
Stars: ✭ 20 (-92.4%)
Mutual labels:  minecraft
Plants
https://minecraft.curseforge.com/projects/plants
Stars: ✭ 22 (-91.63%)
Mutual labels:  minecraft
Arclight
A Bukkit(1.15/1.16) server implementation on Forge using Mixin. ⚡
Stars: ✭ 262 (-0.38%)
Mutual labels:  minecraft
Mccustomskinloader
Custom Skin Loader for Minecraft
Stars: ✭ 261 (-0.76%)
Mutual labels:  minecraft
Spongevanilla
The SpongeAPI implementation for Vanilla Minecraft.
Stars: ✭ 254 (-3.42%)
Mutual labels:  minecraft
  • English
  • 简体中文(Chinese Simplified)

authlib-injector

latest release ci status license agpl-3.0

通过运行时修改 authlib 实现游戏外登录,并为 Yggdrasil 服务端的实现提供规范。

关于该项目的详细介绍见 wiki

获取

您可以从这里获取最新的 authlib-injector。

构建

构建依赖:Gradle、JDK 8+。

执行以下命令:

gradle

构建输出位于 build/libs 下。

部署

通过添加以下 JVM 参数来配置:

-javaagent:{authlib-injector.jar 的路径}={验证服务器 URL (API 地址)}

参数

-Dauthlibinjector.noLogFile
    不要将日志输出到文件.
    默认情况下, authlib-injector 会将日志输出到控制台以及当前目录下的 authlib-injector.log 文件.
    开启此选项后, 日志仅会输出到控制台.

    需要注意的是, authlib-injector 的日志是不会输出到 Minecraft 服务端/客户端的日志文件中的.

    每次启动时,日志文件都会被清空. 如果有多个进程使用同一个日志文件, 则只有最早启动的会成功打开日志文件.

-Dauthlibinjector.mojangNamespace={default|enabled|disabled}
    设置是否启用 Mojang 命名空间 (@mojang 后缀).
    若验证服务器未设置 feature.no_mojang_namespace 选项, 则该功能默认启用.

    启用后, 则可以使用名为 <username>@mojang 的虚拟角色来调用对应正版角色的皮肤.
    例如,
     - /give @p minecraft:skull 1 3 {SkullOwner:"[email protected]"}
     - /npc skin [email protected]
    显示的将会是 Notch 的皮肤.

    注意, 虚拟角色和对应正版角色的 UUID 是不同的. 为了将虚拟角色和正版角色区别开,
    虚拟角色 UUID 中 time_hi_and_version 字段的最高位被置为 1 (见 RFC 4122 4.1.3 章节).
    例如:
      069a79f4-44e9-4726-a5be-fca90e38aaf5 Notch
      069a79f4-44e9-c726-a5be-fca90e38aaf5 [email protected]
    采用该方法的原因是, 在 RFC 4122 中 UUID 版本号只有 6 种可能的取值 (0~5), 版本号的最高位始终为 0.
    而实际上, Mojang 使用的是版本 4 (随机) UUID, 因此其对应的虚拟角色的 UUID 版本号为 12.

-Dauthlibinjector.mojangProxy={代理服务器 URL}
    设置访问 Mojang 验证服务时使用的代理, 目前仅支持 SOCKS 协议.
    URL 格式: socks://<host>:<port>

    这一代理仅作用于 Mojang 命名空间 功能, 其仅用于访问 Mojang 服务器.
    若要在访问自定义验证服务器时使用代理, 请参考 https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html .

-Dauthlibinjector.legacySkinPolyfill={default|enabled|disabled}
    是否启用旧式皮肤 API polyfill, 即 'GET /skins/MinecraftSkins/{username}.png'.
    若验证服务器未设置 feature.legacy_skin_api 选项, 则该功能默认启用.

-Dauthlibinjector.debug (等价于 -Dauthlibinjector.debug=verbose,authlib)
 或 -Dauthlibinjector.debug={调试选项; 逗号分隔}
    可用的调试选项:
     - verbose             详细日志
     - authlib             开启 Mojang authlib 的调试输出
     - dumpClass           转储修改过的类
     - printUntransformed  打印已分析但未修改的类; 隐含 verbose

-Dauthlibinjector.ignoredPackages={包列表; 逗号分隔}
    忽略指定的包, 其中的类将不会被分析或修改.

-Dauthlibinjector.disableHttpd
    禁用内建的 HTTP 服务器.
    以下依赖内建 HTTP 服务器的功能将不可用:
     - Mojang 命名空间
     - 旧式皮肤 API polyfill

-Dauthlibinjector.noShowServerName
    不要在 Minecraft 主界面展示验证服务器名称.
    默认情况下, authlib-injector 通过更改 --versionType 参数来在 Minecraft 主界面显示验证服务器名称, 使用本选项可以禁用该功能.

捐助

BMCLAPI 为 authlib-injector 提供了下载镜像站。如果您想要支持 authlib-injector 的开发,您可以捐助 BMCLAPI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].