Epic Games, the creator of Fortnite, agreed to pay about $520 million over allegations that it violated children’s privacy laws and used misleading gaming features that tricked customers into shelling out millions of dollars, the Federal Trade Commission said on Monday. The settlement over privacy violations requires that Epic adopt robust default privacy settings for children and teens, guaranteeing that voice and text communications are turned off by default. The agreement over misleading gaming practices mandates that Epic refund consumers $245 million, the largest refund amount in a gaming case in the FTC’s history.