copy All
Copies all files and directories from the specified root folder within the plugin's JAR file to the plugin's data folder. If a folder is encountered during the copying process, it recursively copies its contents as well.
Return
The File representing the root folder in the plugin's data folder after copying.
Parameters
plugin
The JavaPlugin instance of the plugin.
root
The root folder within the JAR file to copy from.
Throws
If an I/O error occurs during copying.
If the plugin's root URL cannot be converted to a URI.