Commit graph

584 commits

Author SHA1 Message Date
Will Franzen
bfc39811e4 Update client_chat.js 2015-03-26 10:24:17 -05:00
Brian Schlenker
a773bb13e7 added hook for before client receives ping
createServer takes additional option 'beforePing' which is a function
receiving the response to send back to the client and the client object,
and returning a modified response to send back.
The client now has the serverHost, serverPort, and protocolVersion
pulled from the handshake packet. This can be used to proxy
the client to different backend servers depending on the domain name.
2015-03-26 01:50:57 -07:00
roblabla
273f685267 Release 0.13.3 2015-03-25 23:36:26 +00:00
Robin Lambertz
13f9ce0d84 Merge pull request #140 from wtfaremyinitials/fix-122
Give each example its own package.json
2015-03-25 20:46:24 +01:00
Will Franzen
d6b493e565 Remove unneeded deps 2015-03-25 14:10:49 -05:00
Will Franzen
c6404f0274 Merge branch 'master' of https://github.com/PrismarineJS/node-minecraft-protocol into fix-122 2015-03-25 14:08:33 -05:00
Will Franzen
f9b3359577 Give each example its own package.json to resolve #122 2015-03-25 14:07:29 -05:00
Robin Lambertz
97928a8b4b Merge pull request #139 from rom1504/fix_readPosition
fix readPosition
2015-03-25 16:22:47 +01:00
Romain Beaumont
88b8653b4d fix indentation 2015-03-25 04:12:58 +01:00
Romain Beaumont
456331b952 fix readPosition (see http://wiki.vg/index.php?title=Data_Types&diff=6529&oldid=6491) thanks Fenhl 2015-03-25 04:09:36 +01:00
Josh Wolfe
a43e1af1d5 adding incoming and outgoing filters for proxy.js --dump arguments. 2015-03-24 16:44:11 -07:00
roblabla
3c7abf7b4a Bump circleci node version. Now tests pass. This is ugly 2015-03-23 16:55:47 +00:00
roblabla
254223d9c7 Wrong context when grabbing username 2015-03-23 16:20:50 +00:00
roblabla
cbdf8adb05 Release 0.13.2 2015-03-23 13:11:25 +00:00
roblabla
ea62fdc670 Fix particle packet 2015-03-23 12:45:06 +00:00
Robin Lambertz
026613a594 Merge pull request #138 from rom1504/add_circle_ci_badge
Add circle ci badge
2015-03-23 13:16:53 +01:00
roblabla
7416ea7e4c Add npmignore 2015-03-23 02:41:49 +00:00
Romain Beaumont
0d04e57330 Add circle ci badge 2015-03-23 03:09:38 +01:00
roblabla
a7dd89953d Release 0.13.1 2015-03-22 02:39:42 +00:00
Robin Lambertz
2723d4d94f Merge pull request #134 from rom1504/master
Fix bed-related packets
2015-03-22 03:21:13 +01:00
Romain Beaumont
f48b0ed159 Fix animation (see http://wiki.vg/Protocol#Animation) 2015-03-22 02:43:50 +01:00
Romain Beaumont
478140364a Fix bed package (see http://wiki.vg/Protocol#Use_Bed) 2015-03-22 02:11:52 +01:00
Robin Lambertz
187f6bccd7 Circle-CI : Only test packets and server
Client tests require a minecraft server for now. Until we move on to a better way to test the protocol, this will disable the client tests.
2015-03-18 19:12:18 +01:00
Robin Lambertz
e6eebe5f73 Merge pull request #131 from roblabla/feature-circleci
Add circleci support
2015-03-18 16:00:04 +01:00
Robin Lambertz
c55d7737d8 Merge pull request #132 from thejoshwolfe/pull-1
adding command line switches to examples/proxy.js for dumping messages
2015-03-18 15:59:44 +01:00
Josh Wolfe
bceea2f896 adding command line switches to examples/proxy.js for dumping messages 2015-03-18 03:58:20 -07:00
roblabla
cee1b81099 Add circleci support 2015-03-16 17:45:09 +00:00
Will Franzen
304586aff7 Merge pull request #126 from roblabla/feature-npm-prepublish
Add prepublish hook
2015-03-08 16:58:57 -05:00
roblabla
367bdd6908 Add prepublish hook 2015-03-08 19:58:32 +00:00
Dennis Bartlett
439c240247 Merge pull request #115 from wtfaremyinitials/es6
Add support for ES Harmony with Babel
2015-03-06 23:22:41 -06:00
Will Franzen
06cd5f5441 Fix require statements 2015-03-06 23:00:32 -06:00
Will Franzen
4e32c12bfd Merge branch 'master' of https://github.com/PrismarineJS/node-minecraft-protocol into es6
Conflicts:
	.gitignore
	index.js
	package.json
2015-03-06 22:50:28 -06:00
Will Franzen
b150ae77a8 Merge pull request #124 from roblabla/feature-ursa-purejs-module
Externalize rsa-wrap to a separate module
2015-03-06 20:19:29 -06:00
roblabla
50ad0211a5 Externalize rsa-wrap to a separate module 2015-03-07 00:36:06 +00:00
roblabla
b076f97627 Fix badge, svg is better 2015-03-07 00:21:15 +00:00
Will Franzen
e51e81ce32 Merge pull request #108 from roblabla/packets-1.8
Packets 1.8
2015-03-06 18:08:03 -06:00
roblabla
fbc60cd501 Fix tests so they pass on 0.10, take two 2015-03-07 00:03:55 +00:00
roblabla
e8370dc65f Lower timeout to 1 minute 2015-03-06 23:43:22 +00:00
roblabla
63fe55e4ed Fix test and benchmark on node 0.10 2015-03-06 23:37:47 +00:00
roblabla
bbace6b62d Fix proxy.js template string v2 2015-03-06 23:14:36 +00:00
roblabla
c27a40cde2 Fix benchmark 2015-03-06 23:10:05 +00:00
roblabla
50f216cdaf Remove template string from proxy.js 2015-03-06 22:58:58 +00:00
roblabla
2c3db82fcf Release 0.13.0 2015-03-06 20:32:09 +00:00
roblabla
502f8947f3 Add missing entries in changelog of README 2015-03-06 20:06:59 +00:00
roblabla
6d2bd31242 Update README 2015-03-06 19:54:27 +00:00
roblabla
28b75aab79 Use published prismarine-nbt 2015-03-06 18:51:26 +00:00
roblabla
18b9355ca9 Update the tests. Two of them are temporarely stubbed 2015-03-06 17:20:18 +00:00
roblabla
cc4b11992e DNS is slow, check if host is IP to bypass dns check 2015-03-06 17:20:06 +00:00
roblabla
e94876d30a Properly close chat example when connection fails or errors 2015-03-06 16:43:05 +00:00
roblabla
d8b1ce68ac Remove debug template string from protocol.js 2015-03-03 17:11:36 +00:00