alts

A Minecraft Java Edition account library for sign-in, account management, an encrypted store and a shared vault.

Disclaimer

lol.trq.alts is an independent, community-maintained library. It is not affiliated with, endorsed by, sponsored by, or associated with Mojang Studios, Microsoft, or any other party whose services it interoperates with.

Names and marks

“Minecraft”, “Mojang”, “Microsoft”, “Xbox Live”, and any other product or service names referenced in this repository are the property of their respective owners. They appear here only to describe, factually and accurately, what the library talks to — nominative use. No claim of ownership, partnership, or approval is made or implied.

What this library is

A protocol client and a local store. It speaks the publicly documented Microsoft OAuth 2.0, Xbox Live, XSTS, and Minecraft services flows, and it keeps the resulting credentials in an encrypted file in a directory the consuming application chooses. It does not bypass, defeat, or work around any access control, licence check, or entitlement.

Whose responsibility what is

The library does not obtain accounts, and it has no opinion about which ones you feed it.

No warranty

The library is provided as is, without warranty of any kind, express or implied, under the MIT licence. See the licence text for the full disclaimer of warranty and limitation of liability.