BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
333 stars 137 forks source link

BPlayer database record got #2402

Closed Kryniowesegryderiusz closed 3 months ago

Kryniowesegryderiusz commented 3 months ago

Did something change within BPlayers database management? When I leave the server player's record is deleted from that table. Should it be like that or should i post github issue?

I'm asking because all player meta is removed by server restart, when new player record is beeing created without in memory settings (like metaData or flagsDisplayMode)

Expected behavior

BPlayer database record should stay in the database, when player disconnects to maintain his options.

Observed/Actual behavior

BPlayer database record gets removed after player disconnect

Steps/models to reproduce

  1. Join server
  2. BPlayer record is created
  3. Leave server
  4. BPlayer record doesnt exist anymore

BentoBox version

09.06 18:44:11 [Server] INFO Running PAPER 1.20.6.
09.06 18:44:11 [Server] INFO (1.20.6-2223-224e7c7 (MC: 1.20.6))
09.06 18:44:11 [Server] INFO BentoBox version: 2.4.0-SNAPSHOT-b2645
09.06 18:44:11 [Server] INFO Database: MYSQL
09.06 18:44:11 [Server] INFO Loaded Game Worlds:
09.06 18:44:11 [Server] INFO skyblock (SkyBlock): Swiat, Pieklo, End
09.06 18:44:11 [Server] INFO Loaded Addons:
09.06 18:44:11 [Server] INFO Biomes 2.2.0-SNAPSHOT-b258 (ENABLED)
09.06 18:44:11 [Server] INFO Border 4.3.0 (ENABLED)
09.06 18:44:11 [Server] INFO BSkyBlock 1.18.0-SNAPSHOT-b763 (ENABLED)
09.06 18:44:11 [Server] INFO DimensionalTrees 1.7.0 (ENABLED)
09.06 18:44:11 [Server] INFO Level 2.14.0-SNAPSHOT-b575 (ENABLED)
09.06 18:44:11 [Server] INFO Limits 1.21.0 (ENABLED)
09.06 18:44:11 [Server] INFO SkyblockCore 0.5 (ENABLED)
09.06 18:44:11 [Server] INFO SkyIslandUpgrades 0.1 (ENABLED)
09.06 18:44:11 [Server] INFO Warps 1.15.0-SNAPSHOT-b362 (ENABLED)

Plugin list

No response

Other

No response

tastybento commented 3 months ago

Thanks. Fixed.