* Fix server_data payload sent to clients for versions 1.19+
Fixes#1362
Add missing fields to `server_data` payload for versions 1.19+.
* Add `motd` and `icon` fields to `server_data` payload for version 1.19.
* Add `motd`, `icon`, and `enforcesSecureChat` fields to `server_data` payload for version 1.19.2.
* Add `motd`, `icon`, and `enforcesSecureChat` fields to `server_data` payload for version 1.19.3.
* Add `motd`, `iconBytes`, and `enforcesSecureChat` fields to `server_data` payload for versions 1.19.4, 1.20, and 1.20.2.
* Add `motd`, `iconBytes`, and `enforcesSecureChat` fields to `server_data` payload for version 1.20.3.
* Add `motd` and `iconBytes` fields to `server_data` payload for version 1.20.5+.
* Use NBT components for `motd` if `chatPacketsUseNbtComponents` feature is supported.
* Convert `favicon` to buffer for `iconBytes` field if available.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/PrismarineJS/node-minecraft-protocol/issues/1362?shareId=XXXX-XXXX-XXXX-XXXX).
* add --retries 2
* lint, debug close event emit twice
* bail tests
* fix
* flaky test fix
* remove debug
* Update serverTest.js
* Fix NBT chat not being used for 1.20.3+ kicks
* Update createClient.js
* fix client.._supportFeature not being defined
* only nbt on the play state disconnect
* support 1.21.3
* Add bitflags, registryEntryHolder and registryEntryHolderSet types
* Fix spacing in compiler types
* Update compiler-minecraft.js
* Fix registryEntryHolderSet read code (#1351)
* Update ci.yml
* Fix test for 1.21.3 (#1353)
* Remove debug logging
* Fix benchmark tests for 1.21.3
* Start updating packetTest for 1.21.3
* Update packetTest.js with new types
* Fix minecraft-compiler
* Speedup tests by setting world type to flat and disabling structures.
* Didn't mean to commit that
---------
Co-authored-by: extremeheat <extreme@protonmail.ch>
Co-authored-by: Grooble <grooble.dierne@gmail.com>
* 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
* 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
* 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>
* 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
* 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
* 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