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
DemiPixel
14811552ff
Added stuff to chat
2015-12-14 19:37:17 +01:00
DemiPixel
c13c901279
Added colors, made some fixes to command.js
2015-12-14 19:37:17 +01:00
Romain Beaumont
08015d3bac
Merge pull request #160 from demipixel/fx
...
FX
2015-12-14 19:25:49 +01:00
DemiPixel
d269b0a49d
Fix a few things for FX
2015-12-13 19:35:13 -08:00
Romain Beaumont
d9eb820e3f
cactus -> portal
2015-12-14 04:01:55 +01:00
Romain Beaumont
3d6dd9faec
doesn't detect portal if there is air in it, add test to check that
2015-12-14 02:58:00 +01:00
DemiPixel
7d062ad169
Make effects ends, screw player abilities
2015-12-13 16:20:38 -08: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
DemiPixel
f8c5eac2fb
Begin implementing effects
2015-12-13 16:20:37 -08:00
Romain Beaumont
703b42abea
some fixes in findBorder, add more tests
2015-12-14 00:45:08 +01:00
Romain Beaumont
539b9c1314
implement portal detection and use it when flint and steel is used
...
currently places cactus instead of nether block because nether block seems to require the multi block change packet
lot of tests are already there, but some more need to be added, it seems some cases don't work (when the portal have edges it seems)
2015-12-12 06:45:39 +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
Romain Beaumont
5f96ff3581
remove a forgotten console.log
2015-12-11 15:51:35 +01: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
72c91c50e0
make tests independent : do beforeEach instead of before to initialize the server/bots
2015-12-11 13:49:03 +01:00
Romain Beaumont
47c75671c4
create an entity.attach, some more selector fixes, and add a fun /pile <entities> command (that will go in a plugin later)
2015-12-11 05:20:10 +01:00
Romain Beaumont
ce1ffe9c4f
fix error handling in /kill and disable /kill test until we figure out whether the server should send the despawn packet or not when the entity dies
2015-12-11 04:32:33 +01:00
Romain Beaumont
9366c1b9a7
make /attach use the selectors, fix UserError, check /tp has one target
...
see http://stackoverflow.com/a/32749533 for UserError
2015-12-11 04:14:41 +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
Romain Beaumont
c3bef15214
UserError.js -> user_error.js (js style)
2015-12-11 02:11:14 +01:00
Romain Beaumont
6207010a02
don't force entities to despawn when they die, the client figures out when to do that itself, fix #156
2015-12-11 01:14:39 +01:00
Romain Beaumont
fcce925032
fix first page of help
2015-12-11 00:59:31 +01:00
Romain Beaumont
71a85c0f48
page length to 7 like vanilla
2015-12-11 00:23:49 +01:00
DemiPixel
cd646972f7
Fix help
2015-12-10 15:06:47 -08:00
DemiPixel
b7aea8251f
Fix tp, updatePosition, and tests
2015-12-10 11:20:17 -08:00
DemiPixel
9b0970b291
Fix tp, implement entity.selectorString
2015-12-10 09:06:20 -08:00
DemiPixel
f38ea36c55
Make UserError in index.js
2015-12-10 00:14:29 -08:00
DemiPixel
cbb2068454
Made /help not shit
2015-12-09 23:04:57 -08: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
DemiPixel
67af4a8144
Fix tp and setblock, implement relative position function, throw errors instead of returning, catch errors and display error
2015-12-09 23:04:57 -08:00
Romain Beaumont
ad7253d36d
put experience pure functions in a lib and adapt the doc
2015-12-10 01:47:57 +01: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
Romain Beaumont
a770046407
properly implement /kill using selectors
2015-12-09 01:12:04 +01:00
Romain Beaumont
31a8d18aa0
Merge branch 'selector' : #149
2015-12-09 01:03:48 +01:00
Romain Beaumont
5d0d9ceb11
fix @e[type=Zombie] selector
2015-12-09 01:03:32 +01:00
DemiPixel
e151d6958e
Finish basic implementation of selectors
2015-12-07 15:59:56 -08:00
Romain Beaumont
de202f5faa
fix commands to support /ban-ip , add /pardon-ip
2015-12-07 23:47:53 +01:00
C109
e5ff8eae7e
Added IP ban command
2015-12-07 11:50:52 -05:00
DemiPixel
843fa1ffa2
Starting selectors (incomplete)
2015-12-07 01:21:45 -08:00
DemiPixel
05be3c4e89
Basic XP implementation
2015-12-06 14:44:10 -08:00
Romain Beaumont
ae6d9887fd
fix bug in /tp and add regression tests
2015-12-06 18:31:25 +01:00
DemiPixel
b4b90c01ed
Add /op and /deop
2015-12-05 22:08:00 -08:00
DemiPixel
f17f54fe92
Adding op 'n stuff
2015-12-05 21:52:46 -08:00
DemiPixel
127ef3c777
Add ~ tp /tp, small fixes
2015-12-05 21:24:38 -08:00
Romain Beaumont
6ab320e3bc
sendRelativePositionChange needs to be async because of behavior use
...
not sure if that behavior thingy has its place in that function, I think 'move' is not really a behavior at all.
'letPlayerMove' would be a normal behavior and it would be in sendRelativePositionChange.
Making plugins able to break function is not at all a good idea imho.
2015-12-06 04:39:09 +01:00
azastrael
bb75c6c1a0
Gona kill myself . . .
2015-12-06 04:19:15 +01:00
azastrael
d334fc486c
Crying right now . . .
2015-12-06 04:17:19 +01:00
azastrael
3849de3aa3
Try number 42.
2015-12-06 04:13:30 +01:00
azastrael
284cdc73fa
Please ... love me whatever stupid things i do =(
2015-12-06 03:57:30 +01:00
azastrael
844558dd89
The magic of 32.
2015-12-06 03:48:16 +01:00
azastrael
b850d23496
Fix a very bad bug.
2015-12-06 03:44:21 +01:00
azastrael
01e0162d59
Add teleport ( aka. tp ) command.
2015-12-06 03:24:48 +01:00
C109
46f1000bcf
Fixed friction bug
2015-12-01 11:35:20 -05:00
Romain Beaumont
04ab50b7d8
add /attach <carrierId> <attachedId> to attach an entity on an other one
...
will be used to make a attach function and in vanilla uses later
2015-11-30 02:51:25 +01:00
Romain Beaumont
57ff06a805
map 7 dragon parts to dragon when attacking the dragon, fix #109
2015-11-29 22:03:42 +01:00
Romain Beaumont
64c1a5921d
entity should despawn even if animation=false
2015-11-29 20:35:58 +01:00
Romain Beaumont
c34ebb1f5e
fix entity dying, add /killall commands, add entity.takeDamage method, remove despawnPlayers (same as despawnEntities)
2015-11-29 20:08:42 +01:00
Romain Beaumont
959100ef7d
stop extending prismarine-entity and add license field
2015-11-28 22:38:08 +01:00
Romain Beaumont
e7952f386f
send equipment during spawn and fix some code style issues
2015-11-28 21:54:49 +01:00
Romain Beaumont
c8ce897013
start fixing inventory equipments
2015-11-28 21:40:09 +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
mhsjlw
96ef26a21b
Update README.md
2015-11-28 07:26:36 -05:00
Romain Beaumont
f2889dd674
fix /command help message
2015-11-28 02:16:23 +01:00
Romain Beaumont
23094fd152
try/catch acceptClick until everything is implemented
2015-11-28 01:53:35 +01:00
Romain Beaumont
af3cfeda51
fix place lime wool bug (use Item.fromNotch)
2015-11-28 01:48:54 +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
Romain Beaumont
82dbd722fd
most objects don't despawn and don't get picked up, fix #121
2015-11-25 00:52:49 +01:00
Romain Beaumont
f250e4b2a4
fix chunk sending, fix #124
2015-11-25 00:46:56 +01:00
Romain Beaumont
804ddee7c1
Merge pull request #123 from 109C/master
...
Disable shift clicking
2015-11-25 00:12:07 +01:00
C109
69379d75e4
Not even shift clicking works...
2015-11-24 18:09:55 -05:00
Romain Beaumont
77b326ffee
Merge pull request #122 from 109C/master
...
No more crashes when using uniplemented windows.js features
2015-11-25 00:06:22 +01:00
C109
d5a8acbe3b
No more crashes
2015-11-24 18:02:32 -05:00
Romain Beaumont
58193cb37e
Merge pull request #116 from 109C/master
...
Add survival inventory handling for players
2015-11-24 23:43:02 +01:00
DemiPixel
8d9eb32073
Fix crashing for module plugins
2015-11-24 14:35:07 -08:00
DemiPixel
483269db4c
Added forceCancelDig and some other stuff
2015-11-23 19:27:35 -08:00