hi when player gets kill or death or something from my minigame i write it into mysql and is better save it into array first and save all from array alway after e.g. 30 seconds to database?
Just update the players stats straight away, if you want an example of how to use MySQL take a look at the MySQL dataprovider for my PvP-Stats plugin: https://github.com/CrazedMiner/Pock...s/src/CrazedMiner/Providers/MYSQLProvider.php
No im asking what is better 1. Save data into database always when player kill somebody 2. Save data to database in intervals