Commit graph

283 commits

Author SHA1 Message Date
Romain Beaumont
43b665bb84
update to standard 12 2018-11-25 16:31:55 +01:00
Romain Beaumont
60318c74e1
fix external.js 2018-05-27 21:15:34 +02:00
Romain Beaumont
36b11e6163
fixed nether by adding some glowstone to have some light
(necessary in 1.12)
2018-05-27 19:14:41 +02:00
Romain Beaumont
efc4ab786d
fixed respawn and attach (/pile) 2018-05-27 18:24:59 +02:00
Romain Beaumont
d127704022
Several fixes
* fix login sequence : fix spawn position
* fix gamemode != 0 : should not remove items from inventory
* update pworld and pprovider-anvil
2018-05-27 13:50:27 +02:00
Romain Beaumont
f0cdc3bc23
add teleportId 2018-05-25 23:20:53 +02:00
Romain Beaumont
ed2f5df538
fix entities in 1.12 : uuid support 2018-05-25 23:09:29 +02:00
Romain Beaumont
0dabd933e2
fix delta support in updatePositions for 1.8 2018-05-25 00:44:08 +02:00
Romain Beaumont
13ceac4a83
adapt test for multi-version 2018-05-23 02:01:29 +02:00
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
332ffbca08
add soundCategory to named_sound_effect sending 2018-05-20 16:43:43 +02:00
Romain Beaumont
483dafb679
broken code is not very interesting : removing border.js 2018-05-20 15:41:39 +02:00
Romain Beaumont
c01f9dcfca
chunk unloading for 1.12 and 1.8 2018-05-20 15:19:51 +02:00
Romain Beaumont
069e30cb7e
use block from inventory instead of heldItem in block_place : fix placing in 1.12 (without breaking 1.8) 2018-05-20 14:57:23 +02:00
Romain Beaumont
3b51a29ae1
add blockEntities to map_chunk for 1.12 2018-05-15 00:22:05 +02:00
Romain Beaumont
48be4f2266
bring (static) multi version support to everything else + fix some formatting 2018-05-13 20:21:23 +02:00
Romain Beaumont
0b53189116
bring (static) multi version support to portal detection 2018-05-13 19:47:47 +02:00
Romain Beaumont
f4885d81e8
bring (static) multi version support to world generations 2018-05-13 19:10:48 +02:00
Romain Beaumont
b6eca14b82
var -> const 2018-05-13 16:01:37 +02:00
mhsjlw
44f0024cc6 Add standard linting 2018-05-13 09:26:48 -04:00
mhsjlw
241cc0e014 Fix requireindex and mineflayer.js 2018-02-06 22:24:20 -05: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
e3acaf8555
fix the weather command 2016-04-30 01:25:57 +02:00
OverloadedWolf
b0864da791 Weather Command
Created the base for the weather command. Currently it will give an
warning if you do not have enough parameters to fulfill the command. It
will, however, crash the server when used properly.
2016-04-29 17:26:50 -04:00
C109
4a8ea541ff Git sillyness 2016-04-14 19:47:31 -04:00
C109
a61dcd6fc3 Remove block from inventory when placing it 2016-04-14 19:14:27 -04:00
Romain Beaumont
358f0c8841 fix /version 2016-03-28 01:05:53 +02:00
Romain Beaumont
6b365948ab unhandledRejection in app.js 2016-03-19 16:22:32 +01:00
Romain Beaumont
308fc5c8a0 limit the number of entities in initEntity 2016-03-18 13:56:05 +01:00
Romain Beaumont
b5328463a4 limit /portal command to 21x21 2016-03-14 21:47:06 +01:00
Romain Beaumont
b39072ebb2 fix undefined disconnected 2016-03-14 21:34:11 +01:00
Romain Beaumont
fed2208809 have a options["max-entities"], fix #222 2016-03-14 21:13:52 +01:00
Romain Beaumont
6f36e7c450 limit the number of entities to 100 2016-03-14 21:09:16 +01:00
Romain Beaumont
5ffbdd0373 actually fix UserError checking 2016-03-14 19:39:29 +01:00
Romain Beaumont
a12039e1bd fix UserError checking 2016-03-14 19:36:57 +01:00
Romain Beaumont
bccfc5d10c remove /spawn and /spawnObject, fix #175 2016-03-14 15:46:31 +01: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
9aa1255b8e move to babel6 and bypass https://phabricator.babeljs.io/T6792 2016-02-12 14:02:05 +01:00
Romain Beaumont
ac603cff15 adapt to new minecraft-data entities data 2016-02-12 13:16:56 +01:00
Romain Beaumont
ef50d796d6 move diamond-square to its own package 2016-01-19 23:12:30 +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
19b4c98608 skip too long ticks and don't try to do 2 ticks at the same time 2016-01-14 14:39:38 +01:00
Romain Beaumont
5940f91fce add a /summonMany command, useful for testing 2016-01-14 13:12:22 +01:00
Romain Beaumont
02eed8229f don't rely on ticks to remove effect : ticks slow down the server and should only be used if strictly necessary 2016-01-14 13:09:59 +01:00
Romain Beaumont
678656e631 add everybody-op option, fix #181 2016-01-14 01:14:09 +01:00