Commit graph

29 commits

Author SHA1 Message Date
extremeheat
d7c5053a13
1.19.0 support (#1027)
* Bump mcdata for 1.19

* 1.19 in version.js

* 1.19.0 in ci yml

* Update ci.yml

* Update version.js

* Update package.json

* No fail fast

* Update mcdata

* Update package.json

* Update ci.yml

* [1.19] fix tests and library session code (#1020)

* make tests work, add todo's

* clean up, varlong test, additional todo

* removed log statements, fix for older versions

* Update mcdata

* Update ci.yml

* Update ci.yml

* remove excessive version comments near supportFeature checks

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>

* chat signing implementation

* Update ci.yml

* move some boilerplate to pauth

* update tests

* update chat example

* bump pauth, update doc

* modify test nextMessage func

* lint

* update default version

* add server player verifyMessage

* update doc

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
Co-authored-by: Rob9315 <dev.robk@gmail.com>
2022-08-16 00:57:26 +02:00
Jordan Jones
e079e9b0f6
Use offline mode as default authentication, fallback to offline mode if invalid option. (#998)
* 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.
2022-07-29 18:03:20 +02:00
Romain Beaumont
d4bc14a583
fix mc 1.18 (#934)
* use java 17 for mc 1.18

* increase timeout because 1.18 server is slow to boot

* add chunkBlockEntity value in packet test
2021-12-12 19:07:50 +01:00
Jordan Jones
4d5dbb118e
automatic port "discovery" for packets and server tests (#870)
* automatic port "discovery" for packets and server tests

* Semi-colon begone!

* move getport to commons file - u9g

* Merge code
2021-06-28 22:58:21 -04:00
u9g
75e5316e8b
make port discovery automatic & update java ver for 1.17 (#869)
* 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>
2021-06-29 00:27:37 +02:00
u9g
3813d4de7d
Make ci clearer as to what version is being tested (#861)
* Make ci clearer as to what version is being tested

* Update ci.yml

* fix

* fix
2021-06-13 04:54:16 +02:00
Romain Beaumont
99edabb716 update standard to version 15 2020-10-24 13:44:33 +00:00
Romain Beaumont
b7c5a45557
fix tests 2020-06-23 17:02:31 +02:00
Romain Beaumont
83a77be10b fix for latest standard 2019-08-20 22:14:37 +00:00
Romain Beaumont
8e5264dc52 fix lint for new standard version 2019-08-03 23:29:14 +00:00
Romain Beaumont
b5b500adf8
1.14 support (#628) 2019-05-20 01:46:02 +02:00
Romain Beaumont
0bd2e559bd
run standard 1.12 --fix 2018-09-24 22:08:11 +02:00
Romain Beaumont
761fe16f86
Improve test reliability and speed and move to circle ci 2
* 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
2018-08-26 04:54:17 +02:00
Romain Beaumont
465a98b989
end the client in all cases in clientTest.js
fix #535
2018-08-26 02:23:39 +02:00
Romain Beaumont
e3e0a26dfe
change codestyle to standard + enforce it with circle ci 2018-05-13 22:50:16 +02:00
Romain Beaumont
482a4ecffd
17w50a support 2018-01-01 21:01:23 +01:00
allain
137320489c using os.tmpdir() instead of '/tmp' since it's more portable 2017-08-28 10:13:59 -04:00
allain
b44e052f28 store minecraft jars in /tmp unless overriden by ENV variable 2017-08-27 21:55:42 -04:00
Romain Beaumont
79f82afb91
var -> const/let in examples and tests 2017-07-13 14:03:52 +02:00
Romain Beaumont
1a4d9f1e84
fix version checking bug with 1.12 and share vanilla server instance between tests 2017-06-19 15:28:24 +02:00
Romain Beaumont
b445e7fb94
fix kicking message in test for 1.12 2017-06-19 14:57:28 +02:00
Romain Beaumont
20dd0710f2 parallel circle ci testing of clientTest.js (#373) (#449)
parallel testing with circle ci, solve #373
2017-05-10 02:49:13 +02:00
Romain Beaumont
a55d2bc42c
produce a decent error when connecting with the wrong version 2017-03-12 12:23:13 +01:00
Romain Beaumont
9c089244b3
use a different data dir for each version in tests 2016-11-16 01:02:15 +01:00
Romain Beaumont
00b539d0c7 fix tests and fix #360 2016-02-23 19:37:47 +01:00
Romain Beaumont
6fb6b35cc5 disable online test for now
until we save the tokens or something like that, which bypass the mojang server limits
2016-02-20 17:18:56 +01:00
Romain Beaumont
a129d13cf1 use minecraftVersion in tests, stop if no varint in framer 2016-02-19 00:48:39 +01:00
Romain Beaumont
b2b53c9343 a few small changes to make the code better 2015-11-30 22:19:56 +01:00
Romain Beaumont
92b4b2bf8d split the tests in 3 files, fix #265 2015-10-02 02:02:54 +02:00