Romain Beaumont
6c5a392b2b
Merge pull request #89 from demipixel/sound
...
Sound and Particles!
2015-11-06 03:04:21 +01:00
DemiPixel
17ad68dced
I love my docs
2015-11-05 17:58:49 -08:00
Romain Beaumont
84369016a1
Release 0.2.0
2015-11-01 18:58:17 +01:00
Romain Beaumont
20ff77bc1d
listen on server 'connection' to listen to non-PLAY errors, try to fix #85
2015-10-26 22:33:52 +01:00
Romain Beaumont
07b8eaf58c
update setBlock doc
2015-10-26 21:40:06 +01:00
Romain Beaumont
81d6cca4f1
add metadata when placing a block, progress on #9
2015-10-26 21:32:53 +01:00
Romain Beaumont
ae0faf757f
delete doc/README.md
2015-10-26 18:31:24 +01:00
Romain Beaumont
accb742c7f
add back server.setBlock
2015-10-26 02:28:07 +01:00
Romain Beaumont
69819b880e
proper /changeworld overworld|nether command implemented
2015-10-25 23:58:30 +01:00
Romain Beaumont
2a3b8a157b
add player.spawnAPlayer, player.despawnPlayers, player.updateAndSpawnNearbyPlayers, automatically spawn and despawn players when getting closer or far
2015-10-25 23:26:04 +01:00
Romain Beaumont
c2b1424743
serv.setBlock -> player.setBlock
2015-10-25 21:24:37 +01:00
Romain Beaumont
e3b7ad569b
fix stuff related to changeWorld
...
* use writeOthersNearby everywhere
* create player.playerViewDistance
* put toFixedPosition in vec3 prototype
* fix changeWorld (use the same function than in login)
* use entity_destroy in changeWorld
* sendPosition, not setPosition
* disable pregenWorld : it just makes everything slow
2015-10-25 21:03:02 +01:00
DemiPixel
f0cce9fadb
Added lots of communication stuff
2015-10-24 21:02:26 -07:00
DemiPixel
afb75e4bea
Update docs, small fix
2015-10-24 18:39:59 -07:00
DemiPixel
1917165caf
Change serv.world to serv.worlds. Added playerPlugins/world.js and moved a lot of stuff from login.js there. Generating multiple worlds works and moving players there works as well. A few issues here and there.
2015-10-24 16:56:28 -07:00
DemiPixel
7a028e7193
Quick fixes, adding everything to api.md
2015-10-09 17:30:10 -07:00
Romain Beaumont
717de0d409
update api.md
2015-10-08 22:56:56 +02:00
Romain Beaumont
bc66295001
Revert "The Start of Plugins"
2015-09-28 00:26:25 +02:00
mhsjlw
b2d189b9d2
Merge pull request #49 from demipixel/plugins
...
The start of plugins with World Guard example
2015-09-27 17:56:47 -04:00
mhsjlw
470e956c4c
Fixed grammar and 'craftyjs'
2015-09-27 15:26:27 -04:00
DemiPixel
0aae8c6c8e
Fixing bugs, added world-guard example, updated API a bit
2015-09-09 00:44:48 -07:00
DemiPixel
6771c3186b
Added many more cancelable events and more documentation!
2015-09-07 15:06:23 -07:00
Romain Beaumont
7cc78b6ef1
add kicked and banned event to api
2015-09-06 18:06:45 +02:00
Romain Beaumont
4bf03223dd
clean kick/ban system
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
DemiPixel
7547c68100
Added player.sendBlock and serv.setBlock. Added an example command /setblock and made changes (and fixes) to api.md
2015-09-05 18:23:27 -07:00
Romain Beaumont
37c3e5e1bd
Add explanations about how to create external plugins
2015-09-02 13:19:44 +02:00
Romain Beaumont
306191fc1d
use prismarine-entity, fix #25
2015-08-30 20:52:14 +02:00
Romain Beaumont
282dab7f7e
Release 0.1.0
2015-08-30 20:20:22 +02:00
Romain Beaumont
94926df8da
craftyjs becomes flying-squid (due to name conflict)
2015-08-30 19:49:46 +02:00
mhsjlw
b00110d19a
Added player.updateHealth documentation
2015-08-28 11:19:53 -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
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
Romain Beaumont
6509f513a8
load player plugin in login.js server plugin, fix #11
2015-08-27 22:39:45 +02: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
64630e8fb6
Updated the api
2015-08-27 12:52:29 -04: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
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
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