Im your database, Players table, you have the lastlogin field. Just check it !
- - - Updated - - -
Im your database, Players table, you have the lastlogin field. Just check it !
You have to check this field for time limit.
The value returned generally represents the number of seconds since 00:00 hours, Jan 1, 1970 UTC (i.e., the current unix timestamp).
So you have to get the date one day before, convert it to seconds since 00:00 hours, Jan 1, 1970 UTC (i.e., the current unix timestamp) and compare with the lastLogin field. If the difference is bigger than 86400 seconds, you may delete the char.
Regards,