Jikoo / OpenInv

Open anyone's inventory as a chest, real-time!
GNU General Public License v3.0
120 stars 41 forks source link

[!] Player items are disappearing #216

Closed caiobarnes closed 4 months ago

caiobarnes commented 4 months ago

Good evening, developer,

The version of my server is 1.20.4, and I am using version 4.4.5 of the OpenInv plugin. I have a multi-server survival. I use it on server1 and server2. However, when the player switches servers, usually in version 1.21, the items disappear. This is my configuration

config-version: 6
settings:
  command:
    open:
      no-args-opens-self: false
    searchcontainer:
      max-radius: 10
  disable-offline-access: false
  disable-saving: false
  locale: en_us
toggles:
  any-chest:
    f08d5d85-947c-48f7-bb9a-7f7aa04ecc21: false
Jikoo commented 4 months ago

If you're using some other system that overwrites the player load/save process you will need to configure OpenInv to not work on offline players. Set settings.disable-offline-access to true.

caiobarnes commented 4 months ago

I use SyncInV, I put true in this option. But now you can no longer access the server, as it does not load data from the syncinv plugin, I even tried to remove openinv, but now it has become a dependency on syncinv, what do I do?

Jikoo commented 4 months ago

If the plugin you're using has some form of hook for OpenInv, you'll need to contact them for support. OpenInv itself only supports vanilla's player data format, and only in an environment where one server will access it at a time.