Skip to content

When the player performs skyblock operations while in a non-BentoBox world, their inventory will be cleared. #48

@keimuji

Description

@keimuji

Expected behavior

When the player is in a non-BentoBox world and performs certain operations with the BentoBox plugin, their inventory in the non-BentoBox world should not be affected.

Observed/Actual behavior

When the player is in a non-BentoBox world and performs certain operations with the BentoBox plugin, their inventory in the non-BentoBox world gets cleared.

Steps/models to reproduce

Take BSkyBlock as an example:

1.Player B creates a BSkyBlock island and invites Player A.

2.Player A accepts the invitation and is automatically teleported to the island created by Player B.

3.Player A teleports to a non-BentoBox world.

4.Player B executes /is team kick Player A.

5.At this point, Player A's inventory disappears.

Another scenario:

1.A player creates a BSkyBlock island and is automatically teleported to the island.

2.The player teleports from the island to a non-BentoBox world.

3.The player executes /is reset to reset their island.

4.After the reset is complete, the player is automatically teleported back to the BentoBox world.

5.The player then returns to the non-BentoBox world. At this point, the player's inventory disappears.

I’ve only listed two scenarios, but there are actually other combinations.

For example, if player A has joined player B’s island, and while player A is in a non-BentoBox world, player B resets their own island, this also causes player A’s inventory in the non-BentoBox world to be cleared.

I’m not sure if there are any other overlooked scenarios.

BSkyBlock configuration:
~\plugins\BentoBox\addons\BSkyBlock\config.yml

on-join:
      money: true
      inventory: true
      health: true
      hunger: true
      exp: true
      ender-chest: true
on-leave:
      money: true
      inventory: true
      health: true
      hunger: true
      exp: true
      ender-chest: true

The reason for this configuration is that I do not want players to retain their previous items or progress after creating/resetting an island, being invited, or being kicked.

This configuration should only affect the BentoBox world and should not affect other worlds.

BentoBox version

https://mclo.gs/kHOKVEz

[15:16:39] [Server thread/INFO]: [BentoBox] Enabling BentoBox v3.16.2
[15:16:39] [Server thread/INFO]: [BentoBox] Loading Settings from config.yml...
[15:16:39] [Server thread/INFO]: [BentoBox] Saving default panels...
[15:16:41] [Server thread/INFO]: [BentoBox] Loading addons...
[15:16:41] [Server thread/INFO]: [BentoBox-Level] Loading server plugin BentoBox-Level v2.27.0
[15:16:41] [Server thread/INFO]: [BentoBox-BSkyBlock] Loading server plugin BentoBox-BSkyBlock v1.20.0
[15:16:41] [Server thread/INFO]: [BentoBox-AOneBlock] Loading server plugin BentoBox-AOneBlock v1.25.0
[15:16:41] [Server thread/INFO]: [BentoBox-AcidIsland] Loading server plugin BentoBox-AcidIsland v1.22.0
[15:16:41] [Server thread/INFO]: [BentoBox-InvSwitcher] Loading server plugin BentoBox-InvSwitcher v1.17.1
[15:16:41] [Server thread/INFO]: [BentoBox-Biomes] Loading server plugin BentoBox-Biomes v2.3.0
[15:16:42] [Server thread/INFO]: [BentoBox-CaveBlock] Loading server plugin BentoBox-CaveBlock v1.20.1
[15:16:42] [Server thread/INFO]: [BentoBox-Boxed] Loading server plugin BentoBox-Boxed v3.3.0
[15:16:42] [Server thread/INFO]: [BentoBox-Challenges] Loading server plugin BentoBox-Challenges v1.6.0
[15:16:43] [Server thread/INFO]: [BentoBox-StrangerRealms] Loading server plugin BentoBox-StrangerRealms v1.0.5
[15:16:43] [Server thread/INFO]: [BentoBox-Border] Loading server plugin BentoBox-Border v4.8.3
[15:16:43] [Server thread/INFO]: [BentoBox-DimensionalTrees] Loading server plugin BentoBox-DimensionalTrees v1.9.0
[15:16:43] [Server thread/INFO]: [BentoBox-Poseidon] Loading server plugin BentoBox-Poseidon v1.1.0
[15:16:43] [Server thread/INFO]: [BentoBox-ControlPanel] Loading server plugin BentoBox-ControlPanel v1.16.0
[15:16:43] [Server thread/INFO]: [BentoBox-Bank] Loading server plugin BentoBox-Bank v1.9.1

Plugin list

No response

Other

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions