Added function to restrict for specified worlds