PrismarineJS / flying-squid

Create Minecraft servers with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/flying-squid/
MIT License
533 stars 101 forks source link

Make flying-squid server for Minecraft Pocket Edition. #191

Open zxl777 opened 8 years ago

zxl777 commented 8 years ago

Minecraft Pocket Edition is now popular. PE has server named Pocketmine, now Pocketmine founders have stopped updating. I believe node.js speed better than php, please continue to work hard. thank you.

rom1504 commented 8 years ago

Yeah this would be interesting. That requires protocol support https://github.com/PrismarineJS/node-minecraft-protocol/issues/235

We're currently working on that with @mhsjlw at https://github.com/mhsjlw/pocket-minecraft-protocol

ghost commented 8 years ago

The master plan is to finish node-raknet (a library for helping with Minecraft PE) and finish pocket-minecraft-protocol and put them into node-minecraft-protocol along with minecraft-classic-protocol to make one library that supports all of those versions, then (instead of turning flying-squid in to a Minecraft PE server or adding Minecraft PE server functionality) we will create a second server software that is specifically for Minecraft PE with a similar JavaScript API to flying-squid. We will still, however, continue updating flying-squid. You can track our progress from those repositories or check the node-minecraft-protocol gitter chat.

rom1504 commented 8 years ago

I think we could actually consider adding mcpe functionnality into flying-squid, but maybe as a second step indeed since it requires some more stuff (namely https://github.com/PrismarineJS/node-minecraft-protocol/issues/231)

ghost commented 8 years ago

My original idea was to keep them separate. Though, that doesn't mean someone couldn't make a plugin or we could add an option to do it.

demipixel commented 8 years ago

I would love the option to do one, the other, or both, however how certain issues are handled (i.e. missing block in one, how do you represent that in the other, etc) would need to be up to a plugin. Perhaps allow an option marked either "pc" or "pe". Then allow a plugin that wants to to mark both and handle the issues?

rom1504 commented 8 years ago

I can't see why you are talking about plugins. I agree building a protocol independant layer would require some work, that's why creating an independant server to start with might be easier, but that protocol independant layer would not be at the plugins layer, it would more likely be just after nmp. Anyway, we don't even have a basic mcpe server running yet. So let's wait until we have that before actually talking about a mcpc/mcpe server.

ghost commented 8 years ago

Yeah, I think we'll close it until we have a working Minecraft PE server model.

rom1504 commented 8 years ago

hmm why close it ? I think issues should be closed when they are solved. I was just saying there's no need to speculate how we would do a cross-server mcpc/mcpe server right now

rom1504 commented 8 years ago

pocket-minecraft-protocol basic server is now almost working (ping and packet parsing in general works, currently completing the login sequence) and then we're going at https://github.com/numerous-alpaca/numerous-alpaca

ghost commented 8 years ago

any questions about the server software and/or the libraries can be directed to the pocket-minecraft-protocol gitter chat which is here: https://gitter.im/mhsjlw/pocket-minecraft-protocol :wink: