Slimefun

Slimefun

3M Downloads

Player data is not updated immediately after the player disconnects

JinOuYongGu opened this issue ยท 4 comments

commented

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.
image

๐Ÿ“‘ Steps to reproduce the Issue (REQUIRED)

  1. Unlock some sf items, or put items into slimefun backpack
  2. Leave the server
  3. 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)

image

commented

You're not using the official Slimefun build. Report this to whatever Chinese fork you downloaded this from.

commented
  1. You said "The behavior actually not cause any problem"... then why make a bug report...
  2. You are not using an official Slimefun build.
commented

Sorry for my wrong report, and thanks for yours suggestion

commented

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