how would i use setNested to set an array within another array? make it look something like (config.json): Code: "players": { "edroid": { "x": 0, "y": 128, "z": 0 }, "applqpak": { "x": 512, "y": 128, "z": 512 }, "ig": { "x": 128, "y": 128, "z": 128 } }
You could do: PHP: $players = $config->get("players");$players['beetree'] = ["x" => 0, "y" => 0, "z" => 0];$config->set("players", $players);