Skip to content

Adding auth details

Marlester edited this page Aug 25, 2024 · 6 revisions

This guide will not describe how you get the access token. To get it see https://github.com/GeyserMC/MCAuthLib.
If you got the access token and the uuid, you need to do like following:

    BotSession bot = new BotSession("bot", "1.1.1.1", 12345, BotSettings.builder()
        .accessToken(yourAccessToken)
        .id(accountUuid)
        .build());
Clone this wiki locally