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