Commit graph

1535 commits

Author SHA1 Message Date
IceTank
788bff2890
Add chat typing to client (#1260) 2023-12-17 19:08:24 +01:00
Evan Goode
0ac8c087a2
chat: Only sign command args when profile keys defined (#1257) 2023-12-17 17:57:34 +01:00
rom1504bot
827b6cdb61
Release 1.44.0 (#1250)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-05 15:27:09 +02:00
Lucas Wilson
41f9e4ac4a
Send chat commands as chat commands instead of chat messages for 1.19.3-1.20.1 (#1241)
* Add fields required for 1.19.3-1.20

* Send chat_command if msg starts with /

* Create separate block for useChatSessions

* Extract acknowledgements to function

* Set messageCount to pending

* Handle useChatSessions for chat commands

* Zero pending on chat command

* Sign with acknowledgements
2023-08-05 15:21:26 +02:00
PondWader
35b2aa536a
Fix end bundle bundle_delimiter packet not being emitted (#1248) 2023-07-29 10:34:36 +02:00
dependabot[bot]
94b9c228b0
Bump @types/readable-stream from 2.3.15 to 4.0.0 (#1247)
Bumps [@types/readable-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/readable-stream) from 2.3.15 to 4.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/readable-stream)

---
updated-dependencies:
- dependency-name: "@types/readable-stream"
  dependency-type: direct:production
  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>
2023-07-29 10:27:33 +02:00
Micha
cc9aa94161
fix broken link (#1243)
* fix broken link

* Update README.md

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-07-22 14:59:37 +02:00
Romain Beaumont
1a4cfa7f5e
Add command gh workflow allowing to use release command in comments (#1244) 2023-07-22 14:39:59 +02:00
Frej Alexander Nielsen
2e45c7f4ab
Release 1.43.2 (#1239)
* Update package.json

* Update HISTORY.md
2023-07-16 20:34:44 +02:00
Frej Alexander Nielsen
5a64f14359
Fix client sending chat_session_update when local UUID does not match UUID on server (#1237)
Co-authored-by: Frej Alexander Nielsen <frej@valoks.com>
2023-07-14 22:21:06 +02:00
Romain Beaumont
05e5a701f0
Release 1.43.1 (#1235)
* Update HISTORY.md

* Update package.json
2023-06-27 13:21:17 +02:00
Romain Beaumont
fa0116386b
Temporarily make node 18 not required in package.json 2023-06-27 13:20:01 +02:00
Romain Beaumont
f404b8d94b
Release 1.43.0 (#1234)
* Update package.json

* Update HISTORY.md
2023-06-24 21:12:42 +02:00
PondWader
960df173cc
1.20 (#1232)
* 1.20

* Add 1.20 to README

* bump mcdata

* clean

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-24 21:09:41 +02:00
extremeheat
38e7914cc5
Fix test for entityMetadata on 1.19.4 (#1231)
* Fix test for entityMetadata on 1.19.4
A field type was changed from int to a  named enum

* oops

* fix timing
2023-06-23 22:01:35 +02:00
Romain Beaumont
6579b0b564
Add 1.19.4 to readme 2023-06-04 09:41:39 +02:00
Augustin Mauroy
1376cf6a31
chore(runtime): use LTS V18 (#1224)
* chore(runtime): use LTS V18

* chore(workflows): update

* remove usage `node:`

* Update packetTest.js

* Update client.js

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-03 23:17:27 +02:00
Romain Beaumont
1af5a36fb0
Release 1.42.0 2023-06-03 22:09:51 +02:00
Romain Beaumont
2f4485d528
Release 1.42.0 2023-06-03 21:57:10 +02:00
extremeheat
2718bc64c0
1.19.4 (#1226)
* Rename 'session' (packet) to chat_session_update to fix auth event conflict

* impl packet "bundle" grouping, add client.writeBundle(packets)

* fix handling, test

* test 1.19.4

* 1.19.4 test ci

* test ci against mcdata fork

* lint

* fix delim

* fix 1.19.3 being skipped

* Update ci.yml

* Update package.json

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-06-03 21:54:31 +02:00
andriycraft
a32a1cf478
Improve code style of examples in README.md (#1227) 2023-06-03 21:32:19 +02:00
extremeheat
d643d40415
reapply on master (#1067) 2023-05-28 10:28:56 +02:00
IceTank
d9e37e3d76
Add ipc connection option for servers (#1113)
* Add ipc connection option for servers

* Fix linting error
2023-05-20 15:03:55 +02:00
XHawk87
d6b18b1dad
Typo in "cypher" property check. Fixes #1106 (#1107) 2023-05-20 14:58:38 +02:00
Hitesh. V
ab9aaac971
Update _sidebar.md (#1103)
Updated the outdated link to working link
2023-05-20 14:55:38 +02:00
Artur Khusainov
0134f1599f
Fix plugin channels support (#1096)
* fix custom channel registation

* update channel examples

* use actual protocol version

* update custom channel examples

* use default host & port

* select channel name based on the feature set
2023-05-20 14:44:03 +02:00
dependabot[bot]
0625b29d52
Bump @types/node from 18.16.13 to 20.2.1 (#1203)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.13 to 20.2.1.
- [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>
2023-05-20 13:40:24 +02:00
Romain Beaumont
6f57eb90d5
Delete CNAME 2023-04-05 21:40:34 +02:00
Frej Alexander Nielsen
70aee3d494
1.19.3 chat fixes (#1093)
Co-authored-by: Frej Alexander Nielsen <frej@valoks.com>
2023-03-24 23:29:03 +01:00
Frej Alexander Nielsen
f52ab55ef9
Release 1.41.2 (#1091)
* Update package.json

* Update HISTORY.md
2023-03-24 23:28:19 +01:00
Frej Alexander Nielsen
9c767a0b33
Fix client attempting to sign messages on offline servers (#1090)
Co-authored-by: Frej Alexander Nielsen <frej@valoks.com>
2023-03-06 08:57:23 +01:00
Frej Alexander Nielsen
266a865982
Fix client sending session packet while server is in login state (#1089)
* Fix client sending session packet while server is in login state

* Fix lint

---------

Co-authored-by: Frej Alexander Nielsen <frej@valoks.com>
2023-03-02 19:24:55 +01:00
extremeheat
49d218b08c
Release 1.41.1 (#1088)
* Update package.json

* Update HISTORY.md
2023-02-27 21:25:50 +01:00
extremeheat
7a9cfdb3ec
Revert "Fix client sending chat_session packet before server state transition (#1081)" (#1084)
This reverts commit 90d4143358.
2023-02-27 21:21:35 +01:00
Romain Beaumont
3974c503e4
Release 1.41.0 (#1082)
* Update HISTORY.md

* Update package.json
2023-02-20 00:01:10 +01:00
Frej Alexander Nielsen
90d4143358
Fix client sending chat_session packet before server state transition (#1081)
* Fix client sending session packet when server is in offline mode

* Don't send chat session packet before server is in play state

* Fix lint

---------

Co-authored-by: Frej Alexander Nielsen <frej@valoks.com>
2023-02-19 23:59:18 +01:00
Frej Alexander Nielsen
45ea82a7dc
Fix client sending session packet when server is in offline mode (#1080)
Co-authored-by: Frej Alexander Nielsen <frej@valoks.com>
2023-02-18 20:12:41 +01:00
Frej Alexander Nielsen
c0877b003e
Catch errors in custom payloads (#1078)
* Catch errors in custom payloads

* Prevent uncatchable error when server sends invalid chat

* Fix lint
2023-02-08 21:44:35 +01:00
Romain Beaumont
a8caf83ea7
Release 1.40.3 (#1077)
* Update package.json

* Update HISTORY.md
2023-01-27 23:19:57 +01:00
Frej Alexander Nielsen
e3e20757ef
Use consistent parameter naming for systemChat event (#1076)
* Use consistent parameter naming for systemChat event

* Update docs

* Update types
2023-01-27 01:01:47 +01:00
Romain Beaumont
84bd97c3cb
Release 1.40.2 (#1075)
* Update HISTORY.md

* Update package.json
2023-01-23 22:11:50 +01:00
Prosciuttino
d55c498482
Small chat.js fix (#1074) 2023-01-23 22:08:28 +01:00
Frej Alexander Nielsen
b72cb89fc7
Release 1.40.1 (#1072) 2023-01-22 21:28:31 +01:00
Frej Alexander Nielsen
da85ee369e
Fix offline mode (#1071) 2023-01-22 20:09:58 +01:00
Romain Beaumont
046e3423e3
Add 1.19.3 in list of versions in readme 2023-01-22 17:41:21 +01:00
Romain Beaumont
995797f587
Release 1.40.0 (#1070)
* Update HISTORY.md

* Update package.json
2023-01-21 23:16:46 +01:00
Frej Alexander Nielsen
cf1f67117d
Update to 1.19.3 (#1069)
* Add 1.19.3 player_info parsing

* player_remove packet parsing

* 1.19.3 chat parsing

* Outgoing chat for 1.19.3

* Fix lint

* Server chat validation

* add 1.19.2 and 1.19.3 in version.js

* Add 1.19.2 and 1.19.3 in ci.yml

* Deprecated client.verifyMessage for server clients

* Update docs

* Deprecate client.verifyMessage for server clients

* Fix tests

* Fix lint

* Fix packetTest

* Fix test

* Remove unneeded log statement

* Update types/docs

* Remove unnecessary feature check

* Remove _session from docs

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-01-21 20:31:17 +01:00
Frej Alexander Nielsen
92a5219915
Add more fields to playerChat event (#1068)
* Add sender and target name to playerChat event

* Update docs

* Update docs

* Remove unnecessary displayName parsing
2023-01-20 22:09:35 +01:00
Romain Beaumont
c9e900d442
Release 1.39.0 (#1066)
* Update HISTORY.md

* Update package.json
2023-01-19 01:28:25 +01:00
Frej Alexander Nielsen
2164732844
Use non-zero salt (#1064) 2023-01-18 21:11:15 +01:00