Per configuration option island.reset.on-join.inventory: true inventory is cleared. Unfortunately, that includes locked ItemJoin items. It would be nice if such items remained in inventory. In my case, they are used for inter-world navigation and other server-specific features.
Steps to reproduce the behavior
Start server with
ItemJoin, including locked items
Multiverse-Core
Multiverse-Inventories
Configure BSB to include island.reset.on-join.inventory: true
Rest BSB island
Observer that inventory is cleared, including locked items.
Expected behavior
It would be nice if BSB recognized locked items and left them in the inventory. Recognizing ItemJoin locked items would be fine, but very plugin-specific. As a generic solution: allow (arbitrary) commands that are run at the beginning and end of the reset sequence. Something like:
island:
reset:
on-join:
# Reset inventory - if true, the player's inventory will be cleared.
# Note: if you have MultiInv running or a similar inventory control plugin, that
# plugin may still reset the inventory when the world changes.
inventory: true
commands-pre-reset: []
commands-post-reset: []
Description
Describe the bug
Per configuration option
island.reset.on-join.inventory: true
inventory is cleared. Unfortunately, that includes locked ItemJoin items. It would be nice if such items remained in inventory. In my case, they are used for inter-world navigation and other server-specific features.Steps to reproduce the behavior
island.reset.on-join.inventory: true
Expected behavior
It would be nice if BSB recognized locked items and left them in the inventory. Recognizing ItemJoin locked items would be fine, but very plugin-specific. As a generic solution: allow (arbitrary) commands that are run at the beginning and end of the reset sequence. Something like:
which for me would be:
Environment
Output of
/bbox version
(Mandatory)Plugins (Optional)