Commit graph

8 commits

Author SHA1 Message Date
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