u9g
f42dacabc4
don't change dep order
2024-11-12 16:42:35 -05:00
u9g
bcaabebf8f
add types to serverKey in server
2024-11-12 16:40:15 -05:00
dependabot[bot]
590dc33fed
Bump @types/node from 20.16.15 to 22.7.9 ( #1345 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.16.15 to 22.7.9.
- [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>
2024-10-27 21:29:40 +01:00
rom1504bot
89de052d44
Release 1.50.0 ( #1346 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-26 23:54:20 +02:00
Grooble
5bebac3662
1.21 Support ( #1342 )
...
* Update default version
* Update README
* 1.21.1
* Update version.js
* Update ci.yml
* Update version.js
* add values for vec2f and ChatTypes
* fix lint
* fix server tests
* fix lint
* update mcdata
* remove debug install
---------
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2024-10-26 23:52:46 +02:00
rom1504bot
11e8594bb4
Release 1.49.0 ( #1339 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-13 01:09:14 +02:00
Romain Beaumont
0b0012d60f
support 1.20.6 ( #1338 )
...
* support 1.20.6
* change default version
* bump mcdata
* update mcdata
2024-10-13 01:08:18 +02:00
rom1504bot
81d7c71c93
Release 1.48.0 ( #1336 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-13 00:00:06 +02:00
extremeheat
9b029e8b6f
1.20.5 ( #1309 )
...
* 1.20.5
* update examples
* Update for 1.20.5 chat_command_signed with seperateSignedChatCommandPacket feature
* updates
* update java
* re-enable packet tests
* Update client.js
add debug code after decompress
* Update client.js
* Update ci.yml
* Add `arrayWithLengthOffset` type to interpeter
* Update minecraft.js
* Update compiler-minecraft.js
* Update minecraft.js
* lint
* remote custom ci install
* Update package.json
* Update packetTest.js add Slot, SlotComponent
* Update packetTest.js
* Update packetTest.js
* Fix lint.
* Fix declare_recipes, Slot
* Update package.json
---------
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2024-10-12 23:55:36 +02:00
extremeheat
7057ad979b
Fix realms loading issue due to createClient plugin init order ( #1303 )
...
* Fix realms loading issue due to createClient plugin init order
* remove exception on bad parse of disconnect
* Update index.d.ts
* Improve serverTest check logic
try and debug flaky tests
2024-07-13 23:03:33 +02:00
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