Class MigrateVanillaCommand

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

public final class MigrateVanillaCommand extends Object
/enhancedechest migrate vanilla [all|<player>] — migrates online players' vanilla ender chests into their EnhancedEchest chest #1. For importing from the AxVaults plugin instead, see MigrateAxVaultsCommand.

MigrationService.migrateOnline(org.bukkit.entity.Player) is asynchronous (its DB phase runs exclusively per chest, so it cannot clobber a chest a player has open), so both commands aggregate futures and report the result back on a scheduler tick once every migration has settled.

  • Method Details

    • executeAll

      public static int executeAll(io.papermc.paper.command.brigadier.CommandSourceStack source)
    • executePlayer

      public static int executePlayer(io.papermc.paper.command.brigadier.CommandSourceStack source, String playerName)