Commit graph

151 commits

Author SHA1 Message Date
Romain Beaumont
e56355a508 Release 1.23.3 2021-03-13 01:39:46 +00:00
Romain Beaumont
e9cb2ffbd7 Release 1.23.2 2021-03-01 23:34:32 +00:00
Romain Beaumont
34e59fd88e Release 1.23.1 2021-02-06 10:05:50 +00:00
Romain Beaumont
5344f59b52 Release 1.23.0 2021-01-30 00:26:01 +00:00
extremeheat
8f2a027812
Msa device code auth (#806)
* initial msa work

* rm debug code

* Update package.json

* lint, seperate constants, create missing msa cache

* support multiple profiles

* lint

* use shared constants

* fix path issues

* fix token variable

* fix caching msa profile data

* switch clientId to one from microsoft

* store caches in .minecraft, fallback to dev code auth when user+pass fails

* update electron demo, fix error handling, add docs

* fix caching dir

* fix lint

* move to class scope, token fixes

* retry on fail, terminology fixes

* fix promise bug

* cleanup
2021-01-30 01:21:03 +01:00
Romain Beaumont
78aa3d1b6a Release 1.22.0 2020-12-28 01:45:46 +00:00
Romain Beaumont
2843f60e44 Release 1.21.0 2020-12-12 01:15:31 +00:00
Jordan Jones
5d723e9a04
Integrate Authentication for Microsoft Accounts (#788)
* add node-fetch and @xboxreplay/xboxlive-auth for microsoft/xbox auth

* decide which authentication to use based on options;

if options.auth === 'microsoft' then use microsoft/xbox auth, else use Yggdrasil until they kill that.

* push working auth

* commentary

* eslint does not like me :(

* User-Agent works just fine without version

* linting = 95% of development

* revert changes to encrypt.js

* set haveCredentials to whether or not we have a token.

Technically this will always be true so...?

* eslint

* mod+create: api + example

* mod: readme.md
2020-12-11 21:30:48 +01:00
Romain Beaumont
47d96936f5
Release 1.20.2 2020-12-06 18:49:45 +01:00
Romain Beaumont
011b6a189a
Revert "Revert "Add token authentication (#780)""
This reverts commit 14c4886ac4.

Adds back token auth now that mineflayed is fixed
2020-12-06 18:48:52 +01:00
Romain Beaumont
0ac19142c0
Release 1.20.1 2020-12-06 01:58:53 +01:00
Romain Beaumont
14c4886ac4
Revert "Add token authentication (#780)"
This reverts commit 0277091ddc.
This commits introduced a bug in offline mode.
We don't know yet how to fix it, so better revert first and fix later
2020-12-06 01:57:40 +01:00
Romain Beaumont
7be60af77d Release 1.20.0 2020-12-05 22:32:55 +00:00
ph0t0shop
0277091ddc
Add token authentication (#780)
* Add token authentication

* Update package.json

* Update src/client/auth.js

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>

* Remove some deps

* Fix merge conflict + fix some token stuff

* Fix even more stuff + testing

* Change back echo example

* Let -> const + bugfix

* Fixed error handling

* Revert client_echo again...

* Fix linter errors

* Profile improvements

* Stupid linter errors

* Update yggdrasil, remove token auth example, move to client_echo instead

* Update client_echo

* Linter error...

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>
2020-12-05 23:28:12 +01:00
Romain Beaumont
5d80168f20
Make 1.16.4 the tested version (#773) 2020-11-02 20:46:03 +01:00
Romain Beaumont
d3ea67a184 Release 1.19.0 2020-10-25 15:19:07 +00:00
Romain Beaumont
8f0ae218b1 add options.noPongTimeout to handle server that don't answer to ping packet
useful for example for minersbr.enxada.host in auto version mode
2020-10-25 15:14:22 +00:00
Romain Beaumont
8bfbb72e5b Release 1.18.0 2020-10-25 14:02:31 +00:00
redcarti
0881d85577
client.end with full reason (#771)
* init

* updated docs
2020-10-25 14:25:44 +01:00
Romain Beaumont
d763710bd5 Release 1.17.0 2020-10-06 20:48:33 +00:00
Grooble
306b16abcd
1.16.2 and 1.16.3 support (#765)
* Update node-minecraft-data to 2.69.0

* Change default version to 1.16.3

* Update example

* Fix tests

* remove context change for bitfield

* Update README example

* Update tests

* Update examples

* Fix tests

* Update versionChecking for 1.16.3

* Update tests
2020-10-06 22:46:53 +02:00
Romain Beaumont
330ab5a829 Support ipv4 and ipv6 by default in createServer
fix #759
2020-09-27 19:24:04 +00:00
Romain Beaumont
de731b3e1a Release 1.16.0 2020-08-16 22:23:25 +00:00
Romain Beaumont
eb5bf74565 add buffer to packet event 2020-08-16 22:22:21 +00:00
Romain Beaumont
3c626cbcb4
Release 1.15.0 2020-08-03 01:50:10 +02:00
Romain Beaumont
edece010bb
add auth and session server to doc 2020-08-03 01:48:23 +02:00
Romain Beaumont
4d092bb4dc
increase closeTimeout default to 2min and add to API 2020-08-03 01:37:35 +02:00
Romain Beaumont
0dede4a06b Release 1.14.0 2020-08-02 22:30:42 +00:00
Romain Beaumont
7a30326403
add some doc to mc.ping 2020-07-14 16:22:21 +02:00
Romain Beaumont
f1273d8043
add prismarine-proxy to readme 2020-07-06 01:34:41 +02:00
Romain Beaumont
c7930ebc96
add pakkit to FAQ 2020-07-06 00:49:04 +02:00
Romain Beaumont
19b5bf5b6d
add pakkit in readme 2020-07-06 00:48:35 +02:00
Romain Beaumont
0deaf5b9f5
add proxy question to FAQ 2020-07-06 00:45:03 +02:00
Romain Beaumont
61352500da update readme and change default version to 1.16.1 2020-06-27 01:34:13 +00:00
Romain Beaumont
0afc54a12b
Release 1.13.0 2020-06-23 17:15:29 +02:00
Romain Beaumont
cbef0f331f
switch to 1.16 2020-06-23 17:10:22 +02:00
Romain Beaumont
2da46e1f35
fix clientbound usage of chat and login for 1.16 2020-06-23 16:52:18 +02:00
Romain Beaumont
a7a7b5c7e2
Add 1.16-rc1 support
add topBitSetTerminatedArray native type
2020-06-23 03:28:14 +02:00
Romain Beaumont
3c2bf84d72
fix sidebar 2020-06-22 15:21:41 +02:00
Romain Beaumont
486b772e1a
uses docsify for doc 2020-06-22 15:09:52 +02:00
Romain Beaumont
c77298e3b4
Rename HISTORY.md to docs/HISTORY.md 2020-06-22 15:04:12 +02:00
Romain Beaumont
4462fe0453
fix doc and faq link in readme 2020-06-22 15:03:53 +02:00
Romain Beaumont
d7b3be07ca
Update CNAME 2020-06-21 20:18:02 +02:00
Romain Beaumont
ca6cc8080f
Create CNAME 2020-06-21 20:16:06 +02:00
Romain Beaumont
bd6af1f901
fix faq, true not True 2020-06-21 19:56:18 +02:00
Romain Beaumont
e22e6f0ef0
move readme to docs folder for gh pages 2020-06-21 19:34:18 +02:00
Romain Beaumont
5bd83fd57f
Delete issue_template.md 2020-06-21 19:25:32 +02:00
Romain Beaumont
89209cf779
if hide errors is true, don't display partial packet errors, add FAQ 2020-06-21 18:57:39 +02:00
Idan Horowitz
54380a3cb7
Pass through http agent option to yggdrasil for proxy support (#676)
* initialize yggdrasil with agent option if it exists

* standardjs

* move require statements to the top

* add agent option to docs and ts type information
also removed useless typescript import and moved class fields from wrong class to the correct one

* update proxy examples and add http agents for proxying yggdrasil

* update to agent supporting yggdrasil version
2020-02-11 12:31:24 +01:00
vlakreeh
297d40b17d add skipValidation flag for authentication 2018-11-09 11:06:12 -05:00
Romain Beaumont
273337d630
add issue template 2018-10-08 22:30:45 +02:00