Interface DefaultPlugin

All Superinterfaces:
MOOCPlugin
All Known Implementing Classes:
ApplyCliServerProperties, CopyCliPlayerData, DetectSaveFileFormat, DetectServerType, DetectWorldFolderStructure, PrefetchUsercache, UpdateDefaultServerFiles, UpdateProperties

public non-sealed interface DefaultPlugin extends MOOCPlugin
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 Details

    • isEnabled

      default boolean isEnabled(PluginContext ctx)
      Always returns true, so the plugin runs for every PluginContext.
      Specified by:
      isEnabled in interface MOOCPlugin
      Parameters:
      ctx - the shared conversion context (unused)
      Returns:
      true always