Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public AdminPlaceStructureCommand(CompositeCommand parent) {

@Override
public void setup() {
this.setPermission("boxed.commands.boxadmin.place");
this.setPermission("admin.place");
this.setOnlyPlayer(false);
this.setParametersHelp("boxed.commands.boxadmin.place.parameters");
this.setDescription("boxed.commands.boxadmin.place.description");
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ permissions:
boxed.admin.reload:
description: Reload the config.yml
default: op
boxed.admin.place:
description: Allow use of '/boxadmin place' command - place a structure in a box and record it for future boxes
default: op
boxed.admin.delete:
description: Let a player completely remove a player (including island)
default: op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void setUpCommand() {
@Test
void testSetup() {
assertEquals("place", cmd.getLabel());
assertEquals("boxed.commands.boxadmin.place", cmd.getPermission());
assertEquals("admin.place", cmd.getPermission());
assertFalse(cmd.isOnlyPlayer());
}

Expand Down
Loading