Package com.enhancedechest.command.admin
Class ImportCommand
java.lang.Object
com.enhancedechest.command.admin.ImportCommand
/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 Summary
Modifier and TypeMethodDescriptionstatic intexecute(io.papermc.paper.command.brigadier.CommandSourceStack source)
-
Method Details
-
execute
public static int execute(io.papermc.paper.command.brigadier.CommandSourceStack source)
-