Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

Creating your IMinecraft

Vitalij edited this page Mar 14, 2014 · 1 revision

See StatusClient for example.

So, how to do that? Implement all stuff from IMinecraft.

ServerIP - server IP or address.

ServerPort - server port (by default 25565)

You'll need AccessToken and SelectedProfile only if you use Online mode. So, how to loggin in?

Use static Yggdrasil.LoginAuthServer. If it return YggdrasilStatus.Success - use ref data. If else - then something is wrong.

YggdrasilStatus result = Yggdrasil.LoginAuthServer(ref ClientName, ClientPassword, ref AccessToken,
                    ref ClientToken, ref SelectedProfile);

if (result == YggdrasilStatus.Success)
continue;

Clone this wiki locally