Skip to content

Commit

Permalink
Added blueprints so admins can decide on what blocks players start
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Dec 15, 2019
1 parent d28fced commit 3831cb4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 11 additions & 4 deletions src/main/java/world/bentobox/skygrid/commands/AdminCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@
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;
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
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;
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -58,6 +59,8 @@ public void setup() {
new IslandTeamCommand(this);
// SkyGrid sub commands
new GoCommand(this);

new IslandNearCommand(this);
}

/* (non-Javadoc)
Expand All @@ -78,7 +81,6 @@ public boolean execute(User user, String label, List<String> args) {
.player(user)
.addon((GameModeAddon) getAddon())
.reason(Reason.CREATE)
.noPaste()
.build();
return true;
} catch (IOException e) {
Expand Down

0 comments on commit 3831cb4

Please sign in to comment.