Commit graph

338 commits

Author SHA1 Message Date
extremeheat
dfff13867d
Refactor client connection sequence (#189)
* Refactor client connection sequence
Allow connection info to come in after Client construction, emit "connect_allowed" similar to nmp

* Fix breaking ping behavior change

* fix createClient connect callback

* correct behavior

* remove comments

* refactor impl

* fix incorrect use of `this`
2022-03-27 22:15:20 +02:00
CreeperG16
0dc586db9c
Add profilesFolder to Relay (#192) 2022-03-26 14:31:54 -04:00
circuit10
72c07bb7a0
Emit error from relay when server can't be pinged (#191) 2022-03-25 22:25:55 -04:00
circuit10
92785a1167
Pass relay onMsaCode to client (#190) 2022-03-25 12:21:47 -04:00
extremeheat
550b1a19b4
Mark raknet-native as required dependency (#188)
JS raknet implementation needs some fixes, don't allow silent fail of this dep
2022-03-20 22:51:17 +01:00
extremeheat
817fd918ce
Ignore unconnected packets, remove babel (#185)
* Ignore unconnected packets, remove babel

* re-enable proxy test on ubuntu runner
2022-02-21 10:35:24 +01:00
extremeheat
330c819e7f
Release 3.10.0 (#180) 3.10.0
* Update HISTORY.md

* Update package.json

* Update README.md
2022-02-09 19:07:50 +01:00
extremeheat
957c83995a
1.18.11 (#179)
* Fix js raknet client disconnection

* 1.18.11
2022-02-09 12:15:35 -05:00
extremeheat
14af5fe04f
Switch to sync zlib with 512k chunks, adjustable compression level (#174)
* Switch to sync zlib with 512k chunks, adjustable compression level

* update serverPlayer
2022-02-04 20:30:21 -05:00
extremeheat
2aa3b9826a
Release 3.9.0 (#173) 3.9.0 2022-01-08 13:40:22 -05:00
extremeheat
eb5ebc6650
Bump bedrock-provider in tests (#172) 2022-01-07 18:36:38 -05:00
extremeheat
058c280b66 fix relay connection close issue 2022-01-03 11:11:07 -05:00
extremeheat
abc1444929 Add missing login field 2022-01-03 11:11:07 -05:00
extremeheat
a1698d712f relay: fix empty chunk loading issues, make chunk caching optional 2022-01-03 11:11:07 -05:00
extremeheat
49fd2b69ee client: make console connection logging optional 2022-01-03 11:11:07 -05:00
extremeheat
7acacc1a13
Update docs (#165)
* Update API.md

* Update CONTRIBUTING.md
2021-12-26 15:53:49 +01:00
extremeheat
bb2179a8cb
Fix port collision caused by race condition in tests (#164)
* Fix port collision caused by race condition in tests

The ipv6 port is not randomized, if the previous ports for the last test didn't get freed in time, the server can crash on launch

* try again

* Update index.d.ts

* Update genPacketDumps.js
2021-12-15 23:55:32 -05:00
extremeheat
e3e553bf91
index.d.ts: update version enum 2021-12-07 23:23:53 -05:00
extremeheat
572b83047c Release 3.8.0 3.8.0 2021-12-04 10:48:14 -05:00
extremeheat
1a1fa618e4
1.18 update (#157) 2021-12-04 01:10:47 -05:00
extremeheat
b0856e0cc7
update docs and error handling (#155) 2021-11-28 00:57:41 -05:00
extremeheat
1b422ac4ce
Update prismarine-auth usage (#153) 2021-11-12 22:14:15 +01:00
Romain Beaumont
214c34c44b
Release 3.7.0 3.7.0 2021-11-07 12:55:11 +01:00
dependabot[bot]
389a68b98f
Bump prismarine-nbt from 1.6.0 to 2.0.0 (#148)
Bumps [prismarine-nbt](https://github.com/prismarinejs/prismarine-nbt) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/prismarinejs/prismarine-nbt/releases)
- [Changelog](https://github.com/PrismarineJS/prismarine-nbt/blob/master/HISTORY.md)
- [Commits](https://github.com/prismarinejs/prismarine-nbt/compare/1.6.0...2.0.0)

---
updated-dependencies:
- dependency-name: prismarine-nbt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-07 12:48:01 +01:00
extremeheat
75bf22d619
1.17.40 update (#150)
* 1.17.40

* Update mcdata to 2.96.0

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-11-07 12:47:45 +01:00
extremeheat
8569b9823f
Release 3.6.1 3.6.1 2021-10-08 16:13:34 -04:00
extremeheat
adfa248e2d
Default createClient to latest version, fix server motd version (#144)
* Default createClient to latest version, fix server motd version

* Update vanilla.js
2021-10-08 05:56:10 -04:00
迷渡
ac2e9852be
fix spawn event (#139) 2021-10-04 19:20:12 -04:00
extremeheat
10feeea4ca
Release 3.6.0 (#141) 3.6.0 2021-10-04 13:27:38 -04:00
dependabot[bot]
72a4743993
Bump mocha from 8.4.0 to 9.1.2 (#138)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.1.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 21:22:07 +02:00
extremeheat
f8ea6c01f4
Use minecraft-data for protocol data (#126)
* use minecraft-data protocol data

* use minecraft-data for extra data

* Update .npmignore

* update skin data

* fix example

* remove .gitattr

* fix mcdata skin import, disable install script
2021-09-25 22:57:29 +02:00
extremeheat
1f7e94e5db
Update some examples, cleanup (#136)
* Update some examples, cleanup

* lint
2021-09-18 19:50:43 -04:00
Romain Beaumont
2056b7e001
add protocol doc link 2021-08-24 05:28:55 +02:00
Jordan Jones
c5858d5add
Implement Prismarine Auth (#131)
* add prismarine-auth and mfp

* implement prismarine-auth

* putting this on the record, i am stupid

* Remove unneeded files

* Use export from prismarine-auth

* fix cache path

* default the authTitle to MNS

needs testings

* Remove unnecessary comment
2021-08-16 13:06:19 +02:00
u9g
3267bbfca1
Fix typo in example (#130) 2021-08-12 00:05:29 -04:00
u9g
2d42caafb9
Fix Typo in readme example (#129)
* Fix Typo in readme example

* ServerAdvertisement: Fix motd name doc/code inconsistency

* Update advertisement.js

* Update advertisement.js

Co-authored-by: extremeheat <extreme@protonmail.ch>
2021-08-10 21:17:41 -04:00
u9g
2f941335f6
Fix small typo in helper-bot (#128) 2021-08-10 02:36:26 -04:00
extremeheat
72850b7f60
helper-bot: handle condition where there are no 3rd party commits
The helper-bot will still automatically update the PR if there are new commits while PR is still open
2021-08-10 01:17:39 -04:00
extremeheat
b3edee0b4a
helper-bot: fix url escaping 2021-08-09 23:19:08 -04:00
extremeheat
37244db6dc
Run tests on windows, disable proxy test on ubuntu CI runner (#125) 2021-08-09 23:16:17 -04:00
extremeheat
8845621e41
helper-bot: fix API call caching issue
Fix issue with server caching the results
2021-08-09 18:24:41 -04:00
extremeheat
254dbefcd4
Add update helper script (#117)
* Squashed commit from 'helper' branch

* CI: run "update-helper" script on cron

* Update index.js

* disable proxy test

* lint

* re-add proxy test with delay

* lint

* Fix cron time
2021-08-07 23:41:01 +02:00
extremeheat
a1fe4802e6 Release 3.5.1 3.5.1 2021-08-02 05:32:43 -04:00
extremeheat
0437e83fe9
fix 1.17.10 npc packet serialization (#119) 2021-08-02 00:34:13 -04:00
u9g
3b96765f45
Update link to proxy / mitm doc (#118) 2021-08-01 05:21:34 -04:00
extremeheat
0ab783e1e6
Release 3.5.0 3.5.0 2021-07-17 15:30:17 -04:00
extremeheat
f530677245
Option to use JS implementation of RakNet, fix 1.17.10 issue (#110)
* Default to JS implementation of RakNet

* update server also, adjust test timeout based on number of versions

* 1.17.10: fix texture pack issue, keep raknet default at C++

* force_build
2021-07-17 05:30:13 -04:00
extremeheat
987bf43987
1.17.10 protocol support (#109)
* 1.17.10 support

* add protocol.json

* add extra particle IDs
2021-07-14 17:30:10 -04:00
extremeheat
1cdb0e4c55 Update protodef version 2021-06-23 00:10:58 -04:00
extremeheat
b546cda899 Logging improvements 2021-06-23 00:10:58 -04:00