Romain Beaumont
a50642967b
use more es6 arrow function, and directly define the player.f functions instead of defining the function then assigning it
2015-10-26 01:15:21 +01:00
Romain Beaumont
69819b880e
proper /changeworld overworld|nether command implemented
2015-10-25 23:58:30 +01:00
Romain Beaumont
939a404050
fix grass in diamond_square
2015-10-25 23:33:12 +01:00
Romain Beaumont
2a3b8a157b
add player.spawnAPlayer, player.despawnPlayers, player.updateAndSpawnNearbyPlayers, automatically spawn and despawn players when getting closer or far
2015-10-25 23:26:04 +01:00
Romain Beaumont
c2b1424743
serv.setBlock -> player.setBlock
2015-10-25 21:24:37 +01:00
Romain Beaumont
e3b7ad569b
fix stuff related to changeWorld
...
* use writeOthersNearby everywhere
* create player.playerViewDistance
* put toFixedPosition in vec3 prototype
* fix changeWorld (use the same function than in login)
* use entity_destroy in changeWorld
* sendPosition, not setPosition
* disable pregenWorld : it just makes everything slow
2015-10-25 21:03:02 +01:00
DemiPixel
7ac4653ea2
Maybe this works
2015-10-24 21:22:20 -07:00
DemiPixel
f0cce9fadb
Added lots of communication stuff
2015-10-24 21:02:26 -07:00
DemiPixel
bb80bd7c44
Changed stuff, added seeds, etc
2015-10-24 19:41:21 -07:00
DemiPixel
c48dc8c2c0
Fail
2015-10-24 18:47:02 -07:00
DemiPixel
afb75e4bea
Update docs, small fix
2015-10-24 18:39:59 -07:00
DemiPixel
1b739c3391
NOT FINAL VERSION, stuff still broken but some more fixes
2015-10-24 17:15:04 -07:00
DemiPixel
cfa690efb3
Change serv.world to serv.worlds. Added playerPlugins/world.js and moved a lot of stuff from login.js there. Generating multiple worlds works and moving players there works as well. A few issues here and there.
2015-10-24 17:10:43 -07:00
DemiPixel
1917165caf
Change serv.world to serv.worlds. Added playerPlugins/world.js and moved a lot of stuff from login.js there. Generating multiple worlds works and moving players there works as well. A few issues here and there.
2015-10-24 16:56:28 -07:00
Romain Beaumont
24370e9d0f
make the program crash in case of errors
2015-10-24 22:12:11 +02:00
Romain Beaumont
17b65f5021
crash when there is an error during login
2015-10-24 21:44:30 +02:00
Romain Beaumont
8a93ffbdd9
anvil loading
2015-10-23 17:26:25 +02:00
Romain Beaumont
cf7b1e8fe5
send only one player_info packet, now that the problem has been solved: don't send the displayName
2015-10-14 18:58:28 +02:00
Romain Beaumont
892199e4a3
Merge pull request #72 from JWo1F/commands
...
fix #42
2015-10-13 00:17:55 +02:00
Romain Beaumont
c89c9e722e
move Command class to its own file, fix bugs in commands and improve info
2015-10-13 00:17:38 +02:00
Romain Beaumont
82353ad13c
actually fix displayName by not putting it (the vanilla server does that)
2015-10-12 23:01:27 +02:00
Romain Beaumont
57a253565f
display name is a json chat
2015-10-12 22:53:09 +02:00
Romain Beaumont
7b93432d7f
disable broken world border
2015-10-12 22:36:10 +02:00
Romain Beaumont
50785a9e5e
improve spawn point
2015-10-12 21:59:13 +02:00
Romain Beaumont
c26b11bb74
fix 2 bugs in login : send the update health packet + send named_entity_spawn as fixed point
2015-10-12 21:46:55 +02:00
Romain Beaumont
06770fc23f
force compression
2015-10-12 18:59:57 +02:00
Romain Beaumont
0c738d1b74
make map sending a bit more lazy, that way it's always instant to login in the game, even if some chunks are missing
2015-10-12 18:08:20 +02:00
Romain Beaumont
86b83e4e8d
fix basic.js, fix #74
2015-10-11 14:25:47 +02:00
JWo1F
b51519e138
fixes
2015-10-11 07:32:49 +03:00
JWo1F
19b5c9a9cc
move code to inject section
2015-10-11 07:11:36 +03:00
JWo1F
75f974ecc8
ping!
2015-10-11 06:42:46 +03:00
JWo1F
0f5ce49610
commands
2015-10-11 06:11:03 +03:00
Romain Beaumont
82067d1424
add try catch for the modpe commands to avoid crashes
2015-10-10 19:07:00 +02:00
Romain Beaumont
316ed6b49b
add _worldSync to implement modpe api
2015-10-10 18:54:21 +02:00
Romain Beaumont
32c1368107
add all_the_blocks generation
2015-10-10 16:15:33 +02:00
Romain Beaumont
54e9e6b979
Merge pull request #67 from demipixel/mini-worldgen-change
...
Mini worldgen change
2015-10-10 16:02:37 +02:00
Romain Beaumont
51148036e4
put modpe in its own command namespace (/modpe <command>), add the same /time command that minecraft has
2015-10-10 15:56:47 +02:00
DemiPixel
7fd8e56d3e
Of course it breaks
2015-10-09 17:33:29 -07:00
DemiPixel
7a028e7193
Quick fixes, adding everything to api.md
2015-10-09 17:30:10 -07:00
DemiPixel
e062e4d6a9
Start of ticks, added daycycle, fixed inventory + chest things
2015-10-09 17:18:13 -07:00
Romain Beaumont
012f6e7c30
fix lines in modpe.js
2015-10-09 20:17:37 +02:00
Romain Beaumont
3f0c099c42
generate an uuidv3 in offline mode, fix #68
2015-10-09 19:46:14 +02:00
DemiPixel
c72452da79
Added waterline + dirt/bedrock height
2015-10-09 10:29:40 -07:00
Romain Beaumont
36465cf00d
fix modpe dir
2015-10-09 18:07:33 +02:00
Romain Beaumont
0e3ce375a6
fix metadata (nmp 0.15)
2015-10-09 18:07:33 +02:00
Romain Beaumont
cd3434b8ea
move back files where they should have been (in src/)
2015-10-09 18:07:33 +02:00
Ubuntu
a4cae0c143
Modpe support is merged, added flag for enabling modpe, added world edit
2015-10-09 18:07:33 +02:00
Creeplays
e00d3e294c
Move _writeAll
2015-10-09 18:07:33 +02:00
Creeplays
4219435bb7
Blah, blah...
2015-10-09 18:07:33 +02:00
Alex
8658a5eb6b
move waterline to params
2015-10-09 18:50:28 +03:00