This is my proposed solution to this kind of problem, as I posted it on another thread, I’ll quote it here:
IMO, that would solve your issue too… since you won’t be purged while offline, unless your off the game for an extended period of time.
Parameters need to be configurable of course, in that way, you can setup a more hardcore mode where the offline purge can target offline players too, if the server owner wants it.