07.04.2014, 15:50
Will the server lag or will i have any problems if i for example make a callback which saves the user database and then use this inside.. OnPlayerUpdate so it saves user file continually or should i make a timer ?
Writing to disk in OnPlayerUpdate is the worst thing you could possibly do. Better to use a 10, 20, 30 minute timer or write changes the instant they're changed.
|