I believe this will only keep "honest" players out. It is a matter of time before people abusing 3rd party software have a program to move their character every 20 minutes to beat the 30 timer. I think the better option is to only give the resting XP bonus to people who LOG OUT in a sanctuary. Make actually logging out rewarding. No bonus xp for afk at sanctuaries.