Hi all, I'm trying to create a multi-world server for my kids and their friends, where the spawn point is base a lobby map which offers warps to different worlds, and then conversely those worlds will offer the ability to warp back to the lobby. I've loaded all the worlds in question in my pocketmine.yml, and then created a warp point with the essentialstp plugin on both sides (have also tried with SimpleWarp, but effect is the same). 90% of the time, as soon as I warp or teleport to the new world warp point, the screen starts shaking, and incrementally gets faster. If I try to warp back to the base lobby map, then the shaking is so fast it turns into a flicker. In both scenarios game play is not possible. Randomly about 10% of the time it works well, which is something I haven't been able to pin down. Is what I am trying to do even possible? If so, I'm guessing I'm approaching it wrong so would love some advice that points me in the right direction. Thx.
Is the server overloading? What you're describing should normally work? Also, it may be a problem with the device your playing on. If it runs out of RAM, than MCPE will probably stop working, as will anything else.
I'm running on a new Mac Mini, allocated 2GB RAM to Pocketmine as a hard limit, and have soft limits set to 0, have loads of free resources globally. I'm the only player on the server when doing this testing.
Yes, but what about the device that you're playing on the server with? And how much RAM does the mac have in total?
Total RAM 8GB on the server, 2.8GHZ Core i5 Processor, Running the latest Pocketmine build from Jenkins. Basically sitting idle when running these tests. Client is an iPhone 7 plus.
iPhone 7 plus come with 3GB of RAM installed. I have confirmed that this also happens on other clients, just logged in with my iPad and had the same result - so fairly confident it isn't a client side issue (unless its an issue with Minecraft PE on iOS generally)
Hmm, maybe. I don't seem to have this problem when I have tried this, and I am on Android (although you also said that it works sometimes, which makes this even more puzzling). I'm all out of ideas. Although I can tell you that MCPE doesn't officially support multiple worlds like Minecraft PC sort of does. In fact, I have discovered that if you teleport to a different world in PocketMine, and fly away far enough, you will sometimes be able to able to find some chunks from the previous world, and the other ones.
There are known problems with teleportation that are being fixed at the moment by the team - but not to the extent that you describe. Can you enable debug (set it to 2) in pocketmine.yml and post the console start up in a spoiler? Also, try lowering the view-distance setting on the server and/or devices to 4 and see if that makes a difference.
Ok, I think I've resolved it - all due to a config error on my side. My world folder(s) did not match the name in the level.dat. Loaded ManyWorlds plugin and ran a 'fixname' on the world(s) so that it matched the folder name and it is now working as expected. Still got some random chunk loading issues when teleporting between worlds, but it is completely usable. Thanks all for your help.