Commit graph

90 commits

Author SHA1 Message Date
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
Romain Beaumont
213fe7d84b implement leaving, fix #6 2015-08-26 23:50:03 +02:00
Romain Beaumont
bddc8d117d actually use teleport 2015-08-26 23:12:25 +02:00
Romain Beaumont
49e313d72b set the spawn point in spawn player plugin, send teleport packet if the position diff is too important, fix #5 2015-08-26 23:08:12 +02:00
Romain Beaumont
34ca0aa788 update position also on position_look, fix #2 2015-08-26 21:56:41 +02:00
Romain Beaumont
a00082b57a add username to the player object 2015-08-26 21:48:56 +02:00
Romain Beaumont
c3f0645771 emit events instead of directly logging, add longjohn, add chat plugins 2015-08-26 21:41:59 +02:00
Romain Beaumont
8a4d7a7b9a fix api 2015-08-26 20:16:46 +02:00
Romain Beaumont
8c212dc3cf fix api 2015-08-26 20:16:17 +02:00
Romain Beaumont
2d62ac8abb add doctoc : add toc in api.md 2015-08-26 20:15:27 +02:00
Romain Beaumont
2e371e741f Continue refactoring : client now in a player object, methods added to that player object, progress on #3 2015-08-26 20:13:01 +02:00
mhsjlw
3070acff44 Update README.md 2015-08-26 08:45:19 -04:00
mhsjlw
e28f3f93c9 Create commands.json 2015-08-26 07:42:06 -04:00
mhsjlw
f9cb16f8f0 Start becoming organized 2015-08-26 07:37:27 -04: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
dde4387536 add api, make login a server plugin 2015-08-26 03:49:06 +02:00
Romain Beaumont
034cd43363 complete reorganization : client plugins, server plugins 2015-08-26 03:27:33 +02:00
mhsjlw
2e4123a2ba Update name 2015-08-25 19:38:27 -04:00