Commit graph

390 commits

Author SHA1 Message Date
Romain Beaumont
cc3d4e09b9 update the default settings in basic.js, fix #147 2015-12-08 02:50:00 +01:00
Romain Beaumont
de202f5faa fix commands to support /ban-ip , add /pardon-ip 2015-12-07 23:47:53 +01:00
C109
e5ff8eae7e Added IP ban command 2015-12-07 11:50:52 -05:00
DemiPixel
d2a62e53e9 Update docs on XP 2015-12-07 01:04:29 +01:00
Romain Beaumont
3becd22307 Merge #145 2015-12-07 01:02:42 +01:00
Romain Beaumont
3806c3fd29 add a test to check /xp works 2015-12-07 01:02:21 +01:00
Romain Beaumont
85b11605a8 arrow function don't have this 2015-12-07 00:13:01 +01:00
Romain Beaumont
c5fd043e31 increase test time 2015-12-07 00:09:08 +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
DemiPixel
05be3c4e89 Basic XP implementation 2015-12-06 14:44:10 -08:00
Romain Beaumont
526a9f1132 await the bot is onGround, and add a test for /setblock 2015-12-06 20:20:13 +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
94edf79f97 add more tests for /tp and a test for /deop 2015-12-06 18:54:04 +01:00
Romain Beaumont
ae6d9887fd fix bug in /tp and add regression tests 2015-12-06 18:31:25 +01:00
DemiPixel
b4b90c01ed Add /op and /deop 2015-12-05 22:08:00 -08:00
DemiPixel
f17f54fe92 Adding op 'n stuff 2015-12-05 21:52:46 -08:00
DemiPixel
127ef3c777 Add ~ tp /tp, small fixes 2015-12-05 21:24:38 -08:00
Romain Beaumont
6ab320e3bc sendRelativePositionChange needs to be async because of behavior use
not sure if that behavior thingy has its place in that function, I think 'move' is not really a behavior at all.
'letPlayerMove' would be a normal behavior and it would be in sendRelativePositionChange.
Making plugins able to break function is not at all a good idea imho.
2015-12-06 04:39:09 +01:00
azastrael
bb75c6c1a0 Gona kill myself . . . 2015-12-06 04:19:15 +01:00
azastrael
d334fc486c Crying right now . . . 2015-12-06 04:17:19 +01:00
azastrael
3849de3aa3 Try number 42. 2015-12-06 04:13:30 +01:00
azastrael
284cdc73fa Please ... love me whatever stupid things i do =( 2015-12-06 03:57:30 +01:00
azastrael
844558dd89 The magic of 32. 2015-12-06 03:48:16 +01:00
azastrael
b850d23496 Fix a very bad bug. 2015-12-06 03:44:21 +01:00
azastrael
01e0162d59 Add teleport ( aka. tp ) command. 2015-12-06 03:24:48 +01:00
Romain Beaumont
843fdfb6fe Merge pull request #140 from 109C/master
Fixed friction bug
2015-12-01 17:51:05 +01:00
C109
46f1000bcf Fixed friction bug 2015-12-01 11:35:20 -05:00
Romain Beaumont
04ab50b7d8 add /attach <carrierId> <attachedId> to attach an entity on an other one
will be used to make a attach function and in vanilla uses later
2015-11-30 02:51:25 +01:00
Romain Beaumont
57ff06a805 map 7 dragon parts to dragon when attacking the dragon, fix #109 2015-11-29 22:03:42 +01:00
Romain Beaumont
64c1a5921d entity should despawn even if animation=false 2015-11-29 20:35:58 +01:00
Romain Beaumont
c34ebb1f5e fix entity dying, add /killall commands, add entity.takeDamage method, remove despawnPlayers (same as despawnEntities) 2015-11-29 20:08:42 +01:00
Romain Beaumont
959100ef7d stop extending prismarine-entity and add license field 2015-11-28 22:38:08 +01:00
Romain Beaumont
e7952f386f send equipment during spawn and fix some code style issues 2015-11-28 21:54:49 +01:00
Romain Beaumont
c8ce897013 start fixing inventory equipments 2015-11-28 21:40:09 +01:00
Romain Beaumont
b5d22e57f9 improve code with webstorm suggestion + split entities.js into spawn.js and other files 2015-11-28 18:23:26 +01:00
Romain Beaumont
a4c208ec5e fix createMCServer doc 2015-11-28 14:12:48 +01:00
mhsjlw
8f7185773d API fixes 2015-11-28 07:56:03 -05:00
mhsjlw
1c4611cb86 Various updates to MCServer 2015-11-28 07:49:08 -05:00
mhsjlw
5f02899173 Update and rename history.md to HISTORY.md 2015-11-28 07:37:50 -05:00
mhsjlw
7c314a589c Rename contribute.md to CONTRIBUTE.md 2015-11-28 07:35:53 -05:00
mhsjlw
4b2915b239 Rename api.md to API.md 2015-11-28 07:35:41 -05:00
mhsjlw
74ecfcd70d Update README.md 2015-11-28 07:30:25 -05:00
mhsjlw
96ef26a21b Update README.md 2015-11-28 07:26:36 -05:00
Romain Beaumont
f2889dd674 fix /command help message 2015-11-28 02:16:23 +01:00
Romain Beaumont
23094fd152 try/catch acceptClick until everything is implemented 2015-11-28 01:53:35 +01:00
Romain Beaumont
af3cfeda51 fix place lime wool bug (use Item.fromNotch) 2015-11-28 01:48:54 +01:00
Romain Beaumont
6d098deb23 convert coords to int, fix chunk unload bug (on node 0.10) 2015-11-26 18:04:13 +01:00
Romain Beaumont
7f47dacc60 add a server setting view-distance, and take the min of that settings and the player settings to get the distance to send chunks
I experimented with vanilla, and its "MultiplayerChunkCache" indicates this behavior for a vanilla server
progress on #127
2015-11-26 01:32:35 +01:00
Romain Beaumont
fb5450e3ca unload chunks, progress on #127 2015-11-26 01:08:10 +01:00
Romain Beaumont
d1c1c9d77f close the server when the tests end 2015-11-25 20:23:45 +01:00