Greetings,
I have a question in regards to saving data methods. I'm running a mod that saves xp data via nvault. Previously, I used the mod's MySQL saving method but it seems to cause a lag / delay when a user's xp/lvl is saved so I'm sticking to nvault. However, I was wondering if there's a way to dump/convert/export an nvault into a specific database table, preferably on a map load/change.
The reason why is because I want to be able to call PHP functions in order to retrieve data stored in that table/columns and format them accordingly to have a stats page on the web browser. Examples include retrieving the top 5 players and having a nicely formatted top 5 page that can be accessed via a web browser (ex -
www.****.com/top5.php). I understand there's a client-side MOTD that can be called to display the same information that retrieves data stored in nvault and displays it via MOTD but I want to go beyond that using MySQL/PHP.
TL;DR - How can you convert/export nvault file to a MySQL database table?
__________________