Romain Beaumont
2e749ff49f
move to normal position, fix #40 + multi version for position for 1.8 and 1.12
...
normal position is now possible because I understood it's necessary
to stored the last sent position in order to compensate for the loss
of precision next time a relative position packet is sent
I introduced a features.json which makes it possible to describe
high level differences between version and use that to handle multi version code
2018-05-21 00:04:19 +02:00
Romain Beaumont
c01f9dcfca
chunk unloading for 1.12 and 1.8
2018-05-20 15:19:51 +02:00
Romain Beaumont
3b51a29ae1
add blockEntities to map_chunk for 1.12
2018-05-15 00:22:05 +02:00
Romain Beaumont
f4885d81e8
bring (static) multi version support to world generations
2018-05-13 19:10:48 +02:00
mhsjlw
44f0024cc6
Add standard linting
2018-05-13 09:26:48 -04:00
mhsjlw
711a484b72
Remove babel and unused dependencies
2018-02-04 16:06:20 -05:00
Romain Beaumont
4cecd70cc6
use prismarine-world supporting cross version
2017-01-12 19:32:53 +01:00
Dylan
3b563b64ce
Implement difficulty
...
* added some code to set the difficulty of the server
* Add difficulty variable
Added difficulty to default-settings.json
changed difficulty: 0 to difficulty: serv.difficulty in
-respawn.js
-world.js
-login.js
* set server diff
* added setting serv difficulty on server start in settings.js
* added serv in module.exports.player=function(player, serv) in player.js and in respawn.js
2016-05-01 01:25:12 +02:00
Romain Beaumont
a17f47c9e9
if the generation module is not on the array, try to require it : dynamic generation handling !
2016-03-05 01:58:18 +01:00
Romain Beaumont
f46c4225b5
move modpe to a plugin, fix #66 , fix #69
2016-02-21 20:35:26 +01:00
Romain Beaumont
756d3a8d11
add serv.reloadChunk and update prismarine-chunk and prismarine-world
2016-01-17 18:01:01 +01:00
Romain Beaumont
1412722d8c
make worldFolder optional, fix tests
2016-01-14 19:44:54 +01:00
Romain Beaumont
40aab303a2
use new prismarine-provider-anvil to read/write the seed, use a worldFolder option instead of regionFolder option, fix #178
2016-01-14 19:18:01 +01:00
Romain Beaumont
1d882c4af9
some webstorm found fixes
2015-12-18 14:27:36 +01:00
Romain Beaumont
8c4406804e
use const and let instead of var
...
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2015-12-17 11:36:43 +01:00
Romain Beaumont
d49fd8b775
store portal and destroy the whole portal when destroying one portal block, progress on #79
2015-12-14 21:12:56 +01:00
Romain Beaumont
0ea7fcf40d
don't spawn in water, fix #63
2015-12-14 20:40:42 +01:00
Romain Beaumont
addec7252d
fix place block test and improve lot of awaiting in the tests, only send min(3,view) chunks initially
2015-12-11 16:52:48 +01:00
DemiPixel
fe2f220f10
Big changes to player/entity.sendPosition and entity/player.teleport. Not fully working yet.
2015-12-09 23:04:57 -08:00
Romain Beaumont
865327b482
use require-self for better consistency with external plugins
...
require("flying-squid").someLib instead of require("../someLib")
2015-12-10 01:25:33 +01:00
DemiPixel
f17f54fe92
Adding op 'n stuff
2015-12-05 21:52:46 -08:00
Romain Beaumont
e7952f386f
send equipment during spawn and fix some code style issues
2015-11-28 21:54:49 +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
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
ddd38e148a
fix settings, cleanup logs ( fix #125 )
2015-11-25 19:49:38 +01:00
DemiPixel
3ba46f0e97
Adding behaviors
2015-11-22 18:35:33 -08:00
DemiPixel
8215985f7f
Fix a lot of communication things, added lots of semicolons, started on entity knockback (hehe, doesn't work well, needs improvement)
2015-11-20 13:52:19 -08:00
DemiPixel
a02983c2bd
Fixing metadata, almost done!
2015-11-19 17:46:54 -08:00
DemiPixel
180799e045
Attempting to convert Player into Entity
2015-11-19 17:17:33 -08:00
Romain Beaumont
f4a168cffb
fix block drop in node 0.10 : itemCount is not optional
2015-11-20 00:23:22 +01:00
Romain Beaumont
f522dfac97
use Vec3 correctly + move commands in the related plugins
2015-11-16 22:22:58 +01:00
Romain Beaumont
9bcbb991bb
serv, player -> player,serv because serv is often not needed
2015-11-16 21:24:19 +01:00
Romain Beaumont
39dc37f94d
put together player plugins and server plugins
2015-11-16 20:23:09 +01:00