EbonJaeger / PerWorldInventory

Spigot multi-world inventory management
GNU General Public License v3.0
21 stars 17 forks source link

Inventories disappearing after changing worlds #245

Open LightningSFM opened 7 years ago

LightningSFM commented 7 years ago

Hey, first of all, this plugin does exactly what I want it to. However, I had a version of this on my server before, and when people went from one world to another, they would lose their inventory, but when they went back to the world they were in, everything in their inventory would come back, per each world, as the plugin name suggests. However, there was a conflict at one point, and my gamemode wouldn't change per-world, despite there not being an op-bypass. This still happens, but after realizing it wasn't because of this plugin but rather something else, i put this one back in. I have a survival world for everyone to play traditional minecraft, and i have an admin survival, which, as the name says, is only for admin (because my other server goers completely destroyed survival. right now, though, people lose their inventories every time they change worlds. Example: a friend of mine was playing in admin. she decided to come to the world we have for roleplays, but then went back to admin. everything she had in admin disappeared. the inventory didn't come back like it used to. she brought it to my attention, and i explained it was due to the plugin and that she should put her stuff in a chest if she knew she had to log off. And then, while she was playing, her game crashed, and once again, all was lost. How can i get it back to the way it was, where people would get their inventory back when going into the world they had that inventory in? People are getting frustrated, and I don't see anything in the config that can help. I am running a Bukkit 1.8.3 server, and i have the latest version of PWI - 1.10.0

Any help is appreciated. Thanks.

LightningSFM commented 7 years ago

oh, and here's the console error code i keep getting. not sure if this is whenever someone leaves one world to join another or what, because it also says it when the server is reloaded. ERROR Could not pass event PlayerChangedWorldEvent to PerWorldInventory v1.10.0

ljacqu commented 7 years ago

Hi @LightningSFM , for the second error (Could not pass event) could you please create a new issue including the full server log with the error?

As for the first issue, I tested with the latest code (the JAR is available at https://github.com/ljacqu/PerWorldInventory/tree/latest-jar) and inventories seem to work just fine when teleporting across a few works. Maybe could you post your worlds.yml and config.yml? Then I will test with those files.