MultiYggdrasil
简体中文 | English
简介
MultiYggdrasil 是一款适用于 Forge、Fabric 和 NeoForge 的模组。
它允许你设置多个 Yggdrasil API 源,包括官方源和其他外部认证服务器。
配置设计灵感来源于 MultiLogin,
部分代码借鉴自遵循 AGPL-3.0 许可证的 authlib-injector。
patchwork
部署
与其他模组一样,只需三个步骤:
- 从 CurseForge 或 Modrinth 下载模组
- 将其放入
/mods文件夹 - 启动服务器
配置
一个模板示例:
# 此配置文件位于 config/multi-yggdrasil.ini
[SomeRandomMirror] # 名称,可自由设置,无实际影响。
type = OFFICIAL # 类型,目前有两种:"OFFICIAL" 和 "BLESSING_SKIN"。
authHost = https://a.random.mirror # |- 对于 "OFFICIAL" 类型的特定值要求如下。
accountsHost = https://a.random.mirror # |
sessionHost = https://a.random.mirror # |
servicesHost = https://a.random.mirror # |
profilesHost = https://a.random.mirror # |
ordinal = 0 # 优先级,决定该源的调用顺序
[MojangOfficial]
type = OFFICIAL # 当使用 "OFFICIAL" 类型时,无需指定 host 类属性,
ordinal = 1 # 它将直接使用官方 API。
[LittleSkin]
type = BLESSING_SKIN # ↙ 对于 "BLESSING_SKIN" 类型的特定值要求。
apiRoot = https://littleskin.cn/api/yggdrasil/
ordinal = 2
“OFFICIAL” 类型的这些 host 类特定值的要求取决于 MC 版本,请参见下表:
| authlib | Minecraft | authHost | accountsHost | sessionHost | servicesHost | profilesHost |
|---|---|---|---|---|---|---|
| 1.5.25~1.6.25 | 1.14.4~1.16.3 | ✅ | ✅ | ✅ | ❌ | ❌ |
| 2.1.28~4.0.43 | 1.16.4~1.20.1 | ✅ | ✅ | ✅ | ✅ | ❌ |
| 5.0.47 | 1.20.2 | ❌ | ✅ | ✅ | ✅ | ❌ |
| 6.0.52~6.0.58 | 1.20.3~1.21.8 | ❌ | ❌ | ✅ | ✅ | ❌ |
| 7.0.61 | 1.21.9~1.21.11 | ❌ | ❌ | ✅ | ✅ | ✅ |
版本支持
| Minecraft | Forge | Fabric | NeoForge |
|---|---|---|---|
| 1.14.4- | ❌ | ❌ | ❌ |
| 1.14.4~1.20.1 | ✅ | ✅ | ❌ |
| 1.20.1~1.20.6 | ✅ | ✅ | ✅ |
| 1.21.1~1.21.11 | ❌ | ✅ | ✅ |
MultiYggdrasil
简体中文 | English
Summary
MultiYggdrasil is a Forge | Fabric | NeoForge mod.
It allows you to set multiple Yggdrasil API sources, including the official and other external authentication servers.
Config design is inspired by MultiLogin,
and some codes are borrowed from authlib-injector under the AGPL-3.0 license.
patchwork
Deploy
Same as other mods, there are only three steps:
- Download mod from CurseForge | Modrinth
- Throw it into
/mods - Launch the server
Configuration
A template:
# This config is located at config/multi-yggdrasil.ini
[SomeRandomMirror] # The name, can be set freely, has no impacts.
type = OFFICIAL # The type, now has 2 types, "OFFICIAL" and "BLESSING_SKIN".
authHost = https://a.random.mirror # |- The specific value of "OFFICIAL" type.
accountsHost = https://a.random.mirror # | Requirements in below.
sessionHost = https://a.random.mirror # |
servicesHost = https://a.random.mirror # |
profilesHost = https://a.random.mirror # |
ordinal = 0 # The ordinal, decided the order of use for this source
[MojangOfficial]
type = OFFICIAL # When using "OFFICIAL" type, there can be no host-like property,
ordinal = 1 # and it will use the official API.
[LittleSkin]
type = BLESSING_SKIN # ↙ The specific value of "BLESSING_SKIN" type.
apiRoot = https://littleskin.cn/api/yggdrasil/
ordinal = 2
The requirements of these host-like specific values for “OFFICIAL” type are depending on the MC version, see the table below:
| authlib | Minecraft | authHost | accountsHost | sessionHost | servicesHost | profilesHost |
|---|---|---|---|---|---|---|
| 1.5.25~1.6.25 | 1.14.4~1.16.3 | ✅ | ✅ | ✅ | ❌ | ❌ |
| 2.1.28~4.0.43 | 1.16.4~1.20.1 | ✅ | ✅ | ✅ | ✅ | ❌ |
| 5.0.47 | 1.20.2 | ❌ | ✅ | ✅ | ✅ | ❌ |
| 6.0.52~6.0.58 | 1.20.3~1.21.8 | ❌ | ❌ | ✅ | ✅ | ❌ |
| 7.0.61 | 1.21.9~1.21.11 | ❌ | ❌ | ✅ | ✅ | ✅ |
Version Supporting
| Minecraft | Forge | Fabric | NeoForge |
|---|---|---|---|
| 1.14.4- | ❌ | ❌ | ❌ |
| 1.14.4~1.20.1 | ✅ | ✅ | ❌ |
| 1.20.1~1.20.6 | ✅ | ✅ | ✅ |
| 1.21.1~1.21.11 | ❌ | ✅ | ✅ |
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MultiYggdrasil
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧