Player data is not updated immediately after the player disconnects
JinOuYongGu opened this issue ยท 4 comments
Thank you for looking at this issue
๐ Description (REQUIRED)
After a player disconnected the server, the data file in folder Players will not be updated until the Slimefun autosave task runs. In my memory, the old version of Slimefun will update the files when a player offline.
The behavior actually not cause any problem like lost of items.
But I don't know if the behavior is correct. Because I want to synchronize data between servers, and it may cause lag.
๐ Steps to reproduce the Issue (REQUIRED)
- Unlock some sf items, or put items into slimefun backpack
- Leave the server
- The file in the screenshot still stores the info several mins ago.
๐ก Expected behavior (REQUIRED)
The data file of a player should be updated immediatlly when a player is disconnected.
๐ Server Log
There is no log.
๐ /error-reports/ Folder
There is no error report.
๐งญ Environment (REQUIRED)
You're not using the official Slimefun build. Report this to whatever Chinese fork you downloaded this from.
- You said "The behavior actually not cause any problem"... then why make a bug report...
- You are not using an official Slimefun build.
Hi, As i said in modified chinese ver fork readme, post issue in cn ver project first. If you intend to solve your question, check https://github.com/StarWishsama/Slimefun4/issues