爱意满满的作品展示区。
daidr
1.04D

把之前写的 yggdrasil 验证端开源了

  •  
  •   daidr ·
    PRO
    ·
    daidr · Oct 1, 2020 · 3158 views
    This topic created in 2061 days ago, the information mentioned may be changed or developed.

    起因

    之前开了一个原版 MC 服务器和群里朋友一起玩, 因为部分人没有正版账号,所以不得不关闭了正版验证。

    高版本 fabric 端没有比较完善的登录插件,而身份验证又是必要的(其实是我对皮肤非常执着:P ),所以我想尽了一切办法来实现身份验证(逃

    blessing skin 有插件能够支持 yggdrasil 协议,而我需要的仅仅是身份验证和皮肤上传而已,blessing skin 对我来说就显得比较臃肿。

    思来想去还是自己写了一个 yggdrasil 验证端,群里很多人想要,于是把代码整理了一下开源了,希望可以帮到和我一样有这方面需求的人。

    功能

    • 基本完整的 yggdrasil 协议接口(profile 接口没有实现, 但对游戏没有任何影响)
    • 完整的皮肤管理

    还没实现的

    • 可视化的站点管理(可视化配置、用户管理)

    • 邮箱验证

    • 忘记密码

    • 玩家名称修改

    • 插件模块

    • 因为之前是自己用,也没想到会开源,所以功能不是很完善,代码写得很杂很乱,配置也比较复杂。现在在爆肝修改 T_T 。

    一点点截图

    首页 1 注册 首页 2

    演示

    https://auth.daidr.me

    仓库地址

    https://github.com/daidr/ghauth

    Supplement 1  ·  Oct 4, 2020
    简单的用户管理功能完成
    6 replies    2020-10-03 10:25:48 +08:00
    nnws2681521
        1
    nnws2681521  
       Oct 1, 2020
    框架弄的吗
    daidr
        2
    daidr  
    OP
    PRO
       Oct 2, 2020
    @nnws2681521 #1 前端部分用了 bootstrap
    nnws2681521
        3
    nnws2681521  
       Oct 2, 2020
    @daidr 就不能一个个字写的吗
    daidr
        4
    daidr  
    OP
    PRO
       Oct 2, 2020
    @nnws2681521 #3 用 bootstrap 主要是网格布局比较方便,从头写 css 是件非常让人头疼的事情。
    daidr
        5
    daidr  
    OP
    PRO
       Oct 2, 2020
    @nnws2681521 #3 况且个人比较喜欢 bootstrap 的风格,爆肝的主要目的是为了实现完整的 yggdrasil 协议支持,前端这块用了 bootstrap 能快速解决掉。
    用不用框架还是看个人习惯。
    unsignedzhang
        6
    unsignedzhang  
       Oct 3, 2020
    资瓷资瓷(`・ω・´)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1090 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 56ms · UTC 18:00 · PVG 02:00 · LAX 11:00 · JFK 14:00
    ♥ Do have faith in what you're doing.