Cuberite Forum

Full Version: Using database systems with Cuberite plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Many bukkit plugins use a database system like MySQL to store custom data. What about including
https://keplerproject.github.io/luasql/d...anual.html
into the server so anyone can acces any database system he/she wants to?
You can already use SQLite on lua plugins
I know, that's not the point
Problem with DBs is that they can block. Imagine a transaction deadlock happening in a player click handler - the server would wait in the tick thread for 30 seconds for the DB to time out. Not sure if it's worth the trouble.
Or rather, not sure if it's usable, or we need callback-based SQL layer.