You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# # For all online accounts, un-comment the following line to toggle Microsoft authentication.
10
+
# # Link for authentication will popup when the bot starts.
11
+
# #
12
+
# # After signed in, according to [how Minecraft protocol was implemented](https://github.com/PrismarineJS/node-minecraft-protocol/blob/bf89f7e86526c54d8c43f555d8f6dfa4948fd2d9/src/client/microsoftAuth.js#L7-L16)
13
+
# # and also, [authentication flow implemented here](https://github.com/PrismarineJS/prismarine-auth/blob/1aef6e1387d94fca839f2811d17ac6659ae556b4/src/MicrosoftAuthFlow.js#L59-L69),
14
+
# # the token will be cached with [the cache IDs specified here](https://github.com/PrismarineJS/prismarine-auth/blob/1aef6e1387d94fca839f2811d17ac6659ae556b4/src/MicrosoftAuthFlow.js#L88-L93)
15
+
# # in split files:
16
+
# #
17
+
# # - ${hash}_live-cache.json
18
+
# # - ${hash}_mca-cache.json
19
+
# # - ${hash}_xbl-cache.json
20
+
# #
21
+
# # inside of the directory provided by [`minecraft-folder-path`](https://github.com/simonmeusel/minecraft-folder-path)
Copy file name to clipboardExpand all lines: services/minecraft/README.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,18 +46,39 @@ pnpm install
46
46
47
47
3. Create a `.env.local` file with your configuration:
48
48
49
+
> [!NOTE]
50
+
> For all online accounts, un-comment the following line to toggle Microsoft authentication.
51
+
> Link for authentication will popup when the bot starts.
52
+
>
53
+
> After signed in, according to [how Minecraft protocol was implemented](https://github.com/PrismarineJS/node-minecraft-protocol/blob/bf89f7e86526c54d8c43f555d8f6dfa4948fd2d9/src/client/microsoftAuth.js#L7-L16)
54
+
> and also, [authentication flow implemented here](https://github.com/PrismarineJS/prismarine-auth/blob/1aef6e1387d94fca839f2811d17ac6659ae556b4/src/MicrosoftAuthFlow.js#L59-L69),
55
+
> the token will be cached with [the cache IDs specified here](https://github.com/PrismarineJS/prismarine-auth/blob/1aef6e1387d94fca839f2811d17ac6659ae556b4/src/MicrosoftAuthFlow.js#L88-L93)
56
+
> in split files:
57
+
>
58
+
> -`${hash}_live-cache.json`
59
+
> -`${hash}_mca-cache.json`
60
+
> -`${hash}_xbl-cache.json`
61
+
>
62
+
> inside of the directory provided by [`minecraft-folder-path`](https://github.com/simonmeusel/minecraft-folder-path)
0 commit comments