Commit graph

1510 commits

Author SHA1 Message Date
Romain Beaumont
4a0889fe14
Release 1.9.3 2019-07-08 00:17:25 +02:00
Romain Beaumont
fbb92ffac6
handle both max-players and maxPlayers in createServer options
fix #632
2019-07-08 00:16:39 +02:00
Romain Beaumont
adbf603825
Release 1.9.2 2019-07-07 23:40:16 +02:00
Romain Beaumont
ffaa9f7990
check whether version is supported in server auto version detection 2019-07-07 23:37:19 +02:00
Romain Beaumont
423036c42d
Release 1.9.1 2019-07-07 23:30:39 +02:00
Romain Beaumont
d3a9f7dcea
throw an unsupported protocol version in createServer when asking for an unsupported version 2019-07-07 23:26:28 +02:00
Romain Beaumont
c59d9e2687
Merge pull request #633 from PrismarineJS/greenkeeper/@types/node-12.0.3
Update @types/node to the latest version 🚀
2019-05-29 00:07:11 +02:00
greenkeeper[bot]
772ed06811 chore(package): update @types/node to version 12.0.3 2019-05-28 19:52:44 +00:00
Romain Beaumont
cc622a5c5c
Release 1.9.0 2019-05-20 01:56:17 +02:00
greenkeeper[bot]
a95c6a1ad2 chore(package): update @types/node to version 11.9.0 (#617) 2019-05-20 01:47:14 +02:00
Romain Beaumont
b5b500adf8
1.14 support (#628) 2019-05-20 01:46:02 +02:00
Romain Beaumont
7c92ac9099
Merge pull request #619 from vlakreeh/master
Fix some typescript declarations
2019-03-11 18:35:01 +01:00
vlakreeh
56a3c36295 fix typescript declarations 2019-02-26 09:22:32 -05:00
Romain Beaumont
2732335b26
Merge pull request #618 from PrismarineJS/greenkeeper/mocha-6.0.0
Update mocha to the latest version 🚀
2019-02-19 18:23:41 +01:00
greenkeeper[bot]
f4249f15d5 chore(package): update mocha to version 6.0.0 2019-02-18 22:10:53 +00:00
Romain Beaumont
9ee8ece407
Merge pull request #611 from DeliciousJaffa/patch-1
Bump default version to 1.13.2
2019-01-22 02:07:44 +01:00
Jaffa
4ec8b3f254
Bump default version 2019-01-18 05:09:03 +00:00
Romain Beaumont
2f2648a17e
Merge pull request #609 from Sceat/patch-1
Add related helper mapItem library
2018-12-22 10:07:10 +01:00
Romain Beaumont
d171e47554
Merge pull request #610 from Gjum/patch/socket-end
Distinguish socket ending from other end reasons
2018-12-22 10:06:26 +01:00
Gjum
66e4bbc3b3
Distinguish socket ending from other end reasons 2018-12-22 05:33:05 +01:00
Sceat
4cd893607c
Add related helper mapItem library
https://github.com/AresRPG/aresrpg-map-colors
2018-12-18 03:46:27 +02:00
Romain Beaumont
8bccc3cb75
Release 1.8.3 2018-12-15 18:48:21 +01:00
Romain Beaumont
c6e55e80b9
Merge pull request #602 from vlakreeh/master
Add skipValidation flag for authentication
2018-12-02 19:05:31 +01:00
Romain Beaumont
3326329f37
Merge pull request #603 from lefela4/patch-1
Update compression.js
2018-12-02 18:56:53 +01:00
lefela4
2fe18e9fed
Update compression.js
Ok. The issue is in the minecraft-protocol module, in compression.js line 55.

You need to replace this:
```js
zlib.inflate(chunk.slice(size), (err, newBuf) => {
```
to this:
```js
zlib.unzip(chunk.slice(size), { finishFlush: zlib.constants.Z_SYNC_FLUSH }, (err, newBuf) => { /** Fix by lefela4. */
```

The problem happen when the packet end with the byte 0000ffff. I made some rechearch and I figured out the those byte are made for sharing deflate-compressed data chunks between streaming HTTP clients. However, from my understanding of DEFLATE/zlib, you can instead send Z_FULL_FLUSH 0x0000FFFF bytes to reset the stream which should serve the same effect of individually decompressible chunks. I will sumbit a pull request for the issue. Hope my explanation are good!
Have a good day :)
2018-12-02 10:45:35 -05:00
Romain Beaumont
ed6d51e7c3
improve debug info in readme 2018-11-25 19:39:34 +01:00
Romain Beaumont
9c8f1817f7
update badges 2018-11-25 16:51:30 +01:00
vlakreeh
aff9c221f7 fix client not connecting with skipValidation flag 2018-11-09 11:11:21 -05:00
vlakreeh
297d40b17d add skipValidation flag for authentication 2018-11-09 11:06:12 -05:00
Romain Beaumont
40102f6158
make 1.13.2 the tested and supported 1.13.x version 2018-11-03 18:11:00 +01:00
Romain Beaumont
ee9697e5ed
Merge pull request #598 from PrismarineJS/1.13.2-pre1
add 1.13.2-pre1 support
2018-10-16 22:39:06 +02:00
Romain Beaumont
e00696f94c
update to mcdata 2.33.0 : fix version definition for 1.13.2-pre1 2018-10-16 22:35:45 +02:00
Romain Beaumont
822d9e12dd
fix slot value in packet tests and update some deps 2018-10-16 22:23:16 +02:00
Romain Beaumont
97edd67b07
add 1.13.2-pre1 support 2018-10-16 21:45:14 +02:00
Romain Beaumont
273337d630
add issue template 2018-10-08 22:30:45 +02:00
Romain Beaumont
d874b990cf
Release 1.8.2 2018-10-07 20:05:58 +02:00
Romain Beaumont
bbaf3f05ff
fix tcp_dns.js checking for SRV lookup 2018-10-07 20:05:28 +02:00
Romain Beaumont
ed25865f21
Merge pull request #595 from ShayBox/patch-1
Updated typings
2018-10-04 13:18:38 +02:00
Shayne Hartford
747924d359
Added error events 2018-10-03 07:43:40 -04:00
Shayne Hartford
566b766f84
Updated typings
Removed I from interfaces.
Renamed interfaces to be more clear.
Added TODO: Create typings on protodef to define here.
Added supportedVersions static strings.
Rearranged order of exports and properties.
Changed unused returns of functions from any to void (More strict).
Put entire typings inside module declaration.

Now works in strict mode.
Suggestion: Add typings to protodef so createSerializer and createDeserializer have valid types.
2018-10-03 07:37:19 -04:00
Romain Beaumont
eac4f3d8ac
Release 1.8.1 2018-09-25 23:44:24 +02:00
Romain Beaumont
c3589ce01d
update mcdata : fix loadpath bug for 1.13.1 2018-09-25 23:44:24 +02:00
Romain Beaumont
12cea6e435
fix circle ci badge 2018-09-25 23:17:12 +02:00
Romain Beaumont
b1ba01ed3c
run standard 1.12 --fix 2018-09-25 23:09:37 +02:00
Romain Beaumont
6988345f98
Merge pull request #586 from lluiscab/lluiscab/fix-client_echo
Fixed client echo crash on /say
2018-09-24 22:10:12 +02:00
Romain Beaumont
26267ab043
Merge branch 'master' into lluiscab/fix-client_echo 2018-09-24 22:09:46 +02:00
Romain Beaumont
0bd2e559bd
run standard 1.12 --fix 2018-09-24 22:08:11 +02:00
greenkeeper[bot]
dcb9f0d2c4
chore(package): update standard to version 12.0.0 2018-09-24 22:08:11 +02:00
Romain Beaumont
fd92809f90
Merge pull request #590 from PrismarineJS/greenkeeper/debug-4.0.0
Update debug to the latest version 🚀
2018-09-24 22:03:24 +02:00
Romain Beaumont
dac5836753
move index.d.ts to src 2018-09-24 22:01:16 +02:00