Commit graph

70 commits

Author SHA1 Message Date
extremeheat
f92db61c89
Add links field to server resource_packs_info 2023-09-20 00:47:37 -04:00
kinash
cd0ddc16e1
Update basicServer example to 1.19.80 (#399) 2023-05-20 15:00:52 +02:00
extremeheat
30c583fcf3
Release 3.19.0 (#283)
* Update HISTORY.md

* Update package.json

* Remove viewer example

* Update HISTORY.md
2022-09-22 22:47:17 -04:00
Jonathan Nagy
7263714562
Fix chat echo sample (#233)
* Fix chat echo sample

The `client.options.username` reference is optional for online connections.  Referencing it here when it is null will not filter out the echo text, causing an infinite loop.

* Update client.js
2022-06-27 21:49:54 -04:00
ATXLtheAxolotl
6e73a75138
Add Realm support to Relay (#226)
* add(): realm relay

* fix(): Non-async solution to realm proxy

* fix(): follow the guidlines of the strict linter

* fix(): Use Client constructor instead of createClient function

* types(): Update index.d.ts to include realms option in destination
2022-06-17 05:55:50 -04:00
LucienHH
cde600d51e
Implement Realm joining (#193)
* Pass client options to ping

* Implement RealmAPI to auth

* Add Realm join example

* Update package.json

* Update README.md

* Update index.d.ts

* Show one option, remove listener

* Fix wording

* Explain options

* Optional fields

* Fix typo

* Moved retry ad host/port extraction to prealms

* Add docs

* Fix lint

* Depend on prealms release

Co-authored-by: LucienHH <Lucien.holloway@aprox.co.uk>
2022-04-09 13:11:12 -04: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
eb5ebc6650
Bump bedrock-provider in tests (#172) 2022-01-07 18:36:38 -05:00
extremeheat
1b422ac4ce
Update prismarine-auth usage (#153) 2021-11-12 22:14:15 +01: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
u9g
3267bbfca1
Fix typo in example (#130) 2021-08-12 00:05:29 -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
5af828bcb7 Update types, add authTitle option to relay, client renderDistance -> viewDistance 2021-06-01 20:10:59 -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
u9g
39659cf48b
rename hostname to host (#74) 2021-04-23 03:23:43 -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
extremeheat
1538c3fc03 Add server MOTD options 2021-04-20 09:55:57 -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
u9g
d8ff48258c
Add createClient (#61)
* Initial commit

* remove comment

* export obj

* fix export

* add to api.md

* fix old refs to nmp
2021-04-14 23:39:05 +02:00
extremeheat
aec81efba8 Merge branch 'master' of https://github.com/PrismarineJS/bedrock-protocol into examples 2021-04-14 07:25:38 -04:00
extremeheat
fc39d69798 protocol: inventory, recipe updates 2021-04-14 07:23:42 -04:00
u9g
5499f956b9
Refactor data-provider use in server ex (#64) 2021-04-14 04:19:45 -04:00
extremeheat
a9ad14008e viewer: add sprint, sneaking 2021-04-08 01:32:20 -04:00
extremeheat
41b9f7b383 viewer: working first person 2021-04-07 07:15:22 -04:00
extremeheat
01f19164ba viewer: key control movement 2021-04-07 01:56:32 -04:00
extremeheat
7a830317ea viewer: first person views 2021-04-04 03:52:06 -04:00
extremeheat
32d52e9878 viewer: refactor and cleanup 2021-04-03 22:56:36 -04:00
extremeheat
d2c0d3c386 viewer: add proxy example 2021-04-03 20:34:42 -04:00
extremeheat
f5321dd277 create pviewer exxample 2021-03-30 01:39:28 -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
3369fc2790 update server example, use protocol updates
Server example with bedrock-provider
Use 64-bit varints for entity runtime ids
2021-03-26 04:48:23 -04:00
extremeheat
0bdd071876 client example updates 2021-03-26 04:48:21 -04:00
extremeheat
edcc370426
Add index, .npmignore, connect timeout (#1)
* add index and .npm ignore

* add connect timeout

* update protocol.json

* Update ci.yml

* Update ci.yml
2021-03-22 15:07:25 -04:00
extremeheat
1c582acdb5
Standard (#44)
* standard

* remove old examples
2021-03-13 19:38:31 +01:00
extremeheat
df8612e355
Start work on multi-version support, test cleanup (#43)
* some cleanup

* start work on multi-version support

* undelete some old examples, can update them later

* move old examples
2021-03-12 20:20:25 +01:00
Filiph Sandström
06c77c3668 Manually fix packets for 1.12 2019-07-14 17:53:52 +02:00
Romain Beaumont
d8ee61b7db worldName in server.js 2016-06-21 03:03:52 +02:00
Romain Beaumont
d040667bc0
spawns ! 2016-06-18 15:51:41 +02:00
Romain Beaumont
66111dad54
encryption + complete example. The ideas are there, but it doesn't seems to be accepted by the client yet 2016-06-18 14:58:17 +02:00
mhsjlw
26dca46471 more encryption stuff, lots of progress 2016-06-16 07:11:22 -04:00
mhsjlw
54c371dd62 generating public keys 2016-06-15 07:30:02 -04:00
mhsjlw
1dc00237fa login event, jwt decoding 2016-06-15 06:53:00 -04:00
mhsjlw
97c8b7d0aa change packet prefix, remove duplicate packets 2016-06-14 18:40:20 -04:00
mhsjlw
8c30673c6c update all examples 2016-06-14 18:17:54 -04:00
mhsjlw
91e246cecc fix block update 2016-05-23 06:44:04 -04:00
mhsjlw
044c2204d6 deserializer fixes and 0.14.3 2016-05-19 17:19:15 -04:00
mhsjlw
3006fd44bf update to version 2.1.0 (protocol 60) 2016-05-14 21:26:38 -04:00
Romain Beaumont
375137b69f
update raknet, reconnecting is now working 2016-04-13 03:31:29 +02:00