MultiYggdrasil
MultiYggdrasil is a server-side mod for Forge and NeoForge that allows configuring multiple Yggdrasil API authentication sources. This includes both official Mojang servers and third-party authorization services.
Features and Compatibility
The mod works exclusively on the server side. When running a local server on the client, some issues related to known Minecraft bugs may occur. The configuration system is inspired by the MultiLogin project, and part of the code is borrowed from authlib-injector under the AGPL-3.0 license.
Installation and Setup
No installation of authlib-injector, additional mods, or JVM parameter changes is required for the mod to work. Java version requirements correspond to the Minecraft version.
The installation process consists of three simple steps:
- Download the latest version of the mod
- Place the file in the mods folder
- Start the server
Configuration
Example configuration file (config/multi-yggdrasil.toml):
# Configuration example
[SomeRandomMirror] # Name, can be set arbitrarily
тип = "OFFICIAL" # Source type, 2 options available: "OFFICIAL" and "BLESSING_SKIN"
хостСессии = "https://a.random.mirror" # Value for "OFFICIAL" type. URL end should NOT have '/'.
порядок = 0 # Ordinal number, determines the order of source usage
[MojangOfficialAPI]
тип = "OFFICIAL" # When using "OFFICIAL" type, sessionHost property can be omitted,
порядок = 1 # and the official API will be used.
[LittleSkin]
тип = "BLESSING_SKIN" # ↙ Value for "BLESSING_SKIN" type. URL end SHOULD have '/'.
кореньAPI = "https://littleskin.cn/api/yggdrasil/"
порядок = 2