Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何让盗版玩家的数据也显示在NyaaStats上? #19

Open
hongjr03 opened this issue Jun 25, 2020 · 2 comments
Open

如何让盗版玩家的数据也显示在NyaaStats上? #19

hongjr03 opened this issue Jun 25, 2020 · 2 comments

Comments

@hongjr03
Copy link

如何让盗版玩家的数据也显示在NyaaStats上?我读了源码,发现调用了mojang的api,一时无从下手...

@SilentDepth
Copy link
Member

我不是很了解 NyaaStats 的全部细节,但涉及 Mojang API 的部分应当只有历史名称、玩家皮肤等在线数据相关的功能。你可以屏蔽掉这部分逻辑并在玩家数据文件里填充任意你想要的数据。Web 服务模块不依赖在线数据(除了完整名称历史查询,那暂时调用了私有 API,但你可以屏蔽掉它)。

@hongjr03
Copy link
Author

hongjr03 commented Jul 5, 2020

谢谢!我去试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants