Commit graph

108 commits

Author SHA1 Message Date
Romain Beaumont
282dab7f7e Release 0.1.0 2015-08-30 20:20:22 +02:00
Romain Beaumont
d678bf08e0 fix link in readme 2015-08-30 20:16:44 +02:00
Romain Beaumont
489296f96b add basic example to examples/ and README.md to use flying-squid as a server lib 2015-08-30 20:15:50 +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
mhsjlw
3e8aa1f489 Update TODO.md 2015-08-28 17:47:17 -04:00
Romain Beaumont
874cce85bd place block with empty hand crash fixed 2015-08-28 23:17:20 +02:00
Romain Beaumont
31f7946437 fix logging 2015-08-28 23:15:49 +02:00
mhsjlw
8fb1582164 Update app.js 2015-08-28 17:06:09 -04:00
Romain Beaumont
e88ca19177 You can only hurt someone in survival, fix #23 2015-08-28 23:00:46 +02:00
Romain Beaumont
32b957cc60 Merge branch 'newlook' 2015-08-28 22:16:48 +02:00
Romain Beaumont
2c6e8c18a7 implement looking, thanks @Gjum and @mhsjlw 2015-08-28 22:15:24 +02:00
Romain Beaumont
470b00ea67 improve animations.js a bit 2015-08-28 21:22:28 +02:00
mhsjlw
fb0ab0ef95 Implement crouching and sprinting 2015-08-28 15:07:40 -04:00
mhsjlw
4f3b073e40 Added arm swinging animation 2015-08-28 11:41:13 -04:00
mhsjlw
b00110d19a Added player.updateHealth documentation 2015-08-28 11:19:53 -04:00
mhsjlw
afb4ecb1a9 Fixed player respawn health 2015-08-28 11:05:49 -04:00
Romain Beaumont
6e747b6fc0 add player.handleCommand to the api, improve command handling 2015-08-28 01:10:35 +02:00
Romain Beaumont
8dded86058 improve command handling and expose setGameMode 2015-08-28 00:53:19 +02:00
mhsjlw
0b78f258fa Add gamemode command 2015-08-27 18:33:22 -04:00
Romain Beaumont
02ee43183a Update TODO.md 2015-08-28 00:33:00 +02:00
Romain Beaumont
17ab2c8b19 add animation when a player is dead, fix #17 2015-08-27 23:44:15 +02:00
Romain Beaumont
56e0e93a3f show animation when player is hurt, start #17 2015-08-27 23:36:58 +02:00
Romain Beaumont
caedd14632 add logout to its own file, expose sendInitialPosition and spawn, implement respawn, fix #16 2015-08-27 23:26:23 +02:00
mhsjlw
ec2ba6696d Merge branch 'master' of https://github.com/mhsjlw/craftyjs 2015-08-27 17:00:07 -04:00
mhsjlw
ec51d1e875 Implemented commands 2015-08-27 16:58:04 -04:00
Romain Beaumont
6318c3d8ad make index.js the main, fix #13 2015-08-27 22:43:07 +02:00
Romain Beaumont
6509f513a8 load player plugin in login.js server plugin, fix #11 2015-08-27 22:39:45 +02:00
Romain Beaumont
52f6cdffbe fix diff check : see http://wiki.vg/Protocol#Entity_Look_And_Relative_Move 2015-08-27 22:25:23 +02:00
mhsjlw
ef632d0919 Update TODO.md 2015-08-27 14:12:16 -04:00
mhsjlw
f8f2fc9671 Update api.md 2015-08-27 13:03:26 -04:00
mhsjlw
4dba703116 Fix the API docs 2015-08-27 12:54:39 -04:00
mhsjlw
0cea63bd02 Create the respawn plugin 2015-08-27 12:53:13 -04:00
mhsjlw
64630e8fb6 Updated the api 2015-08-27 12:52:29 -04:00
mhsjlw
d1cfcc7367 Added PVP 2015-08-27 12:26:53 -04:00
mhsjlw
b11fb30ad6 Add serv.entities 2015-08-27 09:25:51 -04:00
mhsjlw
5593c1d29f Don't worry, docker is still confirmed #15 2015-08-27 09:01:02 -04:00
mhsjlw
65a77a836e Update README.md 2015-08-27 08:50:10 -04:00
mhsjlw
f128cc8c86 Update README.md 2015-08-27 08:39:11 -04:00
mhsjlw
e2c90ba740 Update README.md 2015-08-27 07:58:14 -04:00
Romain Beaumont
b339faff66 add features to README 2015-08-27 12:48:12 +02:00
Romain Beaumont
b8cd0b64b1 Update TODO.md 2015-08-27 03:52:35 +02:00
Romain Beaumont
6d13014d1c add player.changeBlock method, make digging work in creative mode, basic block_place functionality 2015-08-27 03:46:53 +02:00
Romain Beaumont
0b2967c5db gameMode handling and better spawn point : now choose randomly in an array of points 2015-08-27 03:01:26 +02:00
Romain Beaumont
0022f59d8c add contribute file 2015-08-27 02:06:29 +02:00
Romain Beaumont
757b049c15 basic digging implementation 2015-08-27 01:56:26 +02:00
Romain Beaumont
f5963eb2d7 update todo 2015-08-27 00:33:36 +02:00
Romain Beaumont
8010ae86bd fix leaving : splice not slice !! 2015-08-27 00:23:19 +02:00