@vaitosoi/minejs 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,6 +10,8 @@ This is a Minecraft client package, written entirely in Typescript, using NodeJS
10
10
 
11
11
  This package is highly unstable for now, please report if there is any bug, glitch.
12
12
 
13
+ Also, since there is some problem with authenticating and appId approval, you can not let the bot join "online server yet". [See more here](#iv-about-joining-online-server)
14
+
13
15
  ## II. Usage
14
16
 
15
17
  Install MineJS using your favorite package manager:
@@ -34,11 +36,6 @@ const client = new Client({
34
36
  // },
35
37
  isOffline: true,
36
38
  loadRegistry: false,
37
- // auth: {
38
- // client_id: "d86254d8-edf7-4640-90eb-643c99af188e",
39
- // method: "loopback",
40
- // openBrowser: true
41
- // }
42
39
  });
43
40
  client.connect();
44
41
  client.on("disconnect", (...args) => console.dir({ name: "disconnect", args }, { depth: null }));
@@ -97,6 +94,6 @@ npm tsx index.ts
97
94
 
98
95
  See [documentation](https://minejs.vaito.dev)
99
96
 
100
- ## IV. Note:
97
+ ## IV. About joining online server:
101
98
 
102
- If you are Vaito: Stop being a lazy a$$ and implement new update, here is the link: https://minecraft.wiki/?title=Java_Edition_protocol%2FPackets&diff=3675033&oldid=3445844
99
+ In order to join "online server" (the server require an account that have purchased Minecraft, to distinguish with the "offiline server", where you don't have to purchase Minecraft), you have to send some request to Minecraft server, which require an approved Azure App (more info in [here](https://minecraft.wiki/w/Microsoft_authentication#Microsoft_OAuth2_flow) and [here](https://help.minecraft.net/hc/en-us/articles/16254801392141p)), which I don't have at the moment. So I can not fully test the "join online server" feature right now. But still, if you somehow got an approved app and found some bug, please [create a issue](https://github.com/VaitoSoi/minejs/issues/new)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaitosoi/minejs",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "A Minecraft client package",
5
5
  "license": "MIT",
6
6
  "repository": {