Commit graph

265 commits

Author SHA1 Message Date
Romain Beaumont
12620716e7 only wait between each chunk after the initial map was sent 2015-11-06 22:11:52 +01:00
Romain Beaumont
591a4ed8df implement skins (player properties) 2015-11-06 21:40:18 +01:00
Romain Beaumont
d7aa0bca83 handle player set view distance, fix #76 2015-11-06 20:50:29 +01:00
Romain Beaumont
6b86cf5e9a send rest of the map only when the player has logged, fix #88 2015-11-06 20:36:41 +01:00
Romain Beaumont
a647e34078 fix respawning : fix #91 2015-11-06 19:17:52 +01:00
Romain Beaumont
010cda5c6e use destructuring in more commands 2015-11-06 19:07:05 +01:00
Romain Beaumont
41811c79b5 improve code of new commands : do the parsing in parse and use destructuring 2015-11-06 18:39:29 +01:00
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
DemiPixel
446dfa64d0 Lots of stuff. 2015-11-05 17:41:16 -08:00
DemiPixel
2955c5bcfd Support sound basics 2015-11-02 19:04:09 -08:00
Romain Beaumont
84369016a1 Release 0.2.0 2015-11-01 18:58:17 +01:00
Romain Beaumont
cbf04f1c01 update prismarine-world : now doesn't error when a region file doesn't exist 2015-11-01 17:19:37 +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
f0808b36e1 Some things got done in the roadmap
I wouldn't say other dimensions or world generation are finished, but basic functionality is there.
2015-10-26 18:33:54 +01:00
Romain Beaumont
ae0faf757f delete doc/README.md 2015-10-26 18:31:24 +01:00
Romain Beaumont
767a3bfba1 fix test 2015-10-26 03:10:16 +01:00
Romain Beaumont
73a18ef863 use an es6 class for the player 2015-10-26 02:59:37 +01:00
Romain Beaumont
733ca45a46 use a class for MCServer 2015-10-26 02:55:08 +01:00
Romain Beaumont
888fa21b7b some more es6 arrows 2015-10-26 02:40:23 +01:00
Romain Beaumont
accb742c7f add back server.setBlock 2015-10-26 02:28:07 +01:00
Romain Beaumont
53c2bc776d use an es6 class for diamond_square generation 2015-10-26 02:03:32 +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
69819b880e proper /changeworld overworld|nether command implemented 2015-10-25 23:58:30 +01:00
Romain Beaumont
939a404050 fix grass in diamond_square 2015-10-25 23:33:12 +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
7ac4653ea2 Maybe this works 2015-10-24 21:22:20 -07:00
DemiPixel
f0cce9fadb Added lots of communication stuff 2015-10-24 21:02:26 -07:00
DemiPixel
bb80bd7c44 Changed stuff, added seeds, etc 2015-10-24 19:41:21 -07:00
DemiPixel
c48dc8c2c0 Fail 2015-10-24 18:47:02 -07:00
DemiPixel
afb75e4bea Update docs, small fix 2015-10-24 18:39:59 -07:00
DemiPixel
1b739c3391 NOT FINAL VERSION, stuff still broken but some more fixes 2015-10-24 17:15:04 -07:00
DemiPixel
cfa690efb3 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 17:10:43 -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
Romain Beaumont
24370e9d0f make the program crash in case of errors 2015-10-24 22:12:11 +02:00
Romain Beaumont
17b65f5021 crash when there is an error during login 2015-10-24 21:44:30 +02:00
Romain Beaumont
b89ab41231 Merge pull request #84 from mhsjlw/world_loading
[WIP] anvil loading
2015-10-24 03:49:01 +02:00
Romain Beaumont
cde16a4d25 use prismarine-world 0.3.0 : enable anvil loading 2015-10-24 03:48:17 +02:00
Romain Beaumont
8a93ffbdd9 anvil loading 2015-10-23 17:26:25 +02:00
Romain Beaumont
cf7b1e8fe5 send only one player_info packet, now that the problem has been solved: don't send the displayName 2015-10-14 18:58:28 +02:00
Romain Beaumont
710473b926 update example in README 2015-10-13 14:39:45 +02:00
Romain Beaumont
892199e4a3 Merge pull request #72 from JWo1F/commands
fix #42
2015-10-13 00:17:55 +02:00
Romain Beaumont
c89c9e722e move Command class to its own file, fix bugs in commands and improve info 2015-10-13 00:17:38 +02:00
Romain Beaumont
18df789f10 disable modpe by default: important ram usage, buggy 2015-10-12 23:41:26 +02:00
Romain Beaumont
82353ad13c actually fix displayName by not putting it (the vanilla server does that) 2015-10-12 23:01:27 +02:00