-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Feature: Support SQlite and use it as default database #91
Comments
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. |
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. |
Of course it would be possible with SQLite. Why wouldn't it? Running a SQLite docker image with a persistent volume comes to mind, for example. |
Nope, sqlite allow only 1 connection to write at once, u can read but write = bottleneck |
Bottleneck != not possible. Besides in real world scenario you might achieve somewhere between write 20k writes per second. How often are you writing to your database? And even if you were. |
Penalties with timemode set to 0 update database every minute for each player. |
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
The text was updated successfully, but these errors were encountered: