Commit graph

32 commits

Author SHA1 Message Date
extremeheat
be6f0cde9f
Update and rename CONTRIBUTING.md to docs/CONTRIBUTING.md (#475) 2024-01-31 11:24:08 -05:00
YeemiRouth
8f3b6c5aec
Update API.md (#448) 2023-09-18 13:56:42 -04:00
extremeheat
d31b2b2aec
Add FAQ entry and replit warning on client ping error (#415) 2023-06-17 23:04:23 -04:00
Hitesh. V
2cea7d6912
"JWT not active" FAQ (#397) 2023-05-09 20:07:06 -04:00
extremeheat
830a58144a
Update mc-data links 2023-04-05 18:28:15 -04:00
Hitesh
c1f008a3c9
Add close packet in server player API doc (#347) 2023-02-19 16:13:14 -05:00
extremeheat
ff658b2234
Update doc 2023-02-18 01:23:48 -05:00
extremeheat
3295c0ddd9
Update doc (#288)
* Update API.md

* Update README.md

* Update API.md
2022-09-24 16:55:12 -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
bf2de1dcf4
Add Get-AppxPackage command to FAQ.md (#276) 2022-09-11 23:19:32 -04:00
extremeheat
c395f0b05b
relay: Add multi-user login support (#258)
* relay: add multi-user login support

* relay: Fix close handling, connect username
2022-08-24 00:41:12 -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
extremeheat
63d11c24bb
Update API documentation 2022-04-30 19:22:35 -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
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
7acacc1a13
Update docs (#165)
* Update API.md

* Update CONTRIBUTING.md
2021-12-26 15:53:49 +01: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
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
迷渡
ac2e9852be
fix spawn event (#139) 2021-10-04 19:20:12 -04:00
extremeheat
1f7e94e5db
Update some examples, cleanup (#136)
* Update some examples, cleanup

* lint
2021-09-18 19:50:43 -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
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
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
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
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