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
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
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
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
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
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
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
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
extremeheat
10feeea4ca
Release 3.6.0 ( #141 )
2021-10-04 13:27:38 -04: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
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
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
extremeheat
0437e83fe9
fix 1.17.10 npc packet serialization ( #119 )
2021-08-02 00:34:13 -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
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
extremeheat
187e74b823
use protodef-compiler-fix to fix npm install
2021-06-04 19:51:22 -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
d981515a75
Release 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
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
879a4c21ba
Rename src/auth -> src/handshake
2021-05-12 04:29:34 -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
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
faf7373dfd
Fix microsoft auth refresh
2021-05-04 03:00:08 -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
7263791581
Async batching
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
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