Add correct default permissions for '/challenges' and '/challengesadmin' commands.

This commit is contained in:
BONNe 2019-03-05 10:35:48 +02:00
parent ba5c972e5f
commit ef852a08a7
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -10,7 +10,13 @@ authors:
softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, Level
permissions:
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