Romain Beaumont
562389b465
Release 1.27.0
2021-11-03 00:15:52 +00:00
Romain Beaumont
f777f8b8f7
Implement Prismarine-Auth ( #884 ) ( #917 )
2021-11-03 01:13:40 +01:00
IceTank
4dfe9e5f87
release-1.26.6 ( #916 )
2021-11-01 17:28:23 +01:00
Ghqst
e305bbdf5c
Improve Typescript definitions and API.md ( #888 )
...
* Update index.d.ts to more closely match API.md
* Update to fit more in line with my API.md
Reorder things for my additions and reorders in API.md
* Update API.md from index.d.ts
* Explain writeChannel
* Clarified on all TODOs
Co-authored-by: u9g <43508353+u9g@users.noreply.github.com>
2021-09-24 17:07:14 +02:00
David Duarte
d9d01c8be4
Lazily generate serverKey ( #907 )
2021-09-18 23:06:20 +02:00
u9g
3be9acad8c
Add ended to typings ( #904 )
2021-09-12 16:42:31 +02:00
u9g
97b94e0593
Make all events have promiselike returns for async ( #903 )
2021-09-03 18:54:32 +02:00
u9g
f0138a5068
Make examples work for 1.17.1 ( #902 )
...
* Make examples work for 1.17.1
* Update server_channel.js
* Update server_custom_channel.js
* Update server_helloworld.js
* Update mc.js
2021-09-03 18:52:47 +02:00
u9g
655ecbd2a9
Release 1.26.5 ( #899 )
2021-08-23 14:49:21 -04:00
u9g
6138db569a
Update Online Mode Exceptions ( #898 )
2021-08-23 14:46:45 -04:00
u9g
634eab0ba1
Release 1.26.4 ( #896 )
2021-08-21 17:42:29 -04:00
u9g
05e6e12ef4
Add once events for all emitted events ( #895 )
...
* Add once events for all emitted events
* fix spelling
2021-08-21 17:39:32 -04:00
u9g
e264347c61
Release 1.26.3 ( #894 )
2021-08-21 13:53:41 -04:00
u9g
e9f0fbe3fb
Small typings fix ( #893 )
2021-08-21 13:51:47 -04:00
u9g
8847bd5cfd
Release 1.26.2 ( #892 )
2021-08-21 19:24:41 +02:00
u9g
31bd5d295e
add missing types ( #891 )
...
* Export id on a new interface for servers
* add compressionThreshold
2021-08-21 13:10:58 +02:00
Romain Beaumont
4dc08372c8
Release 1.26.1
2021-08-14 00:34:33 +00:00
Romain Beaumont
8c964b15f6
Revert "Implement Prismarine-Auth ( #884 )"
...
This reverts commit 9eb61223cf
.
2021-08-14 00:33:59 +00:00
Romain Beaumont
493478858b
Release 1.26.0
2021-08-13 23:31:36 +00:00
Jordan Jones
9eb61223cf
Implement Prismarine-Auth ( #884 )
...
* remove require-self as dependency
* Working Changes
* Working Changes
* fix(lint)
* Remove unnecessary code
* Use live prismarine-auth package
* Remove unused modules
* cleanup
* upgrade minecraft-data to latest
* Address extremeheat's comments
* Don't check if profileFolder is set to false
* Use updated library
* Update variables
* move option to parameter of function
* upgrade to latest prismarine-auth
* fix cache path
* fix cache path
2021-08-14 01:22:19 +02:00
Romain Beaumont
d1b6fd8867
fix typo
2021-08-08 14:31:25 +02:00
Romain Beaumont
428e3ca9bd
add link to github dependents
2021-08-08 14:31:10 +02:00
Sceat
c06379daff
Add aresrpg as a project using NMP ( #887 )
...
Also capitalize other projects description
2021-08-08 14:30:09 +02:00
circuit10
b8de621843
Improve info about pakkit and minecraft-packet-debugger ( #880 )
...
* Improve info about pakkit and minecraft-packet-debugger
* Fix typos
2021-08-08 00:17:11 +02:00
circuit10
3c63cd17ba
Update API.md ( #883 )
2021-08-01 13:40:42 -04:00
Shayne Hartford
0d426ef83a
Update index.d.ts ( #878 )
...
* Update index.d.ts
Add listening event to Server class
* Update index.d.ts
2021-07-28 00:16:48 +02:00
Jakob-Niklas See
d0ccff6c80
Typings: Update to match the implementation more closely ( #877 )
2021-07-20 14:55:52 +02:00
Romain Beaumont
80f2c13458
Make 1.17.1 the default
2021-07-18 18:37:58 +02:00
u9g
014635f772
Explicitly add 1.17.1 support ( #876 )
...
* Explicitly add 1.17.1 support
* Update ci.yml
* Update README.md
2021-07-18 18:36:33 +02:00
Rob9315
78f038cae6
Add beforeLogin
function option on server ( #871 )
...
* Add `beforeLogin` event on server
* optional function passin instead of emitted event
* Add documentation and bump version
* undo release push
* add test for `beforeLogin`
2021-07-06 12:42:00 +02:00
dependabot[bot]
ac099c1d31
Bump @types/node from 15.14.1 to 16.0.0 ( #873 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.14.1 to 16.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 16:40:44 -04:00
Jordan Jones
4d5dbb118e
automatic port "discovery" for packets and server tests ( #870 )
...
* automatic port "discovery" for packets and server tests
* Semi-colon begone!
* move getport to commons file - u9g
* Merge code
2021-06-28 22:58:21 -04:00
u9g
75e5316e8b
make port discovery automatic & update java ver for 1.17 ( #869 )
...
* make port discovery automatic
* try to use promise instead of promisify
* update java version
* add faster timeout
* increase timeout duration for server startup
* Update ci.yml
* update ram
* update java again
* Update clientTest.js
* actually skip online
* Update clientTest.js
* comment out
* fix comment
* properly await server data deletion
* fix serverTest for 1.17 with backwards compat
* add back dimension to login packet
* remove comment
* remove duplicated dimension in server test
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-06-29 00:27:37 +02:00
James Galbraith
fd174189a1
Make cache path creation recursive ( #857 )
2021-06-28 23:32:15 +02:00
AngeryFrog
da4f293860
Mc.ping return a promise and use callbacks ( #849 )
...
* Added promised based ping
* made it possible too use both promises and callbacks
* Forgot too mention the callback is optional
* Tests
* Promisify the ping function
2021-06-19 22:03:26 +02:00
Romain Beaumont
aac922dd3d
Make 1.17 explicitly tested ( #866 )
...
* Make 1.17 explicitly tested
* update readme
2021-06-17 00:05:04 +02:00
u9g
5d5d76f35d
try to fix tests working per version ( #867 )
...
* try to fix tests working per version
* fix nonpartests
* fix
2021-06-16 23:58:20 +02:00
circuit10
66f17e43eb
Fix slightly malformed chunk in example ( #864 )
2021-06-16 22:50:41 +02:00
Lupa
63846c6c15
Add setSocket to Typings ( #858 )
...
* setSocket is missing in typings
* Fix lint
* Better descriptive name
2021-06-16 22:49:04 +02:00
dependabot[bot]
c9a6484a09
Bump mocha from 8.4.0 to 9.0.0 ( #860 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 22:45:45 +02:00
u9g
3813d4de7d
Make ci clearer as to what version is being tested ( #861 )
...
* Make ci clearer as to what version is being tested
* Update ci.yml
* fix
* fix
2021-06-13 04:54:16 +02:00
Grooble
1796b9693d
Add a way to encode a packet only once and send it to multiple clients ( #851 )
...
* Added Server#.writeToClients()
* Documented server.writeToClients()
* Added test for Server#writeToClients()
* Bad arguments for Promise.all()
* Fixed tests
* Fixed tests
* Fixed tests
* Updated tests
* Reverted timeout to the normal
2021-05-02 01:12:37 +02:00
dependabot-preview[bot]
d22595021b
Bump @types/node from 14.14.43 to 15.0.1 ( #853 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.43 to 15.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-02 01:07:10 +02:00
dependabot-preview[bot]
4d0135f186
Upgrade to GitHub-native Dependabot ( #854 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-02 01:03:36 +02:00
u9g
50af73c912
Fix mcdata in deps ( #850 )
2021-04-20 12:27:32 +02:00
u9g
6df20541b4
Add snapshot 21w07a
support ( #838 )
...
* Add snapshot `21w07a` support
* Update package.json
* Update version.js
* Update ci.yml
* update mcdata
* Update README.md
* Update mcdata
* Add 21w07a to tested versions
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-04-16 22:56:39 +02:00
IceTank
ebbd93f2b6
Added README and more error Handling to client_socks_proxy example ( #846 )
...
* Added README and more error Handling to client_socks_proxy example.
* Lint fixing
2021-04-11 23:15:15 +02:00
Moondarker
f509095bd2
launcher_accounts.json account corruption fix ( #845 )
...
* launcher_accounts.json account corruption fix
* Prevent MS accounts from being removed if option.auth is not specified
2021-04-11 23:14:19 +02:00
Nihat
4a85609902
Update remove color regex in ping.js ( #848 )
2021-04-11 23:13:06 +02:00
Nihat
6987c3aff6
Create ping.js example ( #847 )
2021-04-11 22:55:53 +02:00