18.02.2016, 15:39
You don't really need anything saved until the player logs out. So put most of your saving under OnPlayerDisconnect. But for important stuff like money and VIP level and admin level save them as soon as they are updated for example at the end of your makeadmin command if you have one make it save the data. And a 5 minutes timer to save everything should be enough. I have been doing that for years now and I never experienced any lag even when my server reached around 60 players. I also never lost any data more than a few minutes old even through some of the worst DDOSes we experienced.