Commit graph

263 commits

Author SHA1 Message Date
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
Romain Beaumont
029c31fad6 add player-list-text config option, and add missing options in the api.md, fix #180 2016-01-14 01:09:07 +01:00
Romain Beaumont
c861ac14b9 fix posFromString 2016-01-08 22:27:14 +01:00
Romain Beaumont
95b5b57e72 implement latency 2015-12-22 00:28:50 +01:00
Romain Beaumont
8a5fb267ab fix plugin loading logging 2015-12-18 15:36:18 +01:00
Romain Beaumont
baca95c070 a small fix 2015-12-18 14:58:32 +01:00
Romain Beaumont
1d882c4af9 some webstorm found fixes 2015-12-18 14:27:36 +01:00
Romain Beaumont
8dc3087d65 mhsjlw -> PrismarineJS 2015-12-18 13:32:04 +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
a03bb7c901 implement all spawn eggs 2015-12-15 01:37:14 +01:00
Romain Beaumont
a999bbdda1 fix an async problem with portal generation, check huge portals work 2015-12-15 00:20:15 +01:00
Romain Beaumont
067128e8c9 fix a small thing in digging 2015-12-15 00:06:01 +01:00
Romain Beaumont
6b6a6764ae update fire placing/destroying, fix #171 2015-12-14 23:59:26 +01:00
Romain Beaumont
0fd80dcb7c fix spawning not in water, fix #63 2015-12-14 23:23:13 +01:00
Romain Beaumont
894760ac36 fix /portal for direction=z 2015-12-14 22:47:08 +01:00
Romain Beaumont
e792f5d671 fix destroying multiple portal at the same time, add /portal command to create a portal, expose various portal generation function 2015-12-14 22:36:15 +01:00
Romain Beaumont
6cb2bba019 destroy the portal when an obsidian block is dug 2015-12-14 21:22:48 +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
DemiPixel
aeb5f888df Small fixes to commands/tp 2015-12-14 19:37:17 +01:00
DemiPixel
e49daf1fcd Fixes, make errors red 2015-12-14 19:37:17 +01:00