PlayerStats icon indicating copy to clipboard operation
PlayerStats copied to clipboard

Future feature: database support

Open Artemis-the-gr8 opened this issue 3 years ago • 4 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

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

994AK avatar Aug 03 '22 03:08 994AK

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!

Artemis-the-gr8 avatar Aug 03 '22 07:08 Artemis-the-gr8

Hey there. Is there any update on #27 ?

Would love to see this feature be released

NotToBlame avatar Mar 05 '25 04:03 NotToBlame

Hey there. Is there any update on #27 ?

Would love to see this feature be released

Hi! I have to be honest, it's been a really long time since I've worked on this plugin, and it's hard to remember how everything works again and what my plans were for the new features. I've been trying to get reacquainted with it when I have some spare time, but it's a challenge. So all I can tell you is maybe one day I'll actively develop new things for PlayerStats again, but probably not any time soon.

Artemis-the-gr8 avatar Mar 18 '25 12:03 Artemis-the-gr8