Automatically delete users from the database

Is there a way to remove from my database user accounts that have not used their account for more than a certain number of months?

-automatically delete users from the database

:slight_smile:

Not sure why you’d want to do that, specially for people that have been banned.

But you could write a server side script that checks the date, and on that set date, have it do a SQL query to the timestamp of the players last connection and then if older then the specified date have it delete the appropriate rows in all the effected tables.

1 Like

¡Excelente idea! Solo quiero hacer esto para las cuentas que “ya no se usan”. Considéralo datos inútiles. Thanks for answering :stuck_out_tongue:

Did you create the script? I found it interesting