diff --git a/src/main/java/world/bentobox/skygrid/commands/AdminCommand.java b/src/main/java/world/bentobox/skygrid/commands/AdminCommand.java index 00192cc..a65a656 100644 --- a/src/main/java/world/bentobox/skygrid/commands/AdminCommand.java +++ b/src/main/java/world/bentobox/skygrid/commands/AdminCommand.java @@ -8,6 +8,7 @@ import world.bentobox.bentobox.api.commands.admin.AdminInfoCommand; import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand; import world.bentobox.bentobox.api.commands.admin.AdminReloadCommand; +import world.bentobox.bentobox.api.commands.admin.AdminResetFlagsCommand; import world.bentobox.bentobox.api.commands.admin.AdminSetrankCommand; import world.bentobox.bentobox.api.commands.admin.AdminSetspawnCommand; import world.bentobox.bentobox.api.commands.admin.AdminSettingsCommand; @@ -15,9 +16,10 @@ import world.bentobox.bentobox.api.commands.admin.AdminUnregisterCommand; import world.bentobox.bentobox.api.commands.admin.AdminVersionCommand; import world.bentobox.bentobox.api.commands.admin.AdminWhyCommand; +import world.bentobox.bentobox.api.commands.admin.blueprints.AdminBlueprintCommand; import world.bentobox.bentobox.api.commands.admin.deaths.AdminDeathsCommand; import world.bentobox.bentobox.api.commands.admin.range.AdminRangeCommand; -import world.bentobox.bentobox.api.commands.admin.resets.AdminResetsResetCommand; +import world.bentobox.bentobox.api.commands.admin.resets.AdminResetsCommand; import world.bentobox.bentobox.api.commands.admin.team.AdminTeamAddCommand; import world.bentobox.bentobox.api.commands.admin.team.AdminTeamDisbandCommand; import world.bentobox.bentobox.api.commands.admin.team.AdminTeamKickCommand; @@ -57,9 +59,6 @@ public void setup() { new AdminUnregisterCommand(this); // Range new AdminRangeCommand(this); - // Resets - new AdminResetsResetCommand(this); - // TODO new AdminClearresetsallCommand(this); // Delete new AdminDeleteCommand(this); // Why @@ -72,6 +71,14 @@ public void setup() { new AdminSetspawnCommand(this); // Settings new AdminSettingsCommand(this); + + // Schems + new AdminBlueprintCommand(this); + // Resets + new AdminResetsCommand(this); + // Reset flags + new AdminResetFlagsCommand(this); + } @Override diff --git a/src/main/java/world/bentobox/skygrid/commands/SkyGridCommand.java b/src/main/java/world/bentobox/skygrid/commands/SkyGridCommand.java index abd0852..798369c 100644 --- a/src/main/java/world/bentobox/skygrid/commands/SkyGridCommand.java +++ b/src/main/java/world/bentobox/skygrid/commands/SkyGridCommand.java @@ -11,6 +11,7 @@ import world.bentobox.bentobox.api.commands.island.IslandExpelCommand; import world.bentobox.bentobox.api.commands.island.IslandInfoCommand; import world.bentobox.bentobox.api.commands.island.IslandLanguageCommand; +import world.bentobox.bentobox.api.commands.island.IslandNearCommand; import world.bentobox.bentobox.api.commands.island.IslandResetCommand; import world.bentobox.bentobox.api.commands.island.IslandResetnameCommand; import world.bentobox.bentobox.api.commands.island.IslandSethomeCommand; @@ -58,6 +59,8 @@ public void setup() { new IslandTeamCommand(this); // SkyGrid sub commands new GoCommand(this); + + new IslandNearCommand(this); } /* (non-Javadoc) @@ -78,7 +81,6 @@ public boolean execute(User user, String label, List args) { .player(user) .addon((GameModeAddon) getAddon()) .reason(Reason.CREATE) - .noPaste() .build(); return true; } catch (IOException e) {