Interface DefaultPlugin
- All Superinterfaces:
MOOCPlugin
- All Known Implementing Classes:
ApplyCliServerProperties, ConvertCliTargetFile, ConvertCliTargetFolder, CopyCliPlayerData, DetectSaveFileFormat, DetectServerType, DetectWorldFolderStructure, PrefetchUsercache, UpdateDefaultServerFiles, UpdateProperties
A
MOOCPlugin that is always enabled regardless of conversion mode or server type.
Suitable for plugins that should run on every invocation, such as detection or property-update steps that are not tied to a specific server implementation.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisEnabled(PluginContext ctx) Always returnstrue, so the plugin runs for everyPluginContext.Methods inherited from interface MOOCPlugin
logger, metadata, returnAllFilesInFolders, run, setTargets
-
Method Details
-
isEnabled
Always returnstrue, so the plugin runs for everyPluginContext.- Specified by:
isEnabledin interfaceMOOCPlugin- Parameters:
ctx- the shared conversion context (unused)- Returns:
truealways
-