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

Future feature: database support #85

Open
5 of 16 tasks
Artemis-the-gr8 opened this issue Jul 6, 2022 · 2 comments
Open
5 of 16 tasks

Future feature: database support #85

Artemis-the-gr8 opened this issue Jul 6, 2022 · 2 comments
Labels
future Feature will be implemented in the future

Comments

@Artemis-the-gr8
Copy link
Contributor

Artemis-the-gr8 commented Jul 6, 2022

Get data in database:

  • Create database outline
  • Take care of initial setup on database side:
    • check if tables exist, make them if they don't
    • check if values need to be added to the tables:
      • statistics
      • subStatistics
  • Take care of initial setup on PlayerStats side:
    • if players table is empty, give prompt to OP player (or player with permission) to fill database
    • fill playertable
    • fill valuetable
  • Keep data updated dynamically
    • Keep track of online players
  • Add update-database command to manually force an update of valuetable (or all tables?)

Get data out of database

  • Write logic to retrieve statResults from database

@Artemis-the-gr8 Artemis-the-gr8 added the future Feature will be implemented in the future label Jul 6, 2022
@994AK
Copy link

994AK commented Aug 3, 2022

hi I appreciate you, it would be better if there is mysql

@Artemis-the-gr8
Copy link
Contributor Author

hi I appreciate you, it would be better if there is mysql

Thanks for the appreciation!
I'm currently working on PlaceholderAPI support, but once that's finished I will probably start working on database support. I haven't worked with databases before, so it might take me some time to learn how to properly implement it, but I'll get there eventually!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future Feature will be implemented in the future
Projects
None yet
Development

No branches or pull requests

2 participants