PlayerStats icon indicating copy to clipboard operation
PlayerStats copied to clipboard

Future feature: database support

Open Artemis-the-gr8 opened this issue 2 years ago • 2 comments

Get data in database:

  • [x] Create database outline
  • [ ] Take care of initial setup on database side:
    • [x] check if tables exist, make them if they don't
    • [x] check if values need to be added to the tables:
      • [x] statistics
      • [x] 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

  • [ ] #53
  • [ ] #27

Artemis-the-gr8 avatar Jul 06 '22 19:07 Artemis-the-gr8