Class ConvertBukkitServer

java.lang.Object
me.pauleff.converter.plugins.ConvertBukkitServer
All Implemented Interfaces:
MOOCPlugin, ServerTypePlugin

public class ConvertBukkitServer extends Object
Converts world files for a Bukkit-based Minecraft server (Bukkit, Spigot, Paper, and similar).

Targeting and conversion are inherited from AbstractWorldConversionPlugin.

  • Constructor Details

    • ConvertBukkitServer

      public ConvertBukkitServer()
  • Method Details

    • compatibleServerType

      public ServerType compatibleServerType()
      Returns:
      ServerType.BUKKIT
    • metadata

      public PluginMetadata metadata()
      Returns the metadata that identifies and describes this plugin.
      Returns:
      the plugin metadata
    • setTargets

      public List<Path> setTargets(PluginContext ctx)
      Returns every regular file under the dimension root folders for the detected world folder structure.
      Specified by:
      setTargets in interface MOOCPlugin
      Parameters:
      ctx - the shared conversion context
      Returns:
      all regular files beneath the dimension roots; never null
    • run

      public void run(PluginContext ctx, List<Path> resolvedExistingTargets) throws IOException
      Runs UUID conversion on the resolved existing world files via ConverterV3.
      Specified by:
      run in interface MOOCPlugin
      Parameters:
      ctx - the shared conversion context
      resolvedExistingTargets - the existing target paths to process
      Throws:
      IOException - if reading or writing world files fails