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

[FEATURE]: Get the play time of a player #934

Closed
Lxk3y opened this issue Mar 31, 2024 · 1 comment
Closed

[FEATURE]: Get the play time of a player #934

Lxk3y opened this issue Mar 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Lxk3y
Copy link

Lxk3y commented Mar 31, 2024

Scope

Developer API

Feature Description

I would like the ability to get the play time of a player on the server. This feature was requested around 2 years a go as a comment in a different issue, but I don't believe it's been requested as a specific feature.

It doesn't need to be anything complex. A simple export would be fine.

Use Case

Being able to get the play time of a player would provide a whole host of positive use cases for players, some of which I will list below:

  • Stop players duplicating logic by creating their own play time calculation scripts. What's the point when TxAdmin already does it?
  • Allow players to use the play time to do things like issue rewards or perks to players with various amount of play time.
  • Allow players to fetch and store this data in their own database to use for external web panels/websites connected to their server.

Proposed Solution

I believe a simple server sided export allowing you to pass the player ID OR identifier into the export to receive their play time.

Additional Info

No response

@Lxk3y Lxk3y added the enhancement New feature or request label Mar 31, 2024
@tabarra
Copy link
Owner

tabarra commented Mar 31, 2024

Sorry, but this still falls under #442

@tabarra tabarra closed this as completed Mar 31, 2024
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

No branches or pull requests

2 participants