Skip to content

LeftPathLane/MCAccountInfo

Repository files navigation

MCAccountInfo

Implementation of the Mojang User Info API

Installation

MCAccountInfo is distributed as a maven project. To compile it and install it in your local Maven repository Jars are found in /target:

git clone https://github.com/LeftPathLane/MCAccountInfo.git
cd MCAccountInfo
mvn clean install
cd target

Usage

java -jar OGInfo.jar USERNAME PASSWORD

output explained taken from Minecraft Modern wiki

{
    "id": "<Account Identifier?>",
    "email": "<Email attached to account, in legacy users this may be a hash>",
    "username": "<Username of account, with migrated accounts this is the same as email>",
    "registerIp": "<IP used to register account>",
    "registeredAt": 0, //<Epoch timestamp in ms of date the Mojang account was registered>,
    "passwordChangedAt": 0, //<Epoch timestamp of time password was last changed>,
    "dateOfBirth":  0, //<Epoch timestamp of date of birth for this Mojang Account>,
    "deleted": false, //<Unknown, probably whether account has been deleted or not>,
    "blocked": false, //<Unknown, probably whether account has been blocked or not>,
    "secured": true, //<Whether security questions are enabled on this Mojang Account>,
    "migrated": true, //<Whether the account has been migrated, if the account was made after Mojang Accounts were mandatory for new accounts this is set to false>,
    "emailVerified": true, //<Whether the email attached to the account is verified>,
    "legacyUser": true, //<Whether the account is a legacy user>,
    "verifiedByParent": true, //<Whether the account has been verified by parent, is set to false if no parent verification was needed>,
    "fullName": "<Full name attached to Mojang account, can be an empty string>",
    "fromMigratedUser": 0, //<Not sure, probably related to migrated?>,
    "hashed": false //<Legacy users' emails are hashed, this value is set to true in most legacyusers>
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages