Commit graph

9 commits

Author SHA1 Message Date
Romain Beaumont
39dc37f94d put together player plugins and server plugins 2015-11-16 20:23:09 +01:00
DemiPixel
9c61b7b009 Trying to work on sending entities, fair amount of broken stuff 2015-11-09 13:25:42 -08: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
1a58da904c more es6 refactoring : use destructing and more arrow functions 2015-10-26 01:53:07 +01:00
Romain Beaumont
a50642967b use more es6 arrow function, and directly define the player.f functions instead of defining the function then assigning it 2015-10-26 01:15:21 +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
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
Romain Beaumont
587ce76f27 use nmp 0.15.0 2015-10-08 23:52:42 +02:00
Romain Beaumont
a79181b27e go to es6 + use real prismarine-chunk and prismarine-world 2015-10-02 00:12:09 +02:00
Renamed from lib/playerPlugins/logout.js (Browse further)