PerWorldInventory icon indicating copy to clipboard operation
PerWorldInventory copied to clipboard

PWI WorldChange Issue

Open nymphlode opened this issue 8 years ago • 3 comments

Hi there, I've been using a plugin called ItemJoin on my server. (https://www.spigotmc.org/resources/itemjoin.12661/)

It has a configuration option that will remove all inventory items in specific worlds that you join as you join it.

When I use PWI with this plugin, it removes the inventory from the world I am leaving, instead of the world I am joining. So if I was leaving world "survival" and teleporting to world "hub", the items from world "survival" are getting cleared, rather than the items from world "hub".

I asked the developer about this, and he said that this would be a problem with PWI, since it works fine with Multiverse-Inventories.

Do you have any thoughts on this?

Thanks in advance.

nymphlode avatar Sep 01 '16 20:09 nymphlode

If you could just comment on the issue, I would like to get this whole fiasco figured out.

I'm guessing that the problem isn't with PWI. If it isn't, I don't really know what to say to the author of ItemJoin. If you could just say "The problem isn't with PWI" and also the reason why, I could tell the author of ItemJoin what to do to fix the issue.

nymphlode avatar Sep 04 '16 22:09 nymphlode

I theorize that because the EventPriority he uses is HIGHEST, his plugin clears the inventory first before PWI can touch it since I use MONITOR, which runs after HIGHEST. Therefore, PWI is probably saving a blank inventory for the world being left.

EbonJaeger avatar Sep 04 '16 22:09 EbonJaeger

Sorry for the late reply.

Is there a way to fix this? Is there something he can do to make his plugin compatible with PWI?

nymphlode avatar Sep 07 '16 03:09 nymphlode