David Duarte
0009c9ab4c
End the serializer instead of unpiping streams ( #775 )
...
This will let all the streams end their work before
closing the socket
2020-12-05 16:51:32 +01:00
Gjum
0d0b4d5af2
[CI] update to actions/setup-java@v1.4.3 ( #785 )
...
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
see also #780
2020-12-04 19:55:52 +01:00
Romain Beaumont
5d80168f20
Make 1.16.4 the tested version ( #773 )
2020-11-02 20:46:03 +01:00
Romain Beaumont
f7941b9412
update to standard 16
2020-10-31 14:48:53 +00:00
Romain Beaumont
1ccedad90f
add npmrc that disable package-lock.json creation
2020-10-25 15:34:33 +00:00
Romain Beaumont
d3ea67a184
Release 1.19.0
2020-10-25 15:19:07 +00:00
Romain Beaumont
8f0ae218b1
add options.noPongTimeout to handle server that don't answer to ping packet
...
useful for example for minersbr.enxada.host in auto version mode
2020-10-25 15:14:22 +00:00
Romain Beaumont
8bfbb72e5b
Release 1.18.0
2020-10-25 14:02:31 +00:00
Svebran
4e23e9115c
Allow immediate shutdown of the client script once not in use ( #766 )
...
* Allow immediate shutdown of the script once not in use
If the client connection was terminated by anything else than the Keep Alive Timeout the script would hang until that timeout had finished. Clearing the interval fixes that problem.
* lint
* lint
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2020-10-25 14:55:32 +01:00
Grooble
9895df791e
Update server_world example ( #770 )
...
* Update server_world example
* Fix syntax
* Change required version
2020-10-25 14:26:26 +01:00
redcarti
0881d85577
client.end with full reason ( #771 )
...
* init
* updated docs
2020-10-25 14:25:44 +01:00
Romain Beaumont
99edabb716
update standard to version 15
2020-10-24 13:44:33 +00:00
Romain Beaumont
d763710bd5
Release 1.17.0
2020-10-06 20:48:33 +00:00
Grooble
306b16abcd
1.16.2 and 1.16.3 support ( #765 )
...
* Update node-minecraft-data to 2.69.0
* Change default version to 1.16.3
* Update example
* Fix tests
* remove context change for bitfield
* Update README example
* Update tests
* Update examples
* Fix tests
* Update versionChecking for 1.16.3
* Update tests
2020-10-06 22:46:53 +02:00
Romain Beaumont
330ab5a829
Support ipv4 and ipv6 by default in createServer
...
fix #759
2020-09-27 19:24:04 +00:00
Romain Beaumont
de731b3e1a
Release 1.16.0
2020-08-16 22:23:25 +00:00
Romain Beaumont
eb5bf74565
add buffer to packet event
2020-08-16 22:22:21 +00:00
Romain Beaumont
7f61d65e33
Merge pull request #755 from GroobleDierne/pingFails
...
Fix #642
2020-08-09 11:58:40 +02:00
Grooble
1387481cd5
Fix #642
2020-08-09 11:19:18 +02:00
Romain Beaumont
6489e1656c
Merge pull request #754 from HVEVB/patch-1
...
Fixes crashes
2020-08-08 20:17:35 +02:00
HVEVB
64c31e9061
Fixes crashes
...
Sometimes parsed.data is undefined, meaning the `s` variable is evaluated to undefined. When trying to read the length of the variable, it causes `Cannot read property 'length' of undefined`. By checking that `s` is defined before checking it's length prevents the crash from happening.
2020-08-08 19:16:36 +02:00
Romain Beaumont
a186392d1d
update electron in example
2020-08-03 23:16:57 +02:00
Romain Beaumont
3c626cbcb4
Release 1.15.0
2020-08-03 01:50:10 +02:00
Romain Beaumont
f44133e864
Merge pull request #752 from PrismarineJS/electron_example
...
add electron example, fix #751
2020-08-03 01:48:39 +02:00
Romain Beaumont
edece010bb
add auth and session server to doc
2020-08-03 01:48:23 +02:00
Romain Beaumont
ec4501bf4c
Merge pull request #745 from Ropro2002/master
...
Added support for custom auth/session servers
2020-08-03 01:46:30 +02:00
Romain Beaumont
50a90030b3
add electron example, fix #751
2020-08-03 01:39:04 +02:00
Romain Beaumont
4d092bb4dc
increase closeTimeout default to 2min and add to API
2020-08-03 01:37:35 +02:00
Romain Beaumont
0dede4a06b
Release 1.14.0
2020-08-02 22:30:42 +00:00
Romain Beaumont
4b5933291a
Merge pull request #750 from IdanHo/master
...
Implement fallback aes-js support for cfb8
2020-08-03 00:09:34 +02:00
Idan Horowitz
27aa08b40d
only disable the new-cap rule
2020-08-03 00:53:21 +03:00
Idan Horowitz
82364c06ce
Implement fallback aes-js support for cfb8
2020-08-03 00:38:53 +03:00
Romain Beaumont
26b41d0084
Merge pull request #747 from PrismarineJS/ping
...
Prevent ping from hanging if the server never replies. #329
2020-08-01 00:21:05 +02:00
Romain Beaumont
00980f94ab
fix lint
2020-07-31 22:12:00 +00:00
Romain Beaumont
2f508e2c7a
Merge pull request #746 from PrismarineJS/pchat
...
Pchat
2020-07-31 23:58:38 +02:00
Romain Beaumont
ddfc9347d0
fix lint
2020-07-31 21:53:09 +00:00
Robeart
b5c1e05c0c
Added support for custom auth/session servers
2020-07-27 12:29:42 +02:00
Romain Beaumont
6346153d15
improve proxy doc
2020-07-18 19:22:48 +02:00
SiebeDW
ad2c0f2b0d
Move to prismarine-chat
2020-07-14 19:39:47 +00:00
Romain Beaumont
7a30326403
add some doc to mc.ping
2020-07-14 16:22:21 +02:00
Romain Beaumont
f1273d8043
add prismarine-proxy to readme
2020-07-06 01:34:41 +02:00
Romain Beaumont
c7930ebc96
add pakkit to FAQ
2020-07-06 00:49:04 +02:00
Romain Beaumont
19b5bf5b6d
add pakkit in readme
2020-07-06 00:48:35 +02:00
Romain Beaumont
0deaf5b9f5
add proxy question to FAQ
2020-07-06 00:45:03 +02:00
Romain Beaumont
61352500da
update readme and change default version to 1.16.1
2020-06-27 01:34:13 +00:00
Romain Beaumont
0afc54a12b
Release 1.13.0
2020-06-23 17:15:29 +02:00
Romain Beaumont
0fbb5ed260
Merge pull request #733 from PrismarineJS/1.16
...
Add 1.16 support
2020-06-23 17:14:00 +02:00
Romain Beaumont
cbef0f331f
switch to 1.16
2020-06-23 17:10:22 +02:00
Romain Beaumont
b7c5a45557
fix tests
2020-06-23 17:02:31 +02:00
Romain Beaumont
2da46e1f35
fix clientbound usage of chat and login for 1.16
2020-06-23 16:52:18 +02:00