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

feat: lastLoggedOut in PlayerData #394

Merged
merged 15 commits into from
Mar 4, 2024
Merged

feat: lastLoggedOut in PlayerData #394

merged 15 commits into from
Mar 4, 2024

Conversation

TonybynMp4
Copy link
Contributor

Description

Adds a new db column 'lastLoggedOut' that is updated on logout & playerDropped.
This new value can be accessed through the PlayerData & used to know when the player last logged out.

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

@TonybynMp4 TonybynMp4 linked an issue Mar 1, 2024 that may be closed by this pull request
@TonybynMp4 TonybynMp4 added the enhancement New feature or request label Mar 1, 2024
qbx_core.sql Outdated Show resolved Hide resolved
server/events.lua Outdated Show resolved Hide resolved
server/player.lua Outdated Show resolved Hide resolved
server/storage/players.lua Outdated Show resolved Hide resolved
server/storage/players.lua Outdated Show resolved Hide resolved
@Manason
Copy link
Member

Manason commented Mar 1, 2024

Did you test this?

@TonybynMp4 TonybynMp4 requested a review from Manason March 1, 2024 18:41
server/storage/players.lua Outdated Show resolved Hide resolved
server/storage/players.lua Outdated Show resolved Hide resolved
server/storage/players.lua Outdated Show resolved Hide resolved
@TonybynMp4 TonybynMp4 merged commit f8122c1 into main Mar 4, 2024
4 checks passed
@TonybynMp4 TonybynMp4 deleted the lastLoggedOut branch March 4, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add last_updated to PlayerData
4 participants