* 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
* Initial 1.19.1/2 signed chat impl
* lint
* remove node 15 nullish operators
* fix undefined uuid error
* handle player left
* fix
* add some feature flags
* fix
* Fix test to use new client.chat() wrapper method
* refactoring
* corrections, working client example
* refactoring
* message expiry checking
* Fix UUID write serialization
* Remove padding from client login to match vanilla client
* Fix server verification
* update packet field terminology
* Add some tech docs
Rename `map` field in Pending to not conflict with Array.map method
* update tech doc
* lint
* Bump mcdata and pauth
* add doc on playerChat event, .chat function
* update doc
* use supportFeature, update doc
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
* 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.
* Add `beforeLogin` event on server
* optional function passin instead of emitted event
* Add documentation and bump version
* undo release push
* add test for `beforeLogin`
* make port discovery automatic
* try to use promise instead of promisify
* update java version
* add faster timeout
* increase timeout duration for server startup
* Update ci.yml
* update ram
* update java again
* Update clientTest.js
* actually skip online
* Update clientTest.js
* comment out
* fix comment
* properly await server data deletion
* fix serverTest for 1.17 with backwards compat
* add back dimension to login packet
* remove comment
* remove duplicated dimension in server test
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
* 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
* Add packet cycletests
* add mcPackets to deps
* Update and rename cycleTest.js to non-par-test.js
* Add exclude to npm run test for non par tests
* Add seperate job for non-par-tests
* fix indentation
* make tests non-parallel
* fix yml
* fix exclude pattern
* fix test matching
* Fix protocol not being updated for different mc versions
* dynamically get packets to test
* get rid of unused var
* rename non-par-test
* increase vanilla server ram in tests
* add more logs
* handle client error properly
* don't wait for chat to be sent back from the server to wait 10s in clientTest