IceTank
1f4eb8655b
Release 1.36.1 ( #1036 )
2022-08-22 18:47:07 +02:00
Romain Beaumont
af31ece024
Release 1.36.0
2022-08-16 01:00:53 +02:00
extremeheat
d7c5053a13
1.19.0 support ( #1027 )
...
* Bump mcdata for 1.19
* 1.19 in version.js
* 1.19.0 in ci yml
* Update ci.yml
* Update version.js
* Update package.json
* No fail fast
* Update mcdata
* Update package.json
* Update ci.yml
* [1.19] fix tests and library session code (#1020 )
* make tests work, add todo's
* clean up, varlong test, additional todo
* removed log statements, fix for older versions
* Update mcdata
* Update ci.yml
* Update ci.yml
* remove excessive version comments near supportFeature checks
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
* chat signing implementation
* Update ci.yml
* move some boilerplate to pauth
* update tests
* update chat example
* bump pauth, update doc
* modify test nextMessage func
* lint
* update default version
* add server player verifyMessage
* update doc
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
Co-authored-by: Rob9315 <dev.robk@gmail.com>
2022-08-16 00:57:26 +02:00
Jordan Jones
60379eb7d2
Provide interface for using not at all supported alternative accounts. ( #1026 )
...
* Handle auth potentially being an function
* "Simple" example of how in theroy it would work
* Add package.json
* Fix lint
* add type declarations
* Remove mcleaks example
* Add doc changes
* adjust warning
* Fix lint from rebase manual edit.
2022-07-29 18:41:43 +02:00
Jordan Jones
e079e9b0f6
Use offline mode as default authentication, fallback to offline mode if invalid option. ( #998 )
...
* Default n-m-p to use offline unless specified.
* Remove expression
* actually make offline default
* Revert examples
* Revert all example changes
* Add deprecation warning that mojang servers are no longer accepting mojang auth tokens.
2022-07-29 18:03:20 +02:00
Romain Beaumont
e4c797d4d8
Release 1.35.1 ( #1024 )
...
* Update HISTORY.md
* Update package.json
2022-07-22 22:20:55 +02:00
IceTank
836675b5b2
Release 1.35.0
2022-06-06 11:53:14 -04:00
IceTank
9cb16b8b12
Update doc add listening
and close
events ( #1003 )
2022-06-06 11:51:28 -04:00
Matthias Neid
83f1e85480
allow false as beforePing callback result to ignore pings and terminate the connection ( #986 )
2022-05-15 00:51:18 +02:00
Matthias Neid
7a1d857602
Fallback version for dynamic versions ( #983 )
...
* added fallbackVersion to dynamic version support
* mark fallbackVersion as optional in docs
* added fallbackVersion to ping responses
* don't enable dynamic cross version support if version is undefined
2022-05-15 00:39:20 +02:00
IceTank
a9cc6cee85
Add motdMsg to createServer ( #996 )
...
* Add motd as MessageBuilder object
* Fix chatMessageMotd type
* Fix test (?)
* Update API.md
* Remove MessageBuilder dependency and type
* Minor code refactor
* Update docs/API.md
Co-authored-by: u9g <git@u9g.dev>
* chatMessageMotd => motdMsg
Co-authored-by: u9g <git@u9g.dev>
2022-05-13 18:49:08 -04:00
jojomatik
d641634fe9
Release 1.34.0 ( #988 )
...
* Update package.json
* Update HISTORY.md
2022-04-18 19:30:09 +00:00
Matthias Neid
ffe912b2fe
Export defaultVersion ( #984 )
...
* export defaultVersion
* added defaultVersion to api documentation
2022-04-13 13:50:42 +02:00
Romain Beaumont
2f27ad4028
Release 1.33.0 ( #981 )
...
* Update package.json
* Update HISTORY.md
2022-04-11 13:31:22 +02:00
Romain Beaumont
3bb93b6035
Release 1.32.2 ( #979 )
...
* Update package.json
* Update HISTORY.md
2022-04-10 15:18:09 +02:00
jojomatik
68e6400e30
fix: cross version ping ( #976 )
...
* docs: explain version parameter
Explain version parameter more explicitly. Remove reference to outdated versions. Describe dynamic cross version support with parameter value `false`.
* fix(types): allow `false` for version parameter
Allow value `false` for version parameter. This makes dynamic cross version support usable in typescript projects.
* fix: enable cross version support for ping
Enable dynamic cross version support for ping by responding with the client version and protocol version if dynamic cross version support is enabled.
2022-04-10 14:45:04 +02:00
Rob9315
9cff34efc0
Release 1.32.1 ( #973 )
2022-03-20 15:59:09 +01:00
Romain Beaumont
f1f9f5c310
Release 1.32.0 ( #971 )
...
* Update HISTORY.md
* Update package.json
2022-03-11 16:26:56 +01:00
Richard Dorian
f7ef27dd70
add protocolValidation field to server and client options ( #964 )
...
* add protocolValidation field to server and client options
* add doc
* change option name
2022-03-08 15:40:57 +01:00
Romain Beaumont
ef7d0332d9
Release 1.31.0 ( #968 )
...
* Update package.json
* Update HISTORY.md
2022-03-01 22:46:15 +01:00
Romain Beaumont
9e94d9d901
1.18.2 ( #967 )
...
* Update README.md
* Update version.js
* Update ci.yml
2022-03-01 22:44:50 +01:00
Romain Beaumont
3a1561b7c8
explicit 1.18.1 support
2022-01-22 17:10:01 +00:00
Pronin Egor
2125ad0543
docs(readme): add SteveProxy to projects list ( #948 )
2022-01-20 17:43:16 +01:00
Romain Beaumont
04092ed2ff
Release 1.30.0 ( #946 )
...
* Update HISTORY.md
* Update package.json
2021-12-26 15:59:58 +01:00
IceTank
fadf5ea9cd
Session doc fix ( #937 )
...
* Fix session usage in API.md
* Grammer fix
* Update to include selectedProfile
* Update api.md with selectedProfile
* update session typings
2021-12-26 15:53:25 +01:00
Richard Dorian
bde8cd2818
favicon
now include in types (#938 )
2021-12-26 15:52:52 +01:00
extremeheat
52dc13c0f1
Release 1.29.1 ( #939 )
2021-12-18 22:21:36 -05:00
Romain Beaumont
d4208b2070
Release 1.29.0
2021-12-11 02:15:07 +01:00
Romain Beaumont
e1db56a32d
1.18 support ( #930 )
...
* update mcdata
* Update version.js
* Update ci.yml
* Update README.md
* Update version.js
2021-12-11 02:12:07 +01:00
Romain Beaumont
6095c81a34
Release 1.28.1
2021-12-02 23:27:41 +00:00
Romain Beaumont
d0a504f5db
reorganize readme
2021-11-21 00:35:48 +01:00
extremeheat
8ff8ddcef5
Release 1.28.0 ( #924 )
2021-11-14 13:00:53 +01:00
Oscar
809c226c02
Fixed typo's ( #915 )
2021-11-04 16:20:56 -04:00
Ghqst
9813670271
Add the ability to send a fake hostname in set_protocol ( #913 )
...
* 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
* Add fakeHost to client options
* Reorder index.d.ts
* Fix me forgetting options.fakeHost instead of just fakeHost
Co-authored-by: u9g <43508353+u9g@users.noreply.github.com>
2021-11-04 16:19:32 -04:00
Romain Beaumont
78f68d1ff9
Release 1.27.2
2021-11-03 23:24:39 +00:00
Romain Beaumont
17c9e6e4d2
Release 1.27.1
2021-11-03 00:28:01 +00:00
Romain Beaumont
562389b465
Release 1.27.0
2021-11-03 00:15:52 +00: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
u9g
655ecbd2a9
Release 1.26.5 ( #899 )
2021-08-23 14:49:21 -04:00
u9g
634eab0ba1
Release 1.26.4 ( #896 )
2021-08-21 17:42:29 -04:00
u9g
e264347c61
Release 1.26.3 ( #894 )
2021-08-21 13:53:41 -04:00
u9g
8847bd5cfd
Release 1.26.2 ( #892 )
2021-08-21 19:24:41 +02:00
Romain Beaumont
4dc08372c8
Release 1.26.1
2021-08-14 00:34:33 +00:00
Romain Beaumont
493478858b
Release 1.26.0
2021-08-13 23:31:36 +00: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
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
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
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
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
Romain Beaumont
61789bbea9
Release 1.25.0 ( #844 )
...
* Update HISTORY.md
* Update package.json
2021-04-08 02:33:02 +02:00
u9g
bdf792c534
Release 1.24.2 ( #831 )
...
* Release 1.24.2
* Update HISTORY.md
2021-03-26 23:59:37 +01:00
Romain Beaumont
192e08cd3b
Release 1.24.1
2021-03-22 14:01:13 +01:00
Romain Beaumont
7a2fee1b05
Release 1.24.0
2021-03-20 22:33:42 +00:00
extremeheat
eaed25f497
Fix msa caching bug ( #825 )
2021-03-20 23:28:22 +01:00
Romain Beaumont
e56355a508
Release 1.23.3
2021-03-13 01:39:46 +00:00
Romain Beaumont
e9cb2ffbd7
Release 1.23.2
2021-03-01 23:34:32 +00:00
Romain Beaumont
34e59fd88e
Release 1.23.1
2021-02-06 10:05:50 +00:00
Romain Beaumont
5344f59b52
Release 1.23.0
2021-01-30 00:26:01 +00:00
extremeheat
8f2a027812
Msa device code auth ( #806 )
...
* initial msa work
* rm debug code
* Update package.json
* lint, seperate constants, create missing msa cache
* support multiple profiles
* lint
* use shared constants
* fix path issues
* fix token variable
* fix caching msa profile data
* switch clientId to one from microsoft
* store caches in .minecraft, fallback to dev code auth when user+pass fails
* update electron demo, fix error handling, add docs
* fix caching dir
* fix lint
* move to class scope, token fixes
* retry on fail, terminology fixes
* fix promise bug
* cleanup
2021-01-30 01:21:03 +01:00
Romain Beaumont
78aa3d1b6a
Release 1.22.0
2020-12-28 01:45:46 +00:00
Romain Beaumont
2843f60e44
Release 1.21.0
2020-12-12 01:15:31 +00:00
Jordan Jones
5d723e9a04
Integrate Authentication for Microsoft Accounts ( #788 )
...
* add node-fetch and @xboxreplay/xboxlive-auth for microsoft/xbox auth
* decide which authentication to use based on options;
if options.auth === 'microsoft' then use microsoft/xbox auth, else use Yggdrasil until they kill that.
* push working auth
* commentary
* eslint does not like me :(
* User-Agent works just fine without version
* linting = 95% of development
* revert changes to encrypt.js
* set haveCredentials to whether or not we have a token.
Technically this will always be true so...?
* eslint
* mod+create: api + example
* mod: readme.md
2020-12-11 21:30:48 +01:00
Romain Beaumont
47d96936f5
Release 1.20.2
2020-12-06 18:49:45 +01:00
Romain Beaumont
011b6a189a
Revert "Revert "Add token authentication ( #780 )""
...
This reverts commit 14c4886ac4
.
Adds back token auth now that mineflayed is fixed
2020-12-06 18:48:52 +01:00
Romain Beaumont
0ac19142c0
Release 1.20.1
2020-12-06 01:58:53 +01:00
Romain Beaumont
14c4886ac4
Revert "Add token authentication ( #780 )"
...
This reverts commit 0277091ddc
.
This commits introduced a bug in offline mode.
We don't know yet how to fix it, so better revert first and fix later
2020-12-06 01:57:40 +01:00
Romain Beaumont
7be60af77d
Release 1.20.0
2020-12-05 22:32:55 +00:00
ph0t0shop
0277091ddc
Add token authentication ( #780 )
...
* Add token authentication
* Update package.json
* Update src/client/auth.js
Co-authored-by: David Duarte <deltaduartedavid@gmail.com>
* Remove some deps
* Fix merge conflict + fix some token stuff
* Fix even more stuff + testing
* Change back echo example
* Let -> const + bugfix
* Fixed error handling
* Revert client_echo again...
* Fix linter errors
* Profile improvements
* Stupid linter errors
* Update yggdrasil, remove token auth example, move to client_echo instead
* Update client_echo
* Linter error...
Co-authored-by: David Duarte <deltaduartedavid@gmail.com>
2020-12-05 23:28:12 +01:00
Romain Beaumont
5d80168f20
Make 1.16.4 the tested version ( #773 )
2020-11-02 20:46:03 +01: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
redcarti
0881d85577
client.end with full reason ( #771 )
...
* init
* updated docs
2020-10-25 14:25:44 +01: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
3c626cbcb4
Release 1.15.0
2020-08-03 01:50:10 +02:00
Romain Beaumont
edece010bb
add auth and session server to doc
2020-08-03 01:48:23 +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
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
cbef0f331f
switch to 1.16
2020-06-23 17:10:22 +02:00
Romain Beaumont
2da46e1f35
fix clientbound usage of chat and login for 1.16
2020-06-23 16:52:18 +02:00
Romain Beaumont
a7a7b5c7e2
Add 1.16-rc1 support
...
add topBitSetTerminatedArray native type
2020-06-23 03:28:14 +02:00
Romain Beaumont
3c2bf84d72
fix sidebar
2020-06-22 15:21:41 +02:00