ToolSet / com.zndevs.toolset.tools / ConfigurationTools / createToolSetDataFile

createToolSetDataFile

fun createToolSetDataFile(plugin: Plugin, resourcePath: String, dataFileName: String): Boolean

Creates a data file under the plugins/ToolSet folder

Parameters

plugin - The plugin that contains the file

resourcePath - The resource path in the Java file

dataFileName - The name of the file that will be saved

Return True if file created, false otherwise