Commit graph

954 commits

Author SHA1 Message Date
Romain Beaumont
4d99e1a00c add minecraft-protocol-forge plugin to README 2016-02-12 14:41:47 +01:00
Romain Beaumont
9783ae7074 Merge pull request #344 from deathcap/chatextra
Fix client_chat example extra array iteration. Closes GH-343
2016-02-10 11:21:26 +01:00
deathcap
a807bdd872 Fix client_chat example extra array iteration. Closes GH-343 2016-02-09 20:30:40 -08:00
Romain Beaumont
d93c0da39d Merge pull request #342 from PrismarineJS/greenkeeper-update-all
Update all dependencies 🌴
2016-02-09 15:40:55 +01:00
greenkeeperio-bot
8734de4f61 chore(package): update dependencies
http://greenkeeper.io/
2016-02-09 15:36:15 +01:00
Romain Beaumont
119d485fb1 Merge pull request #326 from deathcap/forge
Forge client support (support integrating with node-minecraft-protocol-forge)
2016-02-07 09:33:00 +01:00
Romain Beaumont
77d4583d06 Merge pull request #340 from deathcap/connection-lost
Log when connection lost in client_echo example
2016-02-07 09:19:23 +01:00
deathcap
dc9768eaf5 autoVersion plugin: add hooks to allow Forge/FML to extend this plugin 2016-02-07 00:08:53 -08:00
deathcap
cc73c2de24 Remove unrelated change to client_echo 2016-02-07 00:08:12 -08:00
deathcap
91f7e23338 Log when connection lost in client_echo example 2016-02-07 00:05:55 -08:00
deathcap
9423a2329d Move tagHost from options to client object
Ref https://github.com/PrismarineJS/node-minecraft-protocol/issues/338
Move all the plugin-mutable options to client
2016-02-06 23:31:10 -08:00
deathcap
d059f23f90 Move Forge-specific code to node-minecraft-protocol-forge 2016-02-06 23:27:32 -08:00
Romain Beaumont
783a96a44d Merge pull request #339 from deathcap/no-exclude
Remove client chat exclusion from server
2016-02-07 01:31:22 +01:00
deathcap
f9e302c08e Remove client chat exclusion from server 2016-02-06 16:06:45 -08:00
deathcap
14740447dd Update var to const/let in forgeHandshake 2016-02-02 22:21:21 -08:00
deathcap
9e9a5cb3d8 Integrate Forge support with auto-versioning support 2016-02-02 22:17:37 -08:00
deathcap
4468707268 Merge branch 'master' into forge 2016-02-02 22:00:11 -08:00
deathcap
09ecdcfcff Merge branch 'master' into forge 2016-02-02 21:58:00 -08:00
Romain Beaumont
b0061cdeb7 Merge pull request #337 from rom1504/var_to_es6
much let, very const
2016-02-02 09:29:03 +01:00
Romain Beaumont
8569b65594 make autoVersion use const 2016-02-02 09:24:01 +01:00
Romain Beaumont
a222c4fd49 const has better scopes rules than var ! 2016-02-02 09:20:37 +01:00
Romain Beaumont
779ffd7ba9 much let, very const
fix #335
2016-02-02 09:20:37 +01:00
Romain Beaumont
0ba187d97a Merge pull request #331 from deathcap/dynxver
Add dynamic cross-protocol support
2016-02-02 09:04:23 +01:00
deathcap
a3a2d3d6f1 Move wait_connect to client object 2016-02-01 21:42:53 -08:00
deathcap
a8bc7d1343 Move options back to client parameters 2016-02-01 21:07:32 -08:00
deathcap
58fd1eab35 Lookup version using minecraft-data postNettyVersionsByProtocolVersion 2016-02-01 21:02:42 -08:00
deathcap
c2913daae0 Update to minecraft-data ^0.19.1 2016-02-01 09:48:12 -08:00
Romain Beaumont
e9d959e219 Merge pull request #320 from deathcap/clientstream
Add 'stream' option to client, generic stream alternative to TCP/IP host/port options
2016-02-01 10:25:48 +01:00
Romain Beaumont
c23db885fa let's not compute the size of the varInt 2 times 2016-02-01 10:18:01 +01:00
Romain Beaumont
172e31c58d Merge pull request #316 from deathcap/frame1
Send framed packets in one push()
2016-02-01 10:15:19 +01:00
Romain Beaumont
bf029d3698 Merge pull request #334 from deathcap/legacyping
Server response to legacy ping (fe and fe01) packets
2016-02-01 10:07:40 +01:00
deathcap
070a046eea Try to clone minecraft-data to workaround https://github.com/PrismarineJS/node-minecraft-data/issues/16 2016-01-31 21:49:41 -08:00
deathcap
aa3ae32975 Try using git commit hash to node-minecraft-data 2016-01-31 20:50:57 -08:00
deathcap
4b3f8b5b09 Update minecraft-data to use GitHub dependency on PrismarineJS/node-minecraft-data 2016-01-31 20:43:07 -08:00
deathcap
84c4c26503 Update to minecraft-data ^0.19.0 2016-01-31 20:11:15 -08:00
deathcap
cf2688d8f8 Send framed packets in one push() 2016-01-31 18:25:14 -08:00
deathcap
39b7199ec6 Add 'stream' option to client/tcp_dns, alternative to host,port for TCP 2016-01-31 15:33:06 -08:00
deathcap
834170689e Remove createClientStream 2016-01-31 15:27:38 -08:00
deathcap
dccb9cef58 Merge branch 'master' into clientstream 2016-01-31 15:26:26 -08:00
deathcap
ddcca012ef Pre-Netty protocol versions are not supported yet 2016-01-31 12:48:39 -08:00
deathcap
88e8374ad4 Update documentation for version:false option 2016-01-31 12:44:06 -08:00
deathcap
2e2a213076 Update client connect() for options move compatibility 2016-01-31 12:28:25 -08:00
deathcap
f17de6410b Use new object for ping() to avoid potential cross-contamination 2016-01-31 12:26:03 -08:00
deathcap
d0f64e9c65 Set state property instead of setSerializer() to ensure serializers are properly piped 2016-01-31 12:20:51 -08:00
deathcap
70f1883a0c Set tagHost in src/client/forgeHandshake.js 2016-01-31 11:17:35 -08:00
deathcap
9a68fd6c34 Support options.version==false in createClient() to auto-detect version 2016-01-30 22:53:38 -08:00
deathcap
163e2157fc Remove useless statement 2016-01-30 22:49:57 -08:00
deathcap
af62189e19 Rename src/createClientAuto.js -> src/client/autoVersion.js 2016-01-30 22:34:26 -08:00
deathcap
ea3b306988 Move options to client object
This allows client plugins to change the options on the client object,
and have it reflected in other plugins. Previously, had to rely on the
options being the same object, and hold a reference to it. Now it is
always accessible as `client.options`.
2016-01-30 22:31:10 -08:00
deathcap
89198c62ff Use minecraft-data for protocol version -> minecraft version 2016-01-30 22:27:36 -08:00