Commit graph

55 commits

Author SHA1 Message Date
Romain Beaumont
22b8b2f91d Merge pull request #161 from mhsjlw/portal
[WIP] implement portal detection and use it when flint and steel is used
2015-12-14 19:23:29 +01:00
Romain Beaumont
027960abc6 Release 0.3.1 2015-12-13 00:56:35 +01:00
Romain Beaumont
539b9c1314 implement portal detection and use it when flint and steel is used
currently places cactus instead of nether block because nether block seems to require the multi block change packet

lot of tests are already there, but some more need to be added, it seems some cases don't work (when the portal have edges it seems)
2015-12-12 06:45:39 +01:00
Romain Beaumont
f5884caf1f fix player.kick (just use player._client.end), add serv.quit(reason), wait for login messages in mineflayer test 2015-12-11 15:33:48 +01:00
Romain Beaumont
b6b49a5c3c fix /kill test by fixing mineflayer 2015-12-11 13:28:48 +01:00
Romain Beaumont
6fc0e318e2 Release 0.3.0 2015-12-11 01:25:53 +01:00
Romain Beaumont
865327b482 use require-self for better consistency with external plugins
require("flying-squid").someLib instead of require("../someLib")
2015-12-10 01:25:33 +01:00
Romain Beaumont
974fcafba7 add a digging and placing test
the placing test is currently skipped because it doesn't always work (might be better to restart the server and bots at each test)
2015-12-07 00:06:43 +01:00
Romain Beaumont
7efb2daea3 rewrite tests using async/await
much easier to understand that way
2015-12-06 19:42:44 +01:00
Romain Beaumont
959100ef7d stop extending prismarine-entity and add license field 2015-11-28 22:38:08 +01:00
Romain Beaumont
44d721d2a5 add a few tests based on mineflayer 2015-11-25 02:46:32 +01:00
DemiPixel
565309846b Fix packages, add catch to commands 2015-11-23 13:54:23 -08:00
C109
28343dc3d3 Implement player inventory using prismarine-windows and prismarine-item
* player can collect item
2015-11-23 00:47:02 +01:00
Romain Beaumont
3f7853c95b update to nmp 0.16.2 2015-11-19 23:41:29 +01:00
Romain Beaumont
6ea69796fb add a check in block_place : only place a block if you are holding a block, fix #104 2015-11-19 23:06:52 +01:00
Romain Beaumont
15350791df Merge pull request #95 from mhsjlw/update_nmp
update to nmp 0.16
2015-11-16 19:53:30 +01:00
Romain Beaumont
500616283d update to nmp 0.16 2015-11-12 02:28:17 +01:00
DemiPixel
0684ff481f Added mobs, /spawn, fixed bugs, added many more 2015-11-07 23:17:38 -08:00
Romain Beaumont
84369016a1 Release 0.2.0 2015-11-01 18:58:17 +01:00
Romain Beaumont
cbf04f1c01 update prismarine-world : now doesn't error when a region file doesn't exist 2015-11-01 17:19:37 +01:00
DemiPixel
f0cce9fadb Added lots of communication stuff 2015-10-24 21:02:26 -07:00
Romain Beaumont
cde16a4d25 use prismarine-world 0.3.0 : enable anvil loading 2015-10-24 03:48:17 +02:00
Romain Beaumont
8a93ffbdd9 anvil loading 2015-10-23 17:26:25 +02:00
Romain Beaumont
316ed6b49b add _worldSync to implement modpe api 2015-10-10 18:54:21 +02:00
Romain Beaumont
717dfc1b67 clean dependencies 2015-10-10 02:49:21 +02:00
Romain Beaumont
3f0c099c42 generate an uuidv3 in offline mode, fix #68 2015-10-09 19:46:14 +02:00
Ubuntu
a4cae0c143 Modpe support is merged, added flag for enabling modpe, added world edit 2015-10-09 18:07:33 +02:00
Romain Beaumont
587ce76f27 use nmp 0.15.0 2015-10-08 23:52:42 +02:00
Romain Beaumont
d3a20e4399 implement infinite world, fix #43, fix #52, progress on #47 2015-10-08 22:50:04 +02:00
Romain Beaumont
a79181b27e go to es6 + use real prismarine-chunk and prismarine-world 2015-10-02 00:12:09 +02:00
Romain Beaumont
f5e2b9aaa7 fix babel path : babel doesn't need to be installed globally after this 2015-09-29 01:05:29 +02:00
Romain Beaumont
bc66295001 Revert "The Start of Plugins" 2015-09-28 00:26:25 +02:00
DemiPixel
8f364579cd Start of plugins 2015-09-06 12:57:34 -07:00
Romain Beaumont
bd240b5b80 add node-uuid to dependencies 2015-09-06 17:10:38 +02:00
DemiPixel
3118823520 Implemented kicking and banning, as well as /kick and /ban 2015-09-06 17:10:38 +02:00
Romain Beaumont
eb9ef00596 add date to logs 2015-09-06 02:21:28 +02:00
Romain Beaumont
a12d82c41b temporary fix for the es6/git/npm problem
https://github.com/npm/npm/issues/3055
2015-09-05 23:03:39 +02:00
Romain Beaumont
37e74ae52c use prismarine-world : flying-squid has now 9 chunk columns 2015-09-05 20:03:10 +02:00
Romain Beaumont
306191fc1d use prismarine-entity, fix #25 2015-08-30 20:52:14 +02:00
Romain Beaumont
94926df8da craftyjs becomes flying-squid (due to name conflict) 2015-08-30 19:49:46 +02:00
Romain Beaumont
8c06acf155 improve logging : create logs dir if it doesn't exist, use log dir relative to path, add shebang in app.js to allow starting the app.js as a bin, make longjohn enable only if NODE_ENV == 'dev', make "craftyjs" a binary installed with package when npm install -g 2015-08-30 07:58:47 +02:00
Romain Beaumont
d9bfdbf59f add minecraft-data in dependencies 2015-08-30 00:41:48 +02:00
Romain Beaumont
5a668e6815 implement digging correctly by using prismarine-block digTime function, fix #7 2015-08-29 04:25:34 +02:00
Romain Beaumont
6318c3d8ad make index.js the main, fix #13 2015-08-27 22:43:07 +02:00
Romain Beaumont
2d62ac8abb add doctoc : add toc in api.md 2015-08-26 20:15:27 +02:00
mhsjlw
a30834ef60 Fix JSON formatting 2015-08-26 07:17:47 -04:00
mhsjlw
750e0de0e5 Update package.json 2015-08-26 07:17:30 -04:00
Romain Beaumont
034cd43363 complete reorganization : client plugins, server plugins 2015-08-26 03:27:33 +02:00
Romain Beaumont
5839d97eaa start fixing spawn : improve player arrays, use vec3, fix relative position 2015-08-25 22:30:31 +02:00
mhsjlw
def7426fc5 Players can now spawn and walk around 2015-08-24 18:41:01 -04:00