EbonJaeger / PerWorldInventory

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

Inventory & enderchest wipe between creative and survival worlds, and fly bug. #284

Open danielgarciagarcia opened 6 years ago

danielgarciagarcia commented 6 years ago

ISSUE DESCRIPTION

I'm here hoping to get some help from the developer, or a fix for this severe issue:

There are two world groups on my server, the survival and the creative ones. When a player switches from the survival to the creative one, they get automatically the gamemode creative on the world, which is the the expected behavior; but it seems that they have no fly activated. Now, sometimes, when they return to a survival world, the survival inventory is completely wiped, as well as the enderchest content, and when the system forces their gamemode to be survival as they have switched world, they still have the fly activated with survival gamemode.

The worlds are configured with Multiverse-Core, with default gamemodes as SURVIVAL and CREATIVE on the corresponding worlds. PWI has the Inventory per Gamemode setting activated.

EbonJaeger commented 6 years ago

I am hoping to have this fixed in the 2.0 rewrite.

danielgarciagarcia commented 6 years ago

Excellent new. Is there any ETA for this fix then?

Thanks for responding this fast, nowadays not much developers show this interest :)

EbonJaeger commented 6 years ago

None yet. Because it's a full rewrite, it's pretty significant. The Github repo for it can be found here. A lot of the base stuff is done and out of the way, but there is a lot left to go.

danielgarciagarcia commented 6 years ago

Oh! It's pretty recent the new rewrite project. Interesting you use Kotlin instead of Java, is it fully compatible with Spigot software? At the speed you go coding the new plugin, I hope it gets the first stable version soon.

EbonJaeger commented 6 years ago

Kotlin runs on the JVM just like Java and is fully compatible.

ScuroK commented 6 years ago

This might be related to #291 but im not sure. im on 1.12.2 and also use MV.

Eneris commented 6 years ago

I can confirm this bug... Presets:

Story

  1. Teleport to Creative normal world by "/mv tp"
  2. Use nether portal to port to new nether associated to that world (not yet in worlds config)
  3. (Inventory is cleared and Survival is forced uppon world entry)
  4. After teleport to /home - Cleared inventory remains
danielgarciagarcia commented 6 years ago

Unfortunately this plugin is broken and is dangerous to be used on a server, as this is one of the confirmed bugs reproducible. I hope the developer can release as soon as posible an stable version on where at least, the only feature the plugin is supposed to offer, works appropiately.

Is there any progress made on the 2.0 version?

danielgarciagarcia commented 6 years ago

@Gnat008 is this bug fixed with the latest commit https://github.com/Gnat008/PerWorldInventory/commit/2c21824a6111af5ef8b353497282ea1df966193f?

Dreadonator commented 6 years ago

Turn of manage-gamemodes and retry. If i enable the gme mode manager pwi is full of bugs. Without it i have no problms.

danielgarciagarcia commented 6 years ago

Well, @Dreadonator I'm using PWI because I need a plugin to manage gamamode inventories per world... I'm afraid that wouldn't be an option. It seems that there was another report (https://github.com/Gnat008/PerWorldInventory/issues/291) that has been fixed. Although I don't exactly know if the patch applied for the report 291 fixes this one.

mibby commented 6 years ago

@MetalGearDaner The issue is not fixed with commit https://github.com/Gnat008/PerWorldInventory/commit/2c21824a6111af5ef8b353497282ea1df966193f. I seem to be experiencing the same problem.

https://github.com/Gnat008/PerWorldInventory/commit/2c21824a6111af5ef8b353497282ea1df966193f#commitcomment-26876309