CmlLib
English (v4)
English (v4)
  • 🧊CmlLib Projects
  • 🚀CmlLib.Core
    • Home
    • Getting Started
      • Minecraft Launcher
      • Minecraft Path
      • Versions
      • Launch Options
      • Event Handling
    • Login and Sessions
      • Microsoft Xbox Account
      • Offline Account
    • More APIs
      • MinecraftLauncherParameters
      • Rules
      • FileExtractor
      • GameInstaller
      • Java
    • Mod Loader Installers
      • Forge Installer
      • Fabric Installer
      • Quilt Installer
      • LiteLoader Installer
    • Utilities
      • Minecraft Changelogs
    • Resources
      • FAQ
      • Known Issues
      • Sample Launcher
      • License
  • 🔓Auth.Microsoft
    • Home
    • CmlLib.Core.Auth.Microsoft
      • JELoginHandler
      • JELoginHandlerBuilder
      • JEAuthenticator
      • Authentication with MSAL
    • XboxAuthNet.Game
      • OAuth
      • XboxAuth
      • XboxAuthException
      • AccountManager
      • Accounts
    • XboxAuthNet.Game.Msal
      • ClientID
      • MsalClientHelper
      • OAuth
    • CmlLib.Core.Bedrock.Auth
    • Resources
  • 🌐MojangAPI
    • Home
    • Mojang API
    • SecurityQuestion
  • ⚒️Installer.Forge
    • Home
    • Supported Versions
    • Getting Started
    • MForge
    • ForgeVersionLoader
Powered by GitBook
On this page
  • Install
  • Usage
  • Authentication
Edit on GitHub
  1. MojangAPI

Home

PreviousResourcesNextMojang API

Last updated 10 months ago

Discord

.NET Library for , and

  • Asynchronous API

  • Getting Player Data

  • Changing Player Name or Skin

  • Mojang Authentication

  • Microsoft Authentication

  • Security Question-Answer

  • Statistics

Support:

  • netstandard 2.0

Install

Usage

Include these namespaces :

using MojangAPI;
using MojangAPI.Model;

Mojang API

Getting player profile, Changing name or skin, Statistics, Blocked Server, Checking Game Ownership

SecurityQuestion

Security question-answer flow

Authentication

For authentication, See Login and Sessions or use library CmlLib.Core.Auth.Microsoft.

Use Nuget package or download dll from .

Sample program:

🌐
MojangAPI
release
MojangAPISample
GitHub
Mojang API
Mojang Authentication
Microsoft Xbox Authentication