Skip to content

Commit 6751ec9

Browse files
committed
Revert refactor bulkedit commands to remove "bulkedit" prefix
1 parent 435ba7d commit 6751ec9

File tree

9 files changed

+9
-10
lines changed

9 files changed

+9
-10
lines changed

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/BulkEditCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@Contract
1515
@ApiStatus.Internal
16-
@Subcommand("bulkedit")
1716
public abstract class BulkEditCommand extends InventoriesCommand {
1817

1918
protected final BulkEditCreator bulkEditCreator;

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/globalprofile/ClearCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class ClearCommand extends BulkEditCommand {
4242
this.flags = flags;
4343
}
4444

45-
@Subcommand("globalprofile clear")
45+
@Subcommand("bulkedit globalprofile clear")
4646
@CommandPermission("multiverse.inventories.bulkedit")
4747
@CommandCompletion("@mvinvplayernames @flags:groupName=" + Flags.NAME)
4848
@Syntax("<players> [--clear-all-player-profiles]")

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/globalprofile/ModifyCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class ModifyCommand extends InventoriesCommand {
3131
this.profileDataSource = profileDataSource;
3232
}
3333

34-
@Subcommand("globalprofile modify")
34+
@Subcommand("bulkedit globalprofile modify")
3535
@CommandPermission("multiverse.inventories.bulkedit")
3636
@CommandCompletion("load-on-login|last-world @empty @mvinvplayernames")
3737
@Syntax("<property> <value> <players>")

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/playerprofile/ClearCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class ClearCommand extends BulkEditCommand {
3737
this.flags = flags;
3838
}
3939

40-
@Subcommand("playerprofile clear")
40+
@Subcommand("bulkedit playerprofile clear")
4141
@CommandPermission("multiverse.inventories.bulkedit")
4242
@CommandCompletion("@mvinvplayernames @mvinvcontainerkeys @mvinvprofiletypes:multiple @flags:groupName=" + IncludeGroupsWorldsFlag.NAME)
4343
@Syntax("<players> <groups/worlds> [profile-type] [--include-groups-worlds]")

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/playerprofile/ClonePlayerCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ClonePlayerCommand extends BulkEditCommand {
3636
this.flags = flags;
3737
}
3838

39-
@Subcommand("playerprofile clone-player")
39+
@Subcommand("bulkedit playerprofile clone-player")
4040
@CommandPermission("multiverse.inventories.bulkedit")
4141
@CommandCompletion("@mvinvplayername @mvinvplayername @mvinvcontainerkeys @mvinvprofiletypes:multiple " +
4242
"@flags:groupName=" + IncludeGroupsWorldsFlag.NAME)

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/playerprofile/CloneWorldGroupCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class CloneWorldGroupCommand extends BulkEditCommand {
3939
this.flags = flags;
4040
}
4141

42-
@Subcommand("playerprofile clone-world-group")
42+
@Subcommand("bulkedit playerprofile clone-world-group")
4343
@CommandPermission("multiverse.inventories.bulkedit")
4444
@CommandCompletion("@mvinvplayernames @mvinvcontainerkey @mvinvcontainerkeys @mvinvprofiletypes:multiple " +
4545
"@flags:groupName=" + IncludeGroupsWorldsFlag.NAME)

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/playerprofile/DeleteCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class DeleteCommand extends BulkEditCommand {
3838
this.flags = flags;
3939
}
4040

41-
@Subcommand("playerprofile delete")
41+
@Subcommand("bulkedit playerprofile delete")
4242
@CommandPermission("multiverse.inventories.bulkedit")
4343
@CommandCompletion("@shares @mvinvplayernames @mvinvcontainerkeys @mvinvprofiletypes:multiple @flags:groupName=" + IncludeGroupsWorldsFlag.NAME)
4444
@Syntax("<sharable> <players> <groups/worlds> [profile-type] [--include-groups-worlds]")

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/playerprofile/MigrateInventorySerializationCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ final class MigrateInventorySerializationCommand extends InventoriesCommand {
4040
this.inventoriesConfig = inventoriesConfig;
4141
}
4242

43-
@Subcommand("migrate inventory-serialization nbt")
43+
@Subcommand("bulkedit migrate inventory-serialization nbt")
4444
@CommandPermission("multiverse.inventories.bulkedit")
4545
void onNbtCommand(MVCommandIssuer issuer) {
4646
commandQueueManager.addToQueue(CommandQueuePayload.issuer(issuer)
4747
.prompt(Message.of("Are you sure you want to migrate all player data to NBT?"))
4848
.action(() -> doMigration(issuer, true)));
4949
}
5050

51-
@Subcommand("migrate inventory-serialization bukkit")
51+
@Subcommand("bulkedit migrate inventory-serialization bukkit")
5252
@CommandPermission("multiverse.inventories.bulkedit")
5353
void onBukkitCommand(MVCommandIssuer issuer) {
5454
commandQueueManager.addToQueue(CommandQueuePayload.issuer(issuer)

src/main/java/org/mvplugins/multiverse/inventories/commands/bulkedit/playerprofile/MigratePlayerNameCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class MigratePlayerNameCommand extends InventoriesCommand {
2525
this.profileDataSource = profileDataSource;
2626
}
2727

28-
@Subcommand("migrate player-name")
28+
@Subcommand("bulkedit migrate player-name")
2929
@CommandPermission("multiverse.inventories.bulkedit")
3030
@Syntax("<current-name> <new-name>")
3131
@Description("Only use this if automatic migration failed for some reason.")

0 commit comments

Comments
 (0)