Using database systems with Cuberite plugins
#1
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?
Reply
Thanks given by:
#2
You can already use SQLite on lua plugins
Reply
Thanks given by:
#3
I know, that's not the point
Reply
Thanks given by:
#4
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.
Reply
Thanks given by:
#5
Or rather, not sure if it's usable, or we need callback-based SQL layer.
Reply
Thanks given by:




Users browsing this thread: 4 Guest(s)