Commit graph

695 commits

Author SHA1 Message Date
Romain Beaumont
50fb2ae89d update circle.yml to download minecraft-server.jar 2015-03-29 18:02:54 +02:00
Romain Beaumont
b8742032b9 remove npm install --dev 2015-03-29 17:56:25 +02:00
deathcap
bbbd022f33 Move network-specific code out of client.js 2015-03-28 23:24:23 -07:00
deathcap
c968cbefe5 Expose the Client class to browser 2015-03-28 23:14:39 -07:00
Josh Wolfe
23945f54c3 slightly cleaner readPosition 2015-03-26 18:47:46 -07:00
Robin Lambertz
158beb3cc3 Merge pull request #141 from bschlenk/master
added hook for before client receives ping
2015-03-26 16:44:32 +01:00
Dennis Bartlett
62b870a2d1 Merge pull request #144 from PrismarineJS/fix-143
Fix examples
2015-03-26 10:35:52 -05:00
Will Franzen
f8ca29f892 Update server_helloworld.js 2015-03-26 10:26:43 -05:00
Will Franzen
dbfa0f631f Update server.js 2015-03-26 10:26:21 -05:00
Will Franzen
879d525fc5 Update proxy.js 2015-03-26 10:26:01 -05:00
Will Franzen
7ede9c3dcd Update client_echo.js 2015-03-26 10:25:36 -05:00
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