Open sazarkin opened 3 months ago
The main target with this plugin is to be able to share the DB accross server and/or access its data through a web plugin or discord bot. This would not be possible with SQLite. We could make an SQLite option, but this should never be the default.
but this should never be the default.
I mean if you have not put mysql settings in config, it should use sqlite.
Right now if you haven't configured mysql half of features do not work.
It will be nice to get sqlite integrated database out of the box without extra MySQL instance required.
Database can be an interface and have two implementation: sqlite and mysql.
I play maybe once a month on my server and do not want to keep mysql instance only for ban/mute logic to work.
Docs example: https://docs.cssharp.dev/examples/WithDatabase.html