/blessing-skin-yggdrasil

Custom yggdrasil api for making a fake Mojang authentication service. Shipped as a plugin for Blessing Skin.

Primary LanguagePHPMIT LicenseMIT

Yggdrasil API for Blessing Skin

本插件基本实现了 Yggdrasil API 规范,可与 authlib-injector 等 authlib hook 配合使用实现外置登录系统。

API 路由

routes.php

# Authentication
POST /api/yggdrasil/authserver/authenticate
POST /api/yggdrasil/authserver/refresh
POST /api/yggdrasil/authserver/validate
POST /api/yggdrasil/authserver/invalidate
POST /api/yggdrasil/authserver/signout

# Session
POST /api/yggdrasil/sessionserver/session/minecraft/join
GET  /api/yggdrasil/sessionserver/session/minecraft/hasJoined

# Profiles
GET  /api/yggdrasil/sessionserver/session/minecraft/profile/{uuid}
POST /api/yggdrasil/api/profiles/minecraft

使用方法

请参阅本项目 Wiki

版本说明

本插件的更新日志可以在这里查看:CHANGELOG

注意,v2.0.0 版本之后的插件不再支持 authlib-agent