Commit graph

1366 commits

Author SHA1 Message Date
Romain Beaumont
156427d1c6 fix package.json repository url 2015-09-24 15:18:00 +02:00
roblabla
307a87f750 Release 0.15.0 2015-09-24 15:06:41 +02:00
Robin Lambertz
da3a241775 Merge pull request #213 from rom1504/kick_client_when_wrong_version
[WIP] Kick client when he is using the wrong version of the client, fix #209
2015-09-24 13:58:04 +02:00
roblabla
5e810d3b81 Update example, remove mention of test coverage output 2015-09-24 12:28:41 +02:00
Romain Beaumont
fdc24cbeed Kick client when he is using the wrong version of the client, fix #209 2015-09-24 00:04:13 +02:00
roblabla
f7e50721e8 Update the README and docs 2015-09-23 23:26:50 +02:00
Robin Lambertz
baca58459d Merge pull request #247 from rom1504/check_start_server_err
check the error in the callback of wrap.startServer
2015-09-23 23:07:15 +02:00
Robin Lambertz
9d9287d64c Merge pull request #248 from rom1504/es6-classes
more es6 classes
2015-09-23 23:07:07 +02:00
Robin Lambertz
24dced6e39 Merge pull request #252 from rom1504/remove_zfill_dependency
remove zfill dependency used nowhere
2015-09-23 21:30:39 +02:00
Robin Lambertz
7e7d5da2ba Merge pull request #246 from rom1504/fix_protocol_version_in_ping
fix ping.js protocol version
2015-09-23 21:30:24 +02:00
Romain Beaumont
8aa0d786f0 use es6 properties in protocol.js 2015-09-23 21:06:34 +02:00
Romain Beaumont
5aee0000e4 use es6 properties in server.js 2015-09-23 21:04:54 +02:00
Romain Beaumont
68c589a3b0 move getter and setter after the constructor in client.js 2015-09-23 21:03:07 +02:00
Romain Beaumont
bbde23bb02 use es6 properties for client.js
see https://github.com/jeffmo/es-class-properties and http://odetocode.com/blogs/scott/archive/2014/10/14/features-of-es6-part-9-classes.aspx
2015-09-23 21:01:38 +02:00
Robin Lambertz
a337e5ae3e Merge pull request #249 from rom1504/fix_client_chat
clean up and fix client_chat
2015-09-23 20:25:03 +02:00
Robin Lambertz
84b32fd4d3 Merge pull request #250 from rom1504/fix_server
fix server example
2015-09-23 19:43:30 +02:00
Robin Lambertz
c2749505e8 Merge pull request #251 from rom1504/fix_client_echo
fix client_echo example
2015-09-23 19:43:19 +02:00
Robin Lambertz
a7e74cdb1d Merge pull request #253 from roblabla/feature-newContextSyntax
New context syntax
2015-09-23 19:39:36 +02:00
roblabla
f34a6b8e6a Use minecraft-data 0.11.0 2015-09-23 19:36:19 +02:00
roblabla
11239a989c Update tests for new context management 2015-09-23 18:49:55 +02:00
roblabla
cf1503f9de Fix proxy.js 2015-09-23 15:22:02 +02:00
roblabla
f9484d9444 Implement new context syntax 2015-09-23 15:22:02 +02:00
Romain Beaumont
6b15cffe4c remove zfill dependency used nowhere 2015-09-21 10:46:19 +02:00
Romain Beaumont
272a28701c fix client_echo example 2015-09-20 22:19:39 +02:00
Romain Beaumont
0d5b122423 fix server example 2015-09-20 22:10:20 +02:00
Romain Beaumont
a3cd6c49ad clean up and fix client_chat 2015-09-20 22:00:43 +02:00
Romain Beaumont
6e399122bf transform server.js into an es6 class 2015-09-20 21:36:59 +02:00
Romain Beaumont
78ff667c1f transform protocol.js into an es6 class 2015-09-20 21:32:50 +02:00
Romain Beaumont
4e9d8e06c9 transform client.js into an es6 class 2015-09-20 21:12:56 +02:00
Romain Beaumont
39d2dfebff check the error in the callback of wrap.startServer 2015-09-20 20:29:58 +02:00
Romain Beaumont
6137ffceeb fix ping protocol version 2015-09-20 19:52:49 +02:00
Robin Lambertz
2c93a4e796 Merge pull request #244 from rom1504/patch-1
Print some more info in order to fix https://github.com/PrismarineJS/node-minecraft-protocol/issues/194
2015-09-20 01:05:53 +02:00
roblabla
54337cc068 HISTORY.md update 2015-09-20 01:05:32 +02:00
Robin Lambertz
3bbb1eae6a Merge pull request #236 from roblabla/feature-cleanup
Clean up the mess in create/parse Packet. Deprecate ID and [state; ID]
2015-09-20 00:58:15 +02:00
Romain Beaumont
537a99562a use forEach for better speed for containers 2015-09-20 00:55:29 +02:00
roblabla
b85fa944d7 Remove on(id), on([state;id]) and onRaw 2015-09-20 00:55:29 +02:00
roblabla
b1441098f9 Only allow writing by packetName. Refactor whole internals to use packetNames 2015-09-20 00:55:29 +02:00
roblabla
56c9f3ed9a Index packetFields by name. Use packet names in test.js 2015-09-20 00:41:03 +02:00
Romain Beaumont
c467670880 bump minecraft-wrap + tilde 2015-09-19 23:06:57 +02:00
Romain Beaumont
7a0dd6b8cf Should print some more info in order to fix https://github.com/PrismarineJS/node-minecraft-protocol/issues/194 2015-09-19 22:45:39 +02:00
Robin Lambertz
3a7fad0f2d Merge pull request #242 from rom1504/use_mcdata_version
use minecraft-data version
2015-09-15 17:45:54 +02:00
Robin Lambertz
4a1b2bf052 Merge pull request #243 from roblabla/feature-usePacketNames
Use packet names instead of ID inside NMP's code.
2015-09-15 16:34:22 +02:00
roblabla
d490134492 Fix server.js 2015-09-15 14:31:06 +00:00
roblabla
cf4048d655 Fix createServer 2015-09-15 14:30:53 +00:00
roblabla
eac198bdf3 Fix createClient 2015-09-15 14:30:46 +00:00
roblabla
8be7394864 Fix ping 2015-09-15 14:30:34 +00:00
Romain Beaumont
a24b79608b use minecraft-data version 2015-09-15 15:34:38 +02:00
Robin Lambertz
a2abb70fc7 Merge pull request #237 from rom1504/use_minecraft_wrap
use minecraft-wrap : get the vanilla server wrapping out of node-minecraft-protocol
2015-09-15 14:54:26 +02:00
Robin Lambertz
c9b6ad8dbe Merge pull request #238 from rom1504/fix_quit_reason
Fix quit reason
2015-09-15 14:54:14 +02:00
Romain Beaumont
6bacdf33cc check if the reason contains the quoted reason instead of strict equality : make the tests work with the same code in 1.8 and 1.9 2015-09-14 22:52:11 +02:00