mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-14 06:36:34 +01:00
Add correct default permissions for '/challenges' and '/challengesadmin' commands.
This commit is contained in:
parent
ba5c972e5f
commit
ef852a08a7
@ -70,7 +70,7 @@ public class ChallengesAddon extends Addon {
|
||||
/**
|
||||
* Permission prefix for addon.
|
||||
*/
|
||||
private static final String PERMISSION_PREFIX = "addon";
|
||||
private static final String PERMISSION_PREFIX = "addon.";
|
||||
|
||||
/**
|
||||
* This flag allows to complete challenges in any part of the world. It will not limit
|
||||
|
@ -11,6 +11,12 @@ authors:
|
||||
softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, Level
|
||||
|
||||
permissions:
|
||||
addon.admin.challenges:
|
||||
description: Access to '/challengesadmin' command
|
||||
default: op
|
||||
addon.challenges:
|
||||
description: Let the player use the '/challenges' command
|
||||
default: true
|
||||
bskyblock.challenges:
|
||||
description: Let the player use the '/island challenges' command
|
||||
default: true
|
||||
|
Loading…
Reference in New Issue
Block a user