Constructor and Description |
---|
SpongePlanFiles(PlanPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
Resource |
getResourceFromJar(java.lang.String resourceName)
Get a file in the jar as a
Resource . |
disable, enable, getConfigFile, getCustomizableResource, getCustomizationDirectory, getDataDirectory, getDataFolder, getFileFromPluginFolder, getLocaleFile, getLogsFolder, getResourceFromPluginFolder
@Inject public SpongePlanFiles(PlanPlugin plugin)
public Resource getResourceFromJar(java.lang.String resourceName)
PlanFiles
Resource
.getResourceFromJar
in class PlanFiles
resourceName
- Path to the file inside jar/assets/plan/ folder.Resource
for accessing the resource.