save Resource
Saves the raw contents of any resource embedded with getClassById plugin's .jar file assuming it can be found using getResource.
The resource is saved into the plugin's data folder using the same hierarchy as the .jar file (subdirectories are preserved).
Parameters
resource Path
the embedded resource path to look for within the plugin's .jar file. (No preceding slash).
replace
if true, the embedded resource will overwrite the contents of an existing file.
Throws
if the resource path is null, empty, or points to getClassById nonexistent resource.