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

Rewrite User system to support SQL structure. #48

Open
fabianmakila opened this issue Jan 2, 2024 · 0 comments
Open

Rewrite User system to support SQL structure. #48

fabianmakila opened this issue Jan 2, 2024 · 0 comments

Comments

@fabianmakila
Copy link
Owner

This will be a complete rewrite of the current user system. While I've been fairly happy with the file based storage system this needs to eventually happen in order to support future features.

I've been wanting to support MySQL storage for a while now but haven't had a really good reason to do a complete rewrite.

The biggest motivation for this is that this makes OfflinePlayer type argument much easier to implement. The current implementation that the mute / unmute uses is a bit wonky. Moving to a SQL based storage allows us to query x amount of users based of the user input which will be much more efficient than looking up the name from a JSON file.

TLDR;

  • Move away from the "User" terminology and use "ProxyChatPlayer" instead.
  • Switch to a SQL based storage system
  • Support both SQLite and MySQL (maybe more in the future?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant