I think the best way to do this is to save the Date at which the player will be unbanned to a config file and check every so often to see if it is past the date, then unban the player.