Skip to content

Home

Discord

GitHub

.NET Library for Mojang API, Mojang Authentication and Microsoft Xbox Authentication

  • Asynchronous API
  • Getting Player Data
  • Changing Player Name or Skin
  • Mojang Authentication
  • Microsoft Authentication
  • Security Question-Answer
  • Statistics

Support:

  • netstandard 2.0

Install

Use Nuget package MojangAPI or download dll from release.

Usage

Include these namespaces :

using MojangAPI;
using MojangAPI.Model;

Sample program: MojangAPISample

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.