Posts: 165
Threads: 71
Joined: May 2012
Reputation:
0
How I can make auto account delete if playere didn't logged in for 30 days
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
What saving system are you using? For SQL based systems, add a field with their last login if you haven't already. When the server starts (or perhaps on a cron job?), execute a query to delete accounts.
I don't think it's possible with a file based system, at least not through Pawn scripting. You'd need to retrieve the 'last modified' date and use it in a shell script.