Hi, I'm updating a plugin and I would like to know how can I save every file in resources folder of a phar plugin in the plugin folder. Thanks in advance
I have tried it before but if the file is '.phar', it doesn't work. (Error exactly) Maybe you could try using \Phar class. (Maybe very slow)
I'll try both codes (i'm also looking https://github.com/PocketMine/Pocke...343/src/pocketmine/plugin/PluginBase.php#L227)