Class ImportCommand

java.lang.Object
com.enhancedechest.command.admin.ImportCommand

public final class ImportCommand extends Object
/enhancedechest import — opens the DB→DB import dialog so an admin can copy all EnhancedEchest data from an old database backend into the plugin's active backend. Player-only (it shows a dialog); the guards (no other players online, source ≠ active destination, empty destination) and the actual copy live in ChestOpener.performImport(org.bukkit.entity.Player, com.enhancedechest.migration.SourceSpec) / DatabaseImportService.
  • Method Details

    • execute

      public static int execute(io.papermc.paper.command.brigadier.CommandSourceStack source)