w0ahL
84c5231b92
Don't send now deprecated tick sync packets on 1.21 and newer ( #504 )
...
* Tick Sync is now deprecated
* Add new function here
* Add check
* Remove useless require by me
* Fix
2024-06-16 16:51:22 -04:00
LucienHH
32e0c66997
Fix followPort option ( #394 )
...
* Fix `followPort` option
* Use correct default
2023-05-04 12:58:55 -04:00
extremeheat
99153c2de2
Add option for port redirection, fix Realm handling ( #282 )
...
* Port Redirect Fix - Only Redirect on Unspecified Port
* Update to use `followPort` option
Co-authored-by: Stephen O'Connor <oconnor39@gmail.com>
2022-09-22 15:14:49 -04:00
Stephen O'Connor
d3a085a260
Add Port Redirect Functionality ( #278 )
2022-09-14 22:31:31 -04:00
b23r0
b36c55e112
Add new raknet library option (raknet-node) ( #211 )
...
* add new raknet library option (raknet-node)
* fix lint
* fix lint & add new options
* fix lint
* fix user option & add rust-raknet test.
* fix lint.
* add raknet backend option.
* remove useNativeRaknet option.
* add not found log.
* add test timeout size.
* fix js raknet return error.
* restore useNativeRaknet option.
* update doc.
* update options handling, back compat
* fix server doc
* Fix tests
* fix tests.
* fix lint.
* delay timeout.
* Update rak.js
* update raknet-node version.
* increase timeout.
* Update vanilla.js
* Update proxy.js
* Update internal.js
* update raknet-node version.
* update rust-raknet version.
* increase timeout test time
* increase timeout test time
* update backend version.
* change timeout
Co-authored-by: extremeheat <extreme@protonmail.ch>
2022-08-09 03:39:27 -04:00
Stephen O'Connor
aacd4b4256
Better handle ping timeout, update documentation ( #218 )
...
* Better handle ping_timeout, update documentation
* Remove extra semicolon
* Change ping_timeout to client.emit('error', e) for more normalized handling
* Remove extra RakTimeout import
2022-06-09 13:45:58 -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
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
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
49fd2b69ee
client: make console connection logging optional
2022-01-03 11:11:07 -05: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
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
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
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
d981515a75
Release 3.2.1
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
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
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
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
0ed5a8d061
protocol updates, packet dumping
2021-02-18 13:33:30 -05:00
Filiph Sandström
b7e39dec84
Add babel for esnext support.
2019-07-14 17:21:20 +02:00
Filiph Sandström
74a3e6db45
Add documentation.
...
Add encryption toggle.
2016-12-20 17:42:58 +01:00
Romain Beaumont
8c06ca5a38
parse server bound batches
2016-06-15 00:44:38 +02:00
mhsjlw
8c30673c6c
update all examples
2016-06-14 18:17:54 -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
11c8df52bb
remove mcpe_ prefix, fix #6
2016-04-12 22:40:30 +02:00
Romain Beaumont
863ddf1785
add example chunk, use protodef to implement read and write batch, try to make the chunk sending work
2016-04-07 00:46:40 +02:00
Romain Beaumont
255d55a5f5
remove unneeded console.log
2016-04-06 23:35:27 +02:00
mhsjlw
dc7c30482c
batch packets
2016-04-06 17:32:48 -04:00
Romain Beaumont
522afb4dfd
put client login sequence in createClient.js
2016-04-06 03:06:34 +02:00
Romain Beaumont
eee1fe6aa7
add most of server login sequence in server example
2016-04-05 00:41:46 +02:00
Romain Beaumont
d17c62307a
re-emit mcpe packets as client event
2016-04-05 00:03:01 +02:00
Romain Beaumont
083079d619
use customTypes option of raknet, continue fixing protocol.json mcpe_login (now works)
2016-04-04 23:52:05 +02:00
Romain Beaumont
e00ccf1542
use new raknet which support customPackets, begin fixing the protocol.json
2016-04-04 23:29:24 +02:00
Romain Beaumont
ff54ec47c0
use recent raknet and add basic example
2016-04-02 23:50:28 +02:00
Keegan
783664863e
it still doesn't work
2016-03-06 17:23:05 -05:00