Ported server tick handler