Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class AlteningAccount(var accountToken: String) : MinecraftAccount

An account from the TheAltening account generator.

Link copied to clipboard
data class Ban(val serverName: String, val reason: String, val bannedUntil: Long = -1L)
Link copied to clipboard
class CrackedAccount(username: String, online: Boolean = false) : MinecraftAccount

A cracked account - has no credentials and cannot join premium servers.

Link copied to clipboard

A premium account authenticated through a Microsoft account.

Link copied to clipboard
sealed class MinecraftAccount

An account the client can log into.

Link copied to clipboard

A premium account represented by nothing but a Minecraft access token.

Link copied to clipboard
data class SessionBundle(val session: User, val sessionService: MinecraftSessionService?, val profileKeys: ProfileKeyPairManager)
Link copied to clipboard
class SessionWithService(username: String, uuid: UUID, accessToken: String, xuid: Optional<String>, clientId: Optional<String>, val service: AccountService) : User
Link copied to clipboard
data class YggdrasilSession(val profile: GameProfile, val accessToken: String)
Link copied to clipboard

A Yggdrasil /authenticate client, used for alt services such as TheAltening. Mojang itself is not authenticated against through here - MinecraftAuth does that.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val alteningEnvironment: Environment
Link copied to clipboard

Client token of every session we create. Randomised per launch, which is what the protocol expects from a client that does not persist one.

Functions

Link copied to clipboard

Checks if the session is online by checking the account type and if we have a valid access token.