Package com.enhancedechest.command.admin
Class MigrateVanillaCommand
java.lang.Object
com.enhancedechest.command.admin.MigrateVanillaCommand
/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 Summary
Modifier and TypeMethodDescriptionstatic intexecuteAll(io.papermc.paper.command.brigadier.CommandSourceStack source) static intexecutePlayer(io.papermc.paper.command.brigadier.CommandSourceStack source, String playerName)
-
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)
-