mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-12-25 18:47:56 +01:00
Fixed permissions
This commit is contained in:
parent
afce568a24
commit
19d00712e5
15
addon.yml
15
addon.yml
@ -20,3 +20,18 @@ permissions:
|
|||||||
bskyblock.admin.topten:
|
bskyblock.admin.topten:
|
||||||
description: Player can use admin top ten command
|
description: Player can use admin top ten command
|
||||||
default: true
|
default: true
|
||||||
|
acidisland.intopten:
|
||||||
|
description: Player is in the top ten.
|
||||||
|
default: true
|
||||||
|
acidisland.island.level:
|
||||||
|
description: Player can use level command
|
||||||
|
default: true
|
||||||
|
acidisland.island.top:
|
||||||
|
description: Player can use top ten command
|
||||||
|
default: true
|
||||||
|
acidisland.admin.level:
|
||||||
|
description: Player can use admin level command
|
||||||
|
default: true
|
||||||
|
acidisland.admin.topten:
|
||||||
|
description: Player can use admin top ten command
|
||||||
|
default: true
|
@ -52,7 +52,7 @@ public class AdminLevel extends CompositeCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
this.setPermission(getPermissionPrefix() + "admin.level");
|
this.setPermission("admin.level");
|
||||||
this.setOnlyPlayer(false);
|
this.setOnlyPlayer(false);
|
||||||
this.setParameters("admin.level.parameters");
|
this.setParameters("admin.level.parameters");
|
||||||
this.setDescription("admin.level.description");
|
this.setDescription("admin.level.description");
|
||||||
|
@ -56,7 +56,7 @@ public class AdminTop extends CompositeCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
this.setPermission(getPermissionPrefix() + "admin.top");
|
this.setPermission("admin.top");
|
||||||
this.setOnlyPlayer(false);
|
this.setOnlyPlayer(false);
|
||||||
this.setDescription("admin.top.description");
|
this.setDescription("admin.top.description");
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ public class IslandLevel extends CompositeCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
this.setPermission(getPermissionPrefix() + "island.level");
|
this.setPermission("island.level");
|
||||||
this.setParameters("island.level.parameters");
|
this.setParameters("island.level.parameters");
|
||||||
this.setDescription("island.level.description");
|
this.setDescription("island.level.description");
|
||||||
this.setOnlyPlayer(true);
|
this.setOnlyPlayer(true);
|
||||||
|
@ -23,7 +23,7 @@ public class IslandTop extends CompositeCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
this.setPermission(getPermissionPrefix() + "island.top");
|
this.setPermission("island.top");
|
||||||
this.setDescription("island.top.description");
|
this.setDescription("island.top.description");
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user