Artillex-Studios / AxInventoryRestore

A plugin that backs up player's inventories and lets staff restore them or export it as a shulker.
MIT License
16 stars 5 forks source link

Add compatibility for HuskSync. #28

Open killertuling opened 2 weeks ago

killertuling commented 2 weeks ago

In reality, the plugin can work with HuskSync. However, I encountered a situation where when a player switched servers, HuskSync had not fully synchronized the inventory yet, and AxInventoryRestore saved the inventory. This led to confusion when querying the player's inventory about the saved data. It was only after coordinating with records like COI that I found out it was caused by AxInventoryRestore saving "too early." This is a low-probability event, but it did happen. Could you please add extra compatibility for synchronization plugins like HuskSync, to make it wait a bit for HuskSync when switching servers?