dommilosz / minecraft-auth

29 stars 3 forks source link

How does the "Cracked" Authentication works? #5

Closed ABSanthosh closed 2 years ago

ABSanthosh commented 2 years ago

I have several questions: 1) How does it work? I went through the code and I can't seem to figure it out. 2) Does it work with the latest Minecraft launcher? 3) If it does, How to set this up?

Cheers!

dommilosz commented 2 years ago

Cracked authentication is simply setting username without logging in to mojang account. It doesn't allow to connect with online mode servers. As you see in readme.md cracked accounts are crated this way:

var minecraftAuth = require("minecraft-auth")
let account = new minecraftAuth.CrackedAccount("username");

It results with object: obraz

Access token is undefined because no authentication was done. It just set the username and uuid

Answering 2 question. Original Minecraft Launcher doesn't allow you to play without buying the game.

dommilosz commented 2 years ago

Is that everything you need? Can close issue?

ABSanthosh commented 2 years ago

Yes, sorry. Ill close the issue. Thanks for replying!