Premium Accounts
Fileconfig.jsonFilepremium-hosts.jsonAn offline bot only gets onto a server with online-mode=false. For an online-mode server a bot needs a real Microsoft account. The Accounts page holds your own accounts, and a bot joins with one through account=<name or uuid>.
Add an account
Start the sign-in
On Bots > Accounts click Add account. The tool shows a device code.
Type the code
Open microsoft.com/link, sign in and type the code.
Done
The tool runs the MSA, Xbox Live, XSTS and Minecraft login chain. It never sees your password.

How the tokens are kept
| Token | Where it lives |
|---|---|
| Refresh token | Only in accounts.dat in the data dir, sealed with Windows DPAPI for the current Windows user. Another user or another machine cannot open it. Never in config.json, logs or screenshots |
| Access token | Refreshed on use, 5 minutes before it expires. The page shows each account's expiry and which bot uses it |
Rules
| Rule | Detail |
|---|---|
| One bot per account | One account runs one bot at a time. A bot and a takeover on the same account cannot run together |
| Login spacing | Premium logins are at least 2 seconds apart |
| Remote hosts | The first time premium bots join a host that is not local, the tool asks once and remembers the host in premium-hosts.json. Through the API, pass confirmHost=1 |
curl "localhost:8767/join?account=Steve"
curl "localhost:8767/swarm?accounts=all"Signed chat
Premium bots chat like the vanilla client, so plain chat, /msg, /tell, /say, /me and /teammsg work on a server with enforce-secure-profile=true.
| Part | How it works |
|---|---|
| Session | On every login the bot fetches its profile key pair from Mojang with the account's token (/player/certificates), opens a chat session with a fresh session id and sends the session to the server |
| Signing | Every chat line and every signed command argument is signed with the key, chained by index to the ones before it, and carries the last-seen acknowledgements of the signed messages the bot received. After 64 unacknowledged messages the bot sends an ack on its own, like the client |
| Which arguments | Taken from the server's command tree: message arguments, also behind redirects like /tell. Anything after execute run goes unsigned, the same as vanilla |
| Keys | Kept in memory, refreshed when Mojang says so, never written to disk, logs, the packet log or the API. Signatures and public keys show up as <hidden> in /packets and exports |
| Status | /stats has signedChat: true once the session is up. The first line after a join waits up to 5 seconds for the key |
Chat and commands are capped at 256 characters, like the real client.