Commit graph

297 commits

Author SHA1 Message Date
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
extremeheat
3f5c4ad12e Relay proxy fixes, handle disconnect 2021-06-23 00:10:58 -04:00
extremeheat
565ae4583d Protocol updates to sync with minecraft-data 2021-06-23 00:10:58 -04:00
JammSpread
90d12fa696
fix: type definition errors found related to ServerAdvertisements. (#103)
* fix: online/max player count type definition.

Fixes the type definition of the online/max players to be an immediate
child of the ServerAdvertisement class so that it can be accessed
properly on TypeScript.

Signed-off-by: JK <u.sslooky@gmail.com>

* feat: implement advertisementFn type definition.

Adds the type definition for the 'advertisementFn' server option.

Signed-off-by: JK <u.sslooky@gmail.com>

* fix: minor advertisementFn typo in API docs.

Fixes a minor typo found in the API docs that misspells
'advertisementFn' as 'advertismentFn'.

Signed-off-by: JK <u.sslooky@gmail.com>

* feat: add skipPing to the API docs.

Adds the 'skipPing' client option to the API docs.

Signed-off-by: JK <u.sslooky@gmail.com>

* feat: add connectTimeout type definition.

Adds the 'connectTimeout' client option to the package type definitions.

Signed-off-by: JK <u.sslooky@gmail.com>
2021-06-11 18:45:54 -04:00
extremeheat
6a03c9813c Release 3.4.0 3.4.0 2021-06-09 17:53:16 -04:00
extremeheat
5f0adfab76
1.17 support (#99) 2021-06-09 17:26:44 -04:00
u9g
d02eb6c041
update connect version based on ping response & fix typings (#101)
* update connect ver based on ping resp& add typings

* Fixed and added extremeheat suggestion

* Update API.md

* Update createClient.js
2021-06-09 13:40:45 -04:00
JammSpread
e16e8381e5
fix: ping types. (#100)
* fix: ping types.

Sets the TypeScript definition file to include more accurate types for
the ping function.

Signed-off-by: JK <u.sslooky@gmail.com>

* fix: changed usage.

Reverts the usage to the previous method of entering in ping options.
This makes it so that the host and port can once again be entered by
their order alone.

Signed-off-by: JK <u.sslooky@gmail.com>
2021-06-08 22:57:55 -04:00
extremeheat
9aba6b436d
Release 3.3.0 (#96) 3.3.0
* Update package.json

* Update HISTORY.md

* Update package.json
2021-06-05 06:40:55 -04:00
extremeheat
9113b0967e
Merge pull request #95 from extremeheat/protofix3
Protocol updates for 1.16
2021-06-05 02:05:50 -04:00
extremeheat
700ee08e11 correct type definitions 2021-06-04 19:52:09 -04:00
extremeheat
187e74b823 use protodef-compiler-fix to fix npm install 2021-06-04 19:51:22 -04:00
dependabot[bot]
69b7c5c9f4 Bump leveldb-zlib from 0.0.26 to 1.0.1
Bumps [leveldb-zlib](https://github.com/extremeheat/node-leveldb-zlib) from 0.0.26 to 1.0.1.
- [Release notes](https://github.com/extremeheat/node-leveldb-zlib/releases)
- [Changelog](https://github.com/extremeheat/node-leveldb-zlib/blob/master/HISTORY.md)
- [Commits](https://github.com/extremeheat/node-leveldb-zlib/compare/v0.0.26...1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 16:59:18 -04:00
extremeheat
ab70115bd8 Protocol updates for 1.16
* Login packet uses new Encapsulated type
* Add missing packet schemas
* Add more docs
Breaking: revises some field names
2021-06-03 16:52:19 -04:00
extremeheat
6da8a9b2fc Minor protocol fix for entity data 2021-06-03 16:52:08 -04:00
extremeheat
0f0d064b13 Revert "temporary install fix"
This reverts commit 01575ecd6f.
2021-06-03 04:38:49 +00:00
extremeheat
01575ecd6f temporary install fix 2021-06-03 04:25:47 +00:00
extremeheat
d981515a75 Release 3.2.1 3.2.1 2021-06-01 20:10:59 -04:00
extremeheat
e9098aa744 test/proxy: extra debug logging 2021-06-01 20:10:59 -04:00
extremeheat
5af828bcb7 Update types, add authTitle option to relay, client renderDistance -> viewDistance 2021-06-01 20:10:59 -04:00
extremeheat
6a7ad6ab98 protocol: Fix position serialization 2021-05-27 12:38:46 -04:00
extremeheat
025c2cfac6 Release 3.2.0 3.2.0 2021-05-25 22:01:03 -04:00
extremeheat
9cb4a888f4
Fix empty chunks on proxy spawn (#89)
* Fix empty chunks on proxy spawn

Hack to fix issue with chunks not loading when client joins the proxy
* Queue chunk, respawn packets and only send them after player spawn

* fix lint
2021-05-24 12:07:03 -04:00
extremeheat
f0fbf4f859
Send skin data, protocol updates (#88)
* Add skin data

* Serialization updates
* Dynamic shield item id
* NBT reading/writing on void type uses 0 length, fix some third party servers

* Fix proxy empty chunk issue

* Fix scoreboards
compiler needs ../

* fix indentation

* Fix set_score packet

* Fix readme title auth doc

* Implement new compiler vars
2021-05-24 10:17:09 -04:00
extremeheat
76febb29f1
Support xbox title + live.com auth (#86)
* preliminary support for xbox title + live.com auth

* cleanup

* export title list

* add to api docs

* Verify that minecraft token has titleId if did titleAuth

* Minor changes
2021-05-19 09:53:55 -04:00
extremeheat
f644595b4b
Merge pull request #85 from extremeheat/tpf 2021-05-15 00:04:16 -04:00
extremeheat
879a4c21ba Rename src/auth -> src/handshake 2021-05-12 04:29:34 -04:00
extremeheat
7d532e8c7e protocol updates 2021-05-11 21:40:53 -04:00
extremeheat
b8f6ab4ed3 Remove crypto deps
Use node crypto lib
2021-05-11 21:17:31 -04:00
extremeheat
3a4335a2ae
Fix third party servers, optional client encryption (#83)
* Fix CBMC connections, fix js-raknet
* Remove electron support

* make raknet-native an optional dep

* protocol: fix skin serialization

* enable debugging output in tests

* Fix tests

* Allow server to skip encryption

* update protocol docs
2021-05-11 13:39:46 -04:00
Nihat
bb88115e5e
Update readme (#81) 2021-05-06 13:23:45 -04:00
extremeheat
8de044aafa update package.json 3.1.0 2021-05-05 12:20:27 +02:00
extremeheat
a8188c07ef Release 3.1.0 2021-05-05 12:20:27 +02:00
extremeheat
ab8b6ddc0c
Protocol updates, maps and rotation (#77)
* protocol updates
* Add clientbound map packet impl
* Add missing byte rotation implementation

* github: auto collapse generated diffs

* protocol doc fix

* protocol collision fix

* Fix map pixels
2021-05-04 13:56:12 -04:00
extremeheat
c9c162bc16 Increase test timeouts 2021-05-04 03:00:08 -04:00
extremeheat
faf7373dfd Fix microsoft auth refresh 2021-05-04 03:00:08 -04:00
dependabot-preview[bot]
cbfd9eac1d
Upgrade to GitHub-native Dependabot (#75)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-02 01:04:32 +02:00
extremeheat
cf006ab12d
Fix readme install command 2021-04-25 09:28:15 -04:00
u9g
39659cf48b
rename hostname to host (#74) 2021-04-23 03:23:43 -04:00
extremeheat
7c6439b301
Add version check (#73)
* Add version check

* fix server import
2021-04-21 07:23:06 -04:00
extremeheat
b60fd53ad5
Add relay proxy to tests, docs, fix offline (#71)
* Add relay proxy to tests, docs

* Add proxy example, type defs

* update docs

* proxy: forward login packet, fix offline
2021-04-21 06:22:51 -04:00
extremeheat
5ea8056e04 Fix relay, cleanup 2021-04-20 09:55:57 -04:00