PerWorldInventory icon indicating copy to clipboard operation
PerWorldInventory copied to clipboard

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

Open danielgarciagarcia opened this issue 7 years ago • 12 comments

  • Plugin version: 1.11.1
  • Spigot version: git-Paper-1262 (MC: 1.12.2)
  • Relevant plugins: Multiverse-Core, MV-Portals, EssentialsX, EssentialsXSpawn, MobArena, SuperVanish, WorldGuard.
  • config.yml file: https://pastebin.com/yVrrYuri
  • worlds.yml file: https://pastebin.com/058kR6aY

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.

danielgarciagarcia avatar Dec 11 '17 23:12 danielgarciagarcia

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

EbonJaeger avatar Dec 11 '17 23:12 EbonJaeger

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

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

danielgarciagarcia avatar Dec 11 '17 23:12 danielgarciagarcia

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.

EbonJaeger avatar Dec 11 '17 23:12 EbonJaeger

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.

danielgarciagarcia avatar Dec 11 '17 23:12 danielgarciagarcia

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

EbonJaeger avatar Dec 12 '17 00:12 EbonJaeger

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

ScuroK avatar Jan 03 '18 01:01 ScuroK

I can confirm this bug... Presets:

  • MyHome plugin installed and home created in Survival world
  • new nether world created by "/mv create" command
  • 2 world-groups: Survival & Creative
  • Existing inventory in Survival group
  • Autosave of inventory set to 30s
  • Unlisted worlds share inventory config options enabled

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

Eneris avatar Jan 03 '18 13:01 Eneris

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 avatar Jan 03 '18 15:01 danielgarciagarcia

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

danielgarciagarcia avatar Jan 15 '18 14:01 danielgarciagarcia

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

Dreadonator avatar Jan 15 '18 14:01 Dreadonator

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.

danielgarciagarcia avatar Jan 15 '18 15:01 danielgarciagarcia

@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

mibby avatar Jan 16 '18 02:01 mibby