Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Latest commit

 

History

History

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Testing

Xbox-authenticated servers

You need a Microsoft OAuth 2.0 refresh token acquired with Minecraft client id.
The test code uses client id from Nintendo by default (client_id=00000000441cc96b),
and if you want to use another client id to login, replace this line val deviceInfo = XboxDeviceInfo.DEVICE_ANDROID in Main.kt.

  1. visit this link in your browser.
  2. get the microsoft authorization code
  3. save the microsoft authorization code into .ms_refresh_token file and run the program once to convert the code into refresh token