BlockHorizons / PerWorldInventory

A full-featured per world inventory plugin for PocketMine-MP.
https://poggit.pmmp.io/p/perworldinventory
Apache License 2.0
14 stars 10 forks source link

Building Terrain almost infinite and Login timeout! #2

Closed BrianZP closed 7 years ago

BrianZP commented 7 years ago

Description:

Building terrain wait is too long. And changing world leads to player logging out due to timeout.

Core:

Sandertv commented 7 years ago

Hmmm... Did you try if the same happens without the plugin? Did it enable correctly?

BrianZP commented 7 years ago

Yup I tried entering without the plugin. Everything worked fine. To remove further confusion I tested it with no plugins installed other that PerWorldInventory

Sandertv commented 7 years ago

Alright, thanks. I'll be looking into it.

Sandertv commented 7 years ago

Could you check if the PerWorldInventory/inventories/yourname.yml file contains text?

BrianZP commented 7 years ago

Yes it contains it. And the line is encrypted.

Sandertv commented 7 years ago

Okay so saving goes correctly. It must be in the inventory fetching then. Let's see...

Sandertv commented 7 years ago

I'm not sure about the long building terrain issue though, I don't think that has to do with this plugin. It doesn't do anything when the player joins after all. I did see that issue reported on the PocketMine repository.

Sandertv commented 7 years ago

You could try the latest commit. I'm not sure if that'll work.

Sandertv commented 7 years ago

@BrianZP have you tried the latest version? Does your issue still persist?

BrianZP commented 7 years ago

Sorry for late reply I was out of country. And I just tested the plugin, the inventory seems to be saving but for some reason whenever a player goes into a different world the inventory is not switched. I will try to explain. So if a player is in world1 and has 2 sticks + 10 gapples and goes into world2 via /warp world2 the inventory is not switched and the player has same inventory in both worlds. But if the player does /clearinventory in world2 and goes back to world1 via /warp world1 the player gets his old inventory back i.e 2 sticks and 10 gapples but once again when the player goes to world2 the player has same inventory.

Sandertv commented 7 years ago

Have you added any bundled worlds in the config.yml?

BrianZP commented 7 years ago

Nope. I was using the deafult config. Plus none have per-world-inventoy.bypass perm.

Sandertv commented 7 years ago

Try the latest version, it should work :)

BrianZP commented 7 years ago

Thanks alot @Sandertv everything is working great now!

Sandertv commented 7 years ago

Awesome! :)