Commit graph

34 commits

Author SHA1 Message Date
Daniel Bulant
52a7056daa empty commit 2021-04-21 18:59:44 +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
ed2f5df538
fix entities in 1.12 : uuid support 2018-05-25 23:09: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
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
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
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
678656e631 add everybody-op option, fix #181 2016-01-14 01:14:09 +01:00
Romain Beaumont
95b5b57e72 implement latency 2015-12-22 00:28:50 +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
0ea7fcf40d don't spawn in water, fix #63 2015-12-14 20:40:42 +01:00
DemiPixel
c13c901279 Added colors, made some fixes to command.js 2015-12-14 19:37:17 +01:00
DemiPixel
0adfc20a1f Continuing attempt to implement abilities 2015-12-13 16:20:38 -08:00
DemiPixel
0092af247e Start of implementing player abilities 2015-12-13 16:20:37 -08:00
Romain Beaumont
f5884caf1f fix player.kick (just use player._client.end), add serv.quit(reason), wait for login messages in mineflayer test 2015-12-11 15:33:48 +01:00
Romain Beaumont
3bea548f82 node 0.10 doesn't have listenerCount, don't use it 2015-12-11 02:57:32 +01:00
Romain Beaumont
567b82c61c don't login if the client is already ended, fix #113 2015-12-11 02:37:11 +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
C109
e5ff8eae7e Added IP ban command 2015-12-07 11:50:52 -05:00
Romain Beaumont
ae6d9887fd fix bug in /tp and add regression tests 2015-12-06 18:31:25 +01:00
DemiPixel
f17f54fe92 Adding op 'n stuff 2015-12-05 21:52:46 -08:00
Romain Beaumont
c8ce897013 start fixing inventory equipments 2015-11-28 21:40:09 +01:00
Romain Beaumont
f250e4b2a4 fix chunk sending, fix #124 2015-11-25 00:46:56 +01:00
DemiPixel
cb88a5cbbb Lots and lots and lots of changes... Plugins begin again! 2015-11-21 14:30:16 -08:00
Romain Beaumont
808b5a0149 remove player specific updateAndSpawn since this is already happening for all entities 2015-11-21 00:02:41 +01: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
180799e045 Attempting to convert Player into Entity 2015-11-19 17:17:33 -08:00
Romain Beaumont
3f7853c95b update to nmp 0.16.2 2015-11-19 23:41:29 +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
Renamed from src/lib/playerPlugins/login.js (Browse further)