Open TechClusterHQ opened 2 months ago
I tried setting it up using mineflayer and couldn't get that to work either, do you know how that works as well?
Thanks for filing this!
I looked into MCC, and their implementation of Yggdrasil is incorrect. The request paths get prefixed with /api/yggdrasil/authserver
or /api/yggdrasil/sessionserver
. Blessing Skin (used by LittleSkin) structures their API like that [1], but other Yggdrasil implementations including Mojang's, Ely.by, and Drasl do not. I can try to fix MCC and file a PR, which would be straightforward unless they care about keeping backwards compatibility with the (incorrect) implementation.
And I just opened https://github.com/unmojang/drasl/pull/69 to document Mineflayer, that's what I have been writing bots with. While writing that documentation, I ran into a bug that I fixed in #68, so try updating Drasl to the latest master commit if it's not working for you still.
As I wrote in https://github.com/unmojang/drasl/pull/69, enforce-secure-profile=true
servers will not work yet with Mineflayer due to a limitation on their end, see https://github.com/unmojang/drasl/issues/67.
Since PR #2611, MCC has support for adding custom yggdrasil servers. Because one of the best uses of this server is creating more accounts for bots, I'd like to use my custom auth server with MCC. Setting AccountType and AuthServer to the values results in a "Network Error" on the MCC side an a 404 on the Drasl side:
Configuration:
Since you mentioned in the README that working with bots is a primary use case for this project it'd be great if usage with MCC could be documented or if you could let me know how.