Commit graph

1258 commits

Author SHA1 Message Date
greenkeeper[bot]
54a506e8ff
chore(readme): remove Greenkeeper badge (#704)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-05-03 12:51:34 +02:00
Heath123
bba58c8d28
Fix error in example (#701)
* Fix error in example

This fixes an error that occurs with the example echo client:
```TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object```
This change might be needed in the server as well, but I didn't test that. Or maybe there's a better way to fix this

* Fix Browserify and Webpack

* Actually fix Browserify/Webpack

* ACTUALLY actually fix Browserify/Webpack

* Surely this will fix Browserify/Webpack
2020-05-03 12:16:30 +02:00
Romain Beaumont
28b52a9158
update mcdata, add explicit test for 1.16 (#691)
* update mcdata, add explicit test for 1.16

* Update mcdata again with fix for success packet
2020-03-30 23:55:53 +02:00
Romain Beaumont
6d697b96dd
Add License file, closes #689 2020-03-29 19:41:27 +02:00
Kneesnap
5ccb48e255
Follow the authentication spec more closely : use username sent by mojang. (#684)
* Follow the authentication spec more closely.

Theoretically this shouldn't make much of a difference, but I did notice it when I was reading through the npm code.
We should trust the API, not our own understanding of the API, just for safety reasons.

* Keep comment together with relevant code.
2020-03-28 17:32:53 +01:00
Romain Beaumont
b6d47ddc8e
update mcdata and explicit 1.15.2 support 2020-03-28 17:19:58 +01:00
Romain Beaumont
e2fd19fd71
add minecraft-packet-debugger to readme 2020-03-20 23:43:24 +01:00
Romain Beaumont
8a143588a2 Release 1.11.0 2020-02-11 21:23:18 +00:00
Idan Horowitz
54380a3cb7
Pass through http agent option to yggdrasil for proxy support (#676)
* initialize yggdrasil with agent option if it exists

* standardjs

* move require statements to the top

* add agent option to docs and ts type information
also removed useless typescript import and moved class fields from wrong class to the correct one

* update proxy examples and add http agents for proxying yggdrasil

* update to agent supporting yggdrasil version
2020-02-11 12:31:24 +01:00
Romain Beaumont
db1c7c31e4
Merge pull request #673 from wvffle/wvffle/yggdrasil
Update yggdrasil
2020-02-02 02:07:51 +01:00
Kasper Seweryn
c56723c65a
Update to v1.2.0 2020-02-02 01:04:48 +00:00
Kasper Seweryn
49b35ff133
Update auth.js 2020-02-01 18:55:08 +00:00
Kasper Seweryn
ed73a6f1a2
Update encrypt.js 2020-02-01 18:54:45 +00:00
Kasper Seweryn
7eeee9baba
Update login.js 2020-02-01 18:54:27 +00:00
Kasper Seweryn
1904fe31b0
Update yggdrasil 2020-02-01 18:53:15 +00:00
Romain Beaumont
d937912bef
Merge pull request #674 from PrismarineJS/greenkeeper/mocha-7.0.1
Update mocha to the latest version 🚀
2020-01-30 21:14:23 +01:00
Romain Beaumont
1c990e55ed
Merge pull request #675 from bangbang93/master
fix dts
2020-01-30 21:14:08 +01:00
bangbang93
99826bcbe5 fix dts 2020-01-29 17:34:33 +08:00
bangbang93
c54ec84071 fix dts 2020-01-29 17:31:49 +08:00
greenkeeper[bot]
5ddf913011
chore(package): update mocha to version 7.0.1 2020-01-26 08:39:22 +00:00
Romain Beaumont
f4f72f1d35
Release 1.10.0 2019-12-29 23:39:50 +01:00
Romain Beaumont
3e831b701c
Merge pull request #669 from PrismarineJS/1.15.1_support
update mcdata and bring 1.15.1 support
2019-12-29 23:36:10 +01:00
Romain Beaumont
1f56196561
also support for 1.15 2019-12-29 23:35:34 +01:00
Romain Beaumont
33178bb94d
add new fields in login packet usage for 1.15.1 2019-12-29 23:27:04 +01:00
Romain Beaumont
4604330586
handle count with number properly in packet test 2019-12-29 23:17:38 +01:00
Romain Beaumont
c0ae9b1546
update mcdata and bring 1.15.1 support 2019-12-29 22:56:59 +01:00
Romain Beaumont
bb9a4453d5
Merge pull request #665 from ShayBox/patch-1
Add connect to types
2019-12-26 21:11:12 +01:00
Romain Beaumont
e9c341b74f
Merge pull request #666 from PrismarineJS/greenkeeper/@types/node-13.1.0
Update @types/node to the latest version 🚀
2019-12-26 21:10:25 +01:00
greenkeeper[bot]
77b963eb4e
chore(package): update @types/node to version 13.1.0 2019-12-23 17:34:42 +00:00
Shayne Hartford
2d83c0e415
Fix type and add close type to Server 2019-12-22 01:12:43 -05:00
Shayne Hartford
6dff6489c9
Change name and move position 2019-12-21 19:43:46 -05:00
Shayne Hartford
3b7ecc5895
Add connect to types
Add missing connect function to typings for Client
<https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/src/client.js#L222>
2019-12-21 19:42:16 -05:00
Romain Beaumont
bbe666f968
Merge pull request #662 from matthi4s/master
socket end timeout
2019-11-15 23:19:33 +01:00
Matthias Neid
be1870457c fixed indentation 2019-11-15 14:08:45 +01:00
Matthias Neid
7c916ff179 increase socket end timeout 2019-11-15 14:02:12 +01:00
Matthias Neid
023bfea6e2 added socket end timeout 2019-11-15 13:54:12 +01:00
Kasper Seweryn
e36e8fe0d3 Add @waff/yggdrasil
As the author of node-yggdrasil doesn't seem to accept new PRs, I've created a fork which fixes phin error (thanks to @rom1505) and adds more meaningful messages for a couple of CloudFlare errors as proposed in https://github.com/PrismarineJS/mineflayer/issues/880#issuecomment-549127642
2019-11-06 01:40:21 +01:00
Romain Beaumont
dc713f0cf3
Merge pull request #648 from PrismarineJS/greenkeeper/standard-14.0.0
Update standard to the latest version 🚀
2019-08-21 00:17:24 +02:00
Romain Beaumont
83a77be10b fix for latest standard 2019-08-20 22:14:37 +00:00
greenkeeper[bot]
6aff4da999
chore(package): update standard to version 14.0.0 2019-08-19 21:31:41 +00:00
Romain Beaumont
8e5264dc52 fix lint for new standard version 2019-08-03 23:29:14 +00:00
Romain Beaumont
9268d95571 Release 1.9.4 2019-08-03 23:22:04 +00:00
Romain Beaumont
8fdb31054f add reference to node types in typescripts types
Fixes PrismarineJS/node-minecraft-protocol#644
2019-08-03 23:20:42 +00:00
greenkeeper[bot]
be7757b272 chore(package): update standard to version 13.0.1 2019-08-03 23:17:27 +00:00
Romain Beaumont
97da80d53a add gitpod config file 2019-08-03 23:02:44 +00:00
Romain Beaumont
b3faa54086
Make 1.14.4 the tested version of 1.14 major 2019-07-28 21:45:20 +02:00
Romain Beaumont
fbb1340033 add gitpod badge 2019-07-21 09:48:18 +00:00
Romain Beaumont
57717ed5ca
Make 1.14.3 the tested version of 1.14 major 2019-07-08 23:29:04 +02:00
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