Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BPlayer database record got #2402

Closed
Kryniowesegryderiusz opened this issue Jun 10, 2024 · 1 comment
Closed

BPlayer database record got #2402

Kryniowesegryderiusz opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug

Comments

@Kryniowesegryderiusz
Copy link

Kryniowesegryderiusz commented Jun 10, 2024

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 tastybento self-assigned this Jun 10, 2024
@tastybento tastybento added Status: Under investigation Investigating the interest and the feasability of the issue. Type: Bug Status: In progress Working on the issue. and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Jun 10, 2024
tastybento added a commit that referenced this issue Jun 10, 2024
This was due to the changes to the Player cache. On quit the cache was
cleared, but this was also deleting the player from the database.
tastybento added a commit that referenced this issue Jun 10, 2024
This was due to the changes to the Player cache. On quit the cache was
cleared, but this was also deleting the player from the database.
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Jun 10, 2024
@tastybento
Copy link
Member

Thanks. Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants