Discover a powerful modification that enables the use of multiple Yggdrasil servers.
Introducing MultiYggdrasil
简体中文 | English
Overview
MultiYggdrasil is a server-side mod designed for Forge | NeoForge, which may present some issues when operating LAN servers on clients, such as MC-52974. This mod facilitates the server’s ability to define multiple Yggdrasil API sources, encompassing both official and other third-party authentication servers. The configuration framework takes inspiration from MultiLogin, and it utilizes portions of the code from authlib-injector under the AGPL-3.0 license.
Installation Instructions
The Java version required aligns with the specific Minecraft versions; you won’t need to install authlib-injector
, nor will you need any previous modifications or changes to JVM
arguments. The installation process is straightforward and entails just three steps:
- Download the mod.
- Place the downloaded file into the mods directory.
- Start your server.
Configuration Guidance
Below is a sample configuration:
# This configuration file can be found at config/multi-yggdrasil.toml
[RandomMirrorSample] # Freely name this entry; it has no functional impact.
type = "OFFICIAL" # Current available types include "OFFICIAL" and "BLESSING_SKIN".
sessionHost = "https://a.sample.mirror" # URL specific to the "OFFICIAL" type. The URL must not end with '/'.
ordinal = 0 # Defines the order of use for this entry.
[MojangOfficialAPI]
type = "OFFICIAL" # For the "OFFICIAL" type, no sessionHost property is permitted.
ordinal = 1 # This will instruct the use of the official API.
[SmallSkin]
type = "BLESSING_SKIN" # ↙ Specific to the "BLESSING_SKIN" type. The URL must end with '/'.
apiRoot = "https://littleskin.cn/api/yggdrasil/"
ordinal = 2