Commit graph

19 commits

Author SHA1 Message Date
extremeheat
187e74b823 use protodef-compiler-fix to fix npm install 2021-06-04 19:51:22 -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
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
u9g
39659cf48b
rename hostname to host (#74) 2021-04-23 03:23:43 -04:00
extremeheat
999bfd3569
Enforce server auth, ping on createClient, update docs (#68)
* Add createServer, ping on createClient, update README

* fix createClient keepalive

* resort readme, fix node 14

* Enforce auth on server connections, fix close/connect issues

* add type definitions, update readme, docs

* Wait some time before closing connection, update docs

* wait for server close in tests, fix race bug

* export a ping api

* Rename api.md to API.md

* add ping example
2021-04-18 09:19:59 -04:00
extremeheat
d3723ef42a
1.16.220 support (#66)
* 1.16.220 initial support

* 1.16.220 fixes, electron gcm

* 1.16.220 item stack fix
2021-04-16 16:40:38 -04:00
extremeheat
aec81efba8 Merge branch 'master' of https://github.com/PrismarineJS/bedrock-protocol into examples 2021-04-14 07:25:38 -04:00
u9g
21a0dcd393
Add metadata dumping to dumpPackets.js (#63) 2021-04-14 04:23:04 -04:00
u9g
ed2dbcc568 Add packet dumper with same format as java dumper 2021-04-11 00:56:33 -04:00
extremeheat
32d52e9878 viewer: refactor and cleanup 2021-04-03 22:56:36 -04:00
extremeheat
a55eaddc98
Add packet dumper, new server example, internal client/server test (#4)
* Add packet dumper, configuable vanilla server, client events

* Fix server/client closing

* Add internal server test

* protocol: use WindowID types

* Add internal client/server test

* test timeout fixes

* client example updates

* update server example, use protocol updates
Server example with bedrock-provider
Use 64-bit varints for entity runtime ids

* fix internal test packet path
2021-03-26 05:19:08 -04:00
extremeheat
0bdd071876 client example updates 2021-03-26 04:48:21 -04:00
extremeheat
be98fc6cf8 test timeout fixes 2021-03-26 04:48:20 -04:00
extremeheat
bb9b94fa02 Add internal server test 2021-03-26 04:48:15 -04:00
extremeheat
cf6471f6eb Add packet dumper, configuable vanilla server, client events 2021-03-26 04:48:13 -04:00
extremeheat
b569cb6353 update build script 2021-03-21 19:41:52 -04:00
extremeheat
458136d877
Vanilla server tests, client offline mode (#49)
* vanilla server launcher

* update package.json

* re-add babel to fix standard

* fix ci

* add buffer-equal

* simple fixes

* add offline client support

* fix closing bugs, proper wait for server start

* add test to mocha

* change test timeout to 2 min

* increase timeouts

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-03-17 23:04:14 +01:00
extremeheat
bd97a8e1b7
client close handling, add spawn event (#48) 2021-03-14 00:49:54 +01:00
extremeheat
58e011e06d
Login refactoring (#45)
* Refactor auth + encryption

Fix a bug with client account token caching

* move some files
2021-03-13 19:50:16 +01:00