Skip to content

Last logout time for /seen not updated on server restart #2764

@mibby

Description

@mibby

EssentialsX dev 780

It seems essential user files for users loaded / logged in are not saved when the server restarts. It doesn't flush to disk on shutdown procedure to save their last login times.

  • Have a user who has last logged in 4 days ago.
  • User logs in. Their /seen time is now online.
  • The server restarts automatically during a scheduled reboot while they are online. It goes through the entire shutdown /stop procedure, then spins back online with its start-up arguments.
  • Checking the player who was online, their last seen activity was 4 days ago still.

Apparently this bug has existed for a while and is why some of my users log off before automatic restarts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.help wantedIssues that need further investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions