extremeheat
495eed56ab
Update doc ( #1300 )
...
* Update README.md
* Update index.d.ts
2024-05-22 02:12:48 -04:00
William Gaylord
ccab9fb396
Fix handling of disconnect in versionChecking on 1.20.3+. ( #1291 )
...
* Fix handling of disconnect in versionChecking on 1.20.3+. Also handle newer translate string used in 1.20.2+
* Comments why we ignore PLAY and CONFIGURATION state disconnects, and un-inline an if
* Add extra comment on why we are ignoring those states.
* Change bitwise or to logical or
2024-03-17 15:52:25 +01:00
rom1504bot
e50b604a60
Release 1.47.0 ( #1288 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-26 01:20:24 +01:00
William Gaylord
1d9a38253a
1.20.3 / 1.20.4 support ( #1275 )
...
* Inital 1.20.3 update, bring in minecraft-data with 1.20.3 support and add it to the versions
* Add data for packetTest for explosion packet.
* Add 1.20.4 to version list.
* Add fix for 1.20.3+ NBT isntead of strings for chat. Not happy with this but it does work.
* Fix linting
* Update version.js
Remove 1.20.3 since its the same as 1.20.4. (As suggested)
* Comment how handleNBTStrings works.
* Removed debug console.log
* Update README.md
* chat packet nbt handling fix, use feature
* big endian UUID, add back `text` wrapper
* use prismarine-chat in client test
* expose _handleNbtComponent
* use prismarine-chat exposed processNbtMessage
* fix pre-1.20.4
* Update package.json
* Update server.js
* Update server.js
add missing import
* update server hello world
---------
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
2024-02-26 01:14:49 +01:00
rom1504bot
f97a2367ba
Release 1.46.0 ( #1285 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-11 16:09:25 +01:00
extremeheat
85a26a5294
Ensure onReady
in client is called once ( #1287 )
...
Fix https://github.com/PrismarineJS/node-minecraft-protocol/issues/1286
Server sending start_config packets will incorrectly cause onReady to call multiple times
2024-02-11 15:55:15 +01:00
William Gaylord
092e10c53d
Acknowledge returning to configuration state if in play state. ( #1284 )
...
* Acknowledge returning to configuration state if in play state.
* Fix packet spelling
2024-02-04 00:07:30 +01:00
forester302
21240f8ab2
Allow commands not to be signed ( #1277 )
2024-01-01 11:24:49 +01:00
Romain Beaumont
80d038bd61
Add test to make sure version that are tested are mentioned in the RE… ( #1276 )
...
* Add test to make sure version that are tested are mentioned in the README
* fix lint
2023-12-30 23:42:17 +01:00
Romain Beaumont
614be919d0
Print if there is a diff in packets in the cycle packet test ( #1273 )
2023-12-29 23:11:31 +01:00
Romain Beaumont
ccaf538ffd
Align supported versions with mineflayer ( #1272 )
2023-12-29 21:49:42 +01:00
rom1504bot
eaf4c2e003
Release 1.45.0 ( #1270 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-28 00:51:49 +01:00
extremeheat
112926da0c
Pc1.20.2 ( #1265 )
...
* Initial changes for 1.20.2
* add NBT serialize tag type handling
* update tests
* Update pnbt and mcdata for nbt change
* lint
* fix wrong param to sizeOfNbt
* fix dupe NBT types
* move nbt logic to prismarine-nbt
* update tests
* update tests
* disable protodef validator in pluginChannel
* Fix state desync
* dump loginPacket.json in test output
* enable validation
* remove testing line in ci.yml
* update pnbt to 2.5.0
* update doc for `playerJoin`
* Update serializer.js
* update examples
* lint
* disable client bundle handling if bundle becomes too big
* Update client.js
* bump mcdata
* add soundSource and packedChunkPos example test values
---------
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2023-12-28 00:48:10 +01:00
Romain Beaumont
1740124c47
Improve CI setup for per version tests ( #1267 )
...
* Improve CI setup: move lint out of per version
* fix
* Simplify go back to all per version.
* refactor cycle test to use supported versions
* fix cycle packet test
* Add v to version to avoid 1.19 running every 1.19 minor.
* Add quotes.
* Use versions from js file in ci.yml
* Fix ci.yml syntax.
* Fix matrix read.
* fix
* fix
* fix gitignore
2023-12-28 00:12:23 +01:00
Vitaly
9e99109476
Allow to create custom client & communication between clients ( #1254 )
...
* allow to create custom client & communication between client
* pass client context
* customClient should not be required
* allow to override Server impl to use
* better docs & typings
* refactor: add new client class for customCommunication
* fix doc
* move custom client to prismarine web client
* restore customPackets
2023-12-27 16:34:45 +01:00
Ynfuien
066a2b3646
Fixed 'unsignedContent' field using nonexistent 'packet.unsignedContent' when emitting 'playerChat' event. ( #1263 )
2023-12-27 16:32:42 +01:00
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