private static void createNewPlayerData(string username) { var data = new PlayerData { username = username, model_name = "LocalPlayer", scene_id = 1, position = new Vector3(125f, 1.5f, 125f), hitpoints = 100, questStates = JObject.FromObject(QuestHandler.GetQuestsList()).ToString() }; System.IO.File.WriteAllText(System.IO.Path.Combine(save_path, $"{username}.json"), JsonUtility.ToJson(data)); }