Cuberite Forum
MCServer(PE) - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: MCServer(PE) (/thread-1792.html)

Pages: 1 2


MCServer(PE) - Sulfatezz - 02-17-2015

Hey,
I have a idea for this Project. Whats About to write MCServerPE?
It would be a Minecraft: Pocket Edition Server Software written in C++. Currently the only working Server Software for PE ist Pocketmine-MP in PHP but it has many bugs/many things are not implemented...

I started learning C++ a while go and know the basics so i could help. For the Protocol we could use RakNet..

It would be great if someone would make this Project.

About MCPE:

Its the Mobile Version of Minecraft written in c++. Its still in Alpha but month for month there comes Updates.


RE: MCServer(PE) - xoft - 02-17-2015

Hi, welcome to the forum.
How much different is the PE content from the desktop content? Would it make sense to actually implement just the protocol, so that MCS could serve both desktop and PE versions with the same world data? That would make much more sense to me.


RE: MCServer(PE) - worktycho - 02-17-2015

Given mcservers arcitecture there is only two ways to approch this, one a compleatly seperate application from the ground up. That would be a large amount of work. The other option would be to modify MCServer, so that with the right settings it could act as a PE server. This would be incompatible with using raknet for networking as we have our own networking system. However this would still be a signifint amount of work as MCServer is very tighly coupled, and is missing serveral key components (AI).


RE: MCServer(PE) - Sulfatezz - 02-17-2015

(02-17-2015, 08:30 PM)xoft Wrote: Hi, welcome to the forum.
How much different is the PE content from the desktop content? Would it make sense to actually implement just the protocol, so that MCS could serve both desktop and PE versions with the same world data? That would make much more sense to me.

So just only implementing the Protocol would be a difficulty. There a so many things not imlemented in PE that you have to change the World generator and other things too. I would prefer to start a new Project.

And in PE the login system is different to the PC login system. You can currently name your Profile to every name you want.


RE: MCServer(PE) - Sulfatezz - 02-17-2015

Its mean that the MCServer protocol stuff wont work with MCPE and we had to use RakNet


RE: MCServer(PE) - worktycho - 02-17-2015

Login is not a problem as we already have support for offline logon. World generation is also not too bad as we already have a framework for multiple generators, so interfacing with existing code is not difficult. The problem areas are the block handlers which only support a single behavior. Also there is no requirement to use raknet. It is perfectly feasible to reimplement the protocol from scratch.


RE: MCServer(PE) - tonibm19 - 02-18-2015

I would take the current code and add PE 0.10.5 prptocol there. And, if posible, support 1.7 and 1.8 PC too, as an unuversal server. Just like Dragonet (they took Glowstone and added PE support).
Then I would add an option to allow PE and the user would be the responsible about blocking not supported mobs/blocks/items.
But if it has to be difficult... Sad


RE: MCServer(PE) - worktycho - 02-18-2015

That on its own is doable. The problem is that you don't get a perticuarly reliable server as there are too many edge cases and minor diffierences as we discovered when we were trying to support 1.6 and 1.8 with the same server.


RE: MCServer(PE) - Sulfatezz - 02-18-2015

So i will start tomorrow on Craftbox-MP my own Server Software. If someone is intrested to help can contact me via DM

https://github.com/CraftboxPE/Craftbox-MP


RE: MCServer(PE) - tonibm19 - 02-18-2015

But, MCS based or not?