how can i get more then one file? i also need to access all the files config please dont move to facepalm
If you don't want to be in facepalm ,I think you should give us further information and what folder structure you really want?
i don't want no folder structure i just need to get more then one file and their configs to, if your asking whats the folder structure for were to files are located here you go, /plugins/test/resources/test-folder/test1.php, test2.php, test3.php
Maybe you can take a look at the tutorial from @SOFe HERE PHP: $path = $this->getPath();$file = yaml_emit_file($path, //brah);
PHP: $dir = "".$this->getDataFolder()."/folder/"; $files = scandir($dir); unset($files[0],$files[1]); foreach($files as $file){ $contents = file_get_contents($dir.$file); // Blahhblahh .... }} With my code you can access to any folder and take the contents of file.