Skip to content

Login and Sessions

To connect to online-mode server, you should obtain player's session data. The game session data contains player's username, UUID, and accessToken.

There are some ways to obtain game session:

After obtaining a session data, you should set the MLaunchOption.Session property to an MSession instance. Launch Options

API Reference